Sourced from requests's\nreleases.
\n\n\nv2.32.0
\n2.32.0 (2024-05-20)
\n🐍 PYCON US 2024 EDITION 🐍
\nSecurity
\n\n
\n- Fixed an issue where setting
\nverify=False
on the first\nrequest from a\nSession will cause subsequent requests to the same origin to\nalso ignore\ncert verification, regardless of the value ofverify
.\n(https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56)Improvements
\n\n
\n- \n
verify=True
now reuses a global SSLContext which should\nimprove\nrequest time variance between first and subsequent requests. It should\nalso minimize certificate load time on Windows systems when using a\nPython\nversion built with OpenSSL 3.x. (#6667)- Requests now supports optional use of character detection\n(
\nchardet
orcharset_normalizer
) when\nrepackaged or vendored.\nThis enablespip
and other projects to minimize their\nvendoring\nsurface area. TheResponse.text()
and\napparent_encoding
APIs\nwill default toutf-8
if neither library is present. (#6702)Bugfixes
\n\n
\n- Fixed bug in length detection where emoji length was incorrectly\ncalculated in the request content-length. (#6589)
\n- Fixed deserialization bug in JSONDecodeError. (#6629)
\n- Fixed bug where an extra leading
\n/
(path separator)\ncould lead\nurllib3 to unnecessarily reparse the request URI. (#6644)Deprecations
\n\n
\n- Requests has officially added support for CPython 3.12 (#6503)
\n- Requests has officially added support for PyPy 3.9 and 3.10 (#6641)
\n- Requests has officially dropped support for CPython 3.7 (#6642)
\n- Requests has officially dropped support for PyPy 3.7 and 3.8 (#6641)
\nDocumentation
\n\n
\n- Various typo fixes and doc improvements.
\nPackaging
\n\n
\n- Requests has started adopting some modern packaging practices.\nThe source files for the projects (formerly
\nrequests
) is\nnow located\ninsrc/requests
in the Requests sdist. (#6506)- Starting in Requests 2.33.0, Requests will migrate to a PEP 517\nbuild system\nusing
\nhatchling
. This should not impact the average user,\nbut extremely old\nversions of packaging utilities may have issues with the new packaging\nformat.New Contributors
\n\n
\n\n- \n
@matthewarmand
\nmade their first contribution in psf/requests#6258- \n
@cpzt
made their\nfirst contribution in psf/requests#6456
... (truncated)
\nSourced from requests's\nchangelog.
\n\n\n2.32.0 (2024-05-20)
\nSecurity
\n\n
\n- Fixed an issue where setting
\nverify=False
on the first\nrequest from a\nSession will cause subsequent requests to the same origin to\nalso ignore\ncert verification, regardless of the value ofverify
.\n(https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56)Improvements
\n\n
\n- \n
verify=True
now reuses a global SSLContext which should\nimprove\nrequest time variance between first and subsequent requests. It should\nalso minimize certificate load time on Windows systems when using a\nPython\nversion built with OpenSSL 3.x. (#6667)- Requests now supports optional use of character detection\n(
\nchardet
orcharset_normalizer
) when\nrepackaged or vendored.\nThis enablespip
and other projects to minimize their\nvendoring\nsurface area. TheResponse.text()
and\napparent_encoding
APIs\nwill default toutf-8
if neither library is present. (#6702)Bugfixes
\n\n
\n- Fixed bug in length detection where emoji length was incorrectly\ncalculated in the request content-length. (#6589)
\n- Fixed deserialization bug in JSONDecodeError. (#6629)
\n- Fixed bug where an extra leading
\n/
(path separator)\ncould lead\nurllib3 to unnecessarily reparse the request URI. (#6644)Deprecations
\n\n
\n- Requests has officially added support for CPython 3.12 (#6503)
\n- Requests has officially added support for PyPy 3.9 and 3.10 (#6641)
\n- Requests has officially dropped support for CPython 3.7 (#6642)
\n- Requests has officially dropped support for PyPy 3.7 and 3.8 (#6641)
\nDocumentation
\n\n
\n- Various typo fixes and doc improvements.
\nPackaging
\n\n
\n- Requests has started adopting some modern packaging practices.\nThe source files for the projects (formerly
\nrequests
) is\nnow located\ninsrc/requests
in the Requests sdist. (#6506)- Starting in Requests 2.33.0, Requests will migrate to a PEP 517\nbuild system\nusing
\nhatchling
. This should not impact the average user,\nbut extremely old\nversions of packaging utilities may have issues with the new packaging\nformat.
d6ebc4a
\nv2.32.09a40d12
\nAvoid reloading root certificates to improve concurrent performance (#6667)0c030f7
\nMerge pull request #6702\nfrom nateprewitt/no_char_detection555b870
\nAllow character detection dependencies to be optional in post-packaging\nstepsd6dded3
\nMerge pull request #6700\nfrom franekmagiera/update-redirect-to-invalid-uri-testbf24b7d
\nUse an invalid URI that will not cause httpbin to throw 5002d5f547
\nPin 3.8 and 3.9 runners back to macos-13 (#6688)f1bb07d
\nMerge pull request #6687\nfrom psf/dependabot/github_actions/github/codeql-act...60047ad
\nBump github/codeql-action from 3.24.0 to 3.25.031ebb81
\nMerge pull request #6682\nfrom frenzymadness/pytest8Sourced from pytest's\nreleases.
\n\n\n8.2.1
\npytest 8.2.1 (2024-05-19)
\nImprovements
\n\n
\n- #12334:\nSupport for Python 3.13 (beta1 at the time of writing).
\nBug Fixes
\n\n
\n- #12120:\nFix [PermissionError]{.title-ref} crashes arising from directories which\nare not selected on the command-line.
\n- #12191:\nKeyboard interrupts and system exits are now properly handled during the\ntest collection.
\n- #12300:\nFixed handling of 'Function not implemented' error under squashfuse_ll,\nwhich is a different way to say that the mountpoint is read-only.
\n- #12308:\nFix a regression in pytest 8.2.0 where the permissions of\nautomatically-created
\n.pytest_cache
directories became\nrwx------
instead of the expected\nrwxr-xr-x
.Trivial/Internal Changes
\n\n
\n- #12333:\npytest releases are now attested using the recent Artifact\nAttestation support from GitHub, allowing users to verify the\nprovenance of pytest's sdist and wheel artifacts.
\n
66ff8df
\nPrepare release version 8.2.13ffcfd1
\nMerge pull request #12340\nfrom pytest-dev/backport-12334-to-8.2.x0b28313
\n[8.2.x] Add Python 3.13 (beta) supportf3dd93a
\n[8.2.x] Attest package provenance (#12335)bb5a125
\n[8.2.x] Spelling (#12331)f179bf2
\nMerge pull request #12327\nfrom pytest-dev/backport-12325-to-8.2.x2b671b5
\n[8.2.x] cacheprovider: fix .pytest_cache
not being\nworld-readable65ab7cb
\nMerge pull request #12324\nfrom pytest-dev/backport-12320-to-8.2.x4d5fb7d
\nMerge pull request #12319\nfrom pytest-dev/backport-12311-to-8.2.xcbe5996
\n[8.2.x] changelog: document unittest 8.2 change as breakingSourced from twine's\nchangelog.
\n\n\nTwine 5.1.0 (2024-05-15)
\nFeatures\n^^^^^^^^
\n\n
\n- Add the experimental
\n--attestations
flag.\n([#1095](https://github.com/pypa/twine/issues/1095)\n<https://github.com/pypa/twine/issues/1095>
_)Twine 5.1.0 (2024-05-15)
\nMisc\n^^^^
\n\n
\n- \n
[#1104](https://github.com/pypa/twine/issues/1104)\n<https://github.com/pypa/twine/issues/1104>
_
e9f70cf
\nMerge pull request #1108 from\npypa/fix-release-workflow1908be7
\nFix release workflow6d7ffea
\nMerge pull request #1107 from\nwoodruffw-forks/release-5.1.0bc91e57
\nUpdate changelog for 5.1.0de39ade
\nMerge pull request #1085 from\npypa/feature/pep-62175de094
\nMerge pull request #1104 from\nascheel/mainc512bbf
\nProperly handle repository URLs with auth in theme0ed808
\nChangelog entry72ee030
\nChange regex string to a raw string.04d7e27
\nSanitize URLs for logging/display purposes.Sourced from python-semantic-release's\nreleases.
\n\n\nv9.7.3 (2024-05-15)
\nFix
\n\n
9555482
\n9.7.31bb26b0
\nfix: enabled prelease-token
parameter in github action (#929)Sourced from python-semantic-release's\nreleases.
\n\n\nv9.7.2 (2024-05-13)
\nFixes
\n\n
\n- \n
\nEnable user configuration of
\nbuild_command
env vars (#925)- \n
\nversion: enable user config of\n
\nbuild_command
env variables (6b5b271
)Documentation
\n\n
\n- \n
\nconfiguration: clarify TOC & alphabetize\nconfiguration descriptions (
\n19add16
)- \n
\nconfiguration: clarify TOC & standardize heading\nlinks (
\n3a41995
)- \n
\nconfiguration: document\n
\nbuild_command_env
configuration option (6b5b271
)Resolved Issue
\n\n
\n- #922:\nCustom
\nbuild_command
environment variables unavailable
Sourced from python-semantic-release's\nchangelog.
\n\n\nv9.7.2 (2024-05-13)
\nDocumentation
\n\n
\n- \n
\ndocs(configuration): clarify TOC & alphabetize configuration\ndescriptions (
\n19add16
)- \n
\ndocs(configuration): clarify TOC & standardize heading links (
\n3a41995
)Fix
\n\n
\n\n- fix: enable user configuration of
\nbuild_command
env\nvars (#925)
e34d7bd
\n9.7.219add16
\ndocs(configuration): clarify TOC & alphabetize configuration\ndescriptions3a41995
\ndocs(configuration): clarify TOC & standardize heading links0a019dd
\nstyle: beautify 6b5b271453874b982fbf2827ec1f6be6db1c2cc76b5b271
\nfix: enable user configuration of build_command
env vars\n(#925)b573c4d
\nbuild(deps-dev): bump build
from ~0.10 to ~1.2 (#921)Sourced from python-semantic-release's\nreleases.
\n\n\nv9.7.1 (2024-05-07)
\nFix
\n\n
\n- gha: fix missing
\ngit_commit_author
\ndefinition in action (#919)Resolved Issue
\n\n
\n- #918:\nGHA of PSR 9.7.0 does not respect
\ngit_committer_name
and\ngit_committer_email
anymore
Sourced from jinja2's\nreleases.
\n\n\n3.1.4
\nThis is the Jinja 3.1.4 security release, which fixes security issues\nand bugs but does not otherwise change behavior and should not result in\nbreaking changes.
\nPyPI: https://pypi.org/project/Jinja2/3.1.4/\nChanges: https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-4
\n\n
\n- The
\nxmlattr
filter does not allow keys with\n/
solidus,>
greater-than sign, or\n=
equals sign, in addition to disallowing spaces.\nRegardless of any validation done by Jinja, user input should never be\nused as keys to this filter, or must be separately validated first.\nGHSA-h75v-3vvj-5mfj
Sourced from jinja2's\nchangelog.
\n\n\nVersion 3.1.4
\nReleased 2024-05-05
\n\n
\n- The
\nxmlattr
filter does not allow keys with\n/
solidus,>
\ngreater-than sign, or=
equals sign, in addition to\ndisallowing spaces.\nRegardless of any validation done by Jinja, user input should never be\nused\nas keys to this filter, or must be separately validated first.\n:ghsa:h75v-3vvj-5mfj
dd4a8b5
\nrelease version 3.1.40668239
\nMerge pull request from GHSA-h75v-3vvj-5mfjd655030
\ndisallow invalid characters in keys to xmlattr filtera7863ba
\nadd ghsa linksb5c98e7
\nstart version 3.1.4da3a9f0
\nupdate project files (#1968)0ee5eb4
\nsatisfy formatter, linter, and strict mypy20477c6
\nupdate project files (#5457)e491223
\nupdate pyyaml dev dependency36f9885
\nfix pr linkSourced from python-semantic-release's\nreleases.
\n\n\nv9.7.0 (2024-05-06)
\nFeature
\n\n
\n- version-cmd: pass
\nNEW_VERSION
&\nuseful env vars to build command (ee6b246
)Fix
\n\n
\n- gha: add missing
\ntag
option to GitHub\nAction definition (#908)Documentation
\n\n
\n- configuration: add description of build command\navailable env variables (
\nc882dc6
)Resolved Issue
\n\n
\n- #906:\nSupport tag in GH action config
\n
Sourced from python-semantic-release's\nchangelog.
\n\n\nv9.7.0 (2024-05-06)
\nDocumentation
\n\n
\n- docs(configuration): add description of build command available env\nvariables (
\nc882dc6
)Feature
\n\n
\n- feat(version-cmd): pass
\nNEW_VERSION
& useful env\nvars to build command (ee6b246
)Fix
\n\n
76b17cc
\n9.7.0cbb067e
\nstyle: beautify c882dc62b860b2aeaa925c21d1524f4ae25ef567c882dc6
\ndocs(configuration): add description of build command available env\nvariablesee6b246
\nfeat(version-cmd): pass NEW_VERSION
& useful env vars\nto build commandef54abf
\ntest(version-cmd): add validation of pass through environment vars4076842
\nbuild(gha): add env variable to detect container env in github\nactions85e27b7
\nrefactor: optimize & improve maintainability of GitHub Action\ndefinition (#914)6b24288
\nfix(gha): add missing tag
option to GitHub Action\ndefinition (#908)f641a12
\nchore(stalebot): add unresponsive & issue reminder jobs with\nstalebot (#913)9c481d6
\ntest(conf): adjust pytest automatic configurationSourced from python-semantic-release's\nreleases.
\n\n\nv9.6.0 (2024-04-29)
\nFeatures
\n\n
\n- \n
\nChangelog filters are specialized per vcs type (#890)
\n- \n
\nchangelog: changelog filters are hvcs focused (
\n76ed593
)- \n
\nchangelog-context: add flag to jinja env for which\nhvcs is available (
\n76ed593
)- \n
\nchangelog-gitea: add issue url filter to changelog\ncontext (
\n76ed593
)- \n
\nchangelog-github: add issue url filter to changelog\ncontext (
\n76ed593
)- \n
\nversion-cmd: add
\n--as-prerelease
option\nto force the next version to be a prerelease (2acb5ac
)Fixes
\n\n
\n- \n
\nCorrect version
\n--prerelease
use & enable\n--as-prerelease
(#647)- \n
\ngithub: correct changelog filter for pull request\nurls (
\n76ed593
)- \n
\nparser-custom: gracefully handle custom parser\nimport errors (
\n67f6038
)- \n
\nversion-cmd: correct
\n--prerelease
use\n(2acb5ac
)Documentation
\n\n
\n- \n
\nchangelog-context: explain new hvcs specific context\nfilters (
\n76ed593
)- \n
\ncommands: update version command options definition\nabout prereleases (
\n2acb5ac
)Resolved Issues
\n\n
\n- #639:\n
\nsemantic-release version --prerelease
does not force a\nprerelease version bump
Sourced from python-semantic-release's\nchangelog.
\n\n\nv9.6.0 (2024-04-29)
\nFeature
\n\n
\n- \n
\nfeat: changelog filters are specialized per vcs type (#890)
\n- \n
\ntest(github): sync pr url expectation with GitHub api\ndocumentation
\n- \n
\nfix(github): correct changelog filter for pull request urls
\n- \n
\nrefactor(hvcs-base): change to an abstract class & simplify\ninterface
\n- \n
\nrefactor(remote-hvcs-base): extend the base abstract class with\ncommon remote base class
\n- \n
\nrefactor(github): adapt to new abstract base class
\n- \n
\nrefactor(gitea): adapt to new abstract base class
\n- \n
\nrefactor(gitlab): adapt to new abstract base class
\n- \n
\nrefactor(bitbucket): adapt to new abstract base class
\n- \n
\nrefactor(cmds): prevent hvcs from executing if not remote hosted\nvcs
\n- \n
\nfeat(changelog): changelog filters are hvcs focused
\n- \n
\ntest(hvcs): add validation for issue_url generation
\n- \n
\nfeat(changelog-github): add issue url filter to changelog context
\n- \n
\nfeat(changelog-gitea): add issue url filter to changelog context
\n- \n
\nrefactor(cmd-version): consolidate asset uploads with release\ncreation
\n- \n
\nstyle: resolve ruff errors
\n- \n
\nfeat(changelog-context): add flag to jinja env for which hvcs is\navailable
\n- \n
\ntest(changelog-context): demonstrate per hvcs filters upon render
\n- \n
\ndocs(changelog-context): explain new hvcs specific context\nfilters
\n- \n
\nrefactor(config): adjust default token resolution w/ subclasses (
\n76ed593
)Fix
\n\n\n
... (truncated)
\n02fa4d2
\n9.6.0e535e00
\nstyle: beautify formatting67f6038
\nfix(parser-custom): gracefully handle custom parser import errorsf783b0e
\ntest(parser-custom): add custom parser import & initialize\nvalidation5f8b7a1
\ntest(fixtures): add fixture for custom parser usef683bc5
\nrefactor(parser-base): maintain current compatibility w/ custom\nparsers41ce1cb
\nstyle: beautify formattinga805183
\ntest(parser-scipy): refactor for decreased scipy testing duration99859c0
\ntest(parser): adapt tests to new create commit fixture5485d45
\ntest(parser-tag): adapt tests to updated fixtures & option\ninitializationSourced from pytest's\nreleases.
\n\n\n8.2.0
\npytest 8.2.0 (2024-04-27)
\nDeprecations
\n\n
\n- \n
\n#12069:\nA deprecation warning is now raised when implementations of one of the\nfollowing hooks request a deprecated
\npy.path.local
\nparameter instead of thepathlib.Path
parameter which\nreplaced it:\n
\n- \n
pytest_ignore_collect
{.interpreted-text\nrole="hook"} - thepath
parameter - use\ncollection_path
instead.- \n
pytest_collect_file
{.interpreted-text\nrole="hook"} - thepath
parameter - use\nfile_path
instead.- \n
pytest_pycollect_makemodule
{.interpreted-text\nrole="hook"} - thepath
parameter - use\nmodule_path
instead.- \n
pytest_report_header
{.interpreted-text\nrole="hook"} - thestartdir
parameter - use\nstart_path
instead.- \n
pytest_report_collectionfinish
{.interpreted-text\nrole="hook"} - thestartdir
parameter - use\nstart_path
instead.The replacement parameters are available since pytest 7.0.0.\nThe old parameters will be removed in pytest 9.0.0.
\nSee
\nlegacy-path-hooks-deprecated
{.interpreted-text\nrole="ref"} for more details.Features
\n\n
\n- \n
\n#11871:\nAdded support for reading command line arguments from a file using the\nprefix character
\n@
, like e.g.:pytest\n@tests.txt
. The file must have one argument per line.See
\nRead arguments from file\n<args-from-file>
{.interpreted-text role="ref"}\nfor details.Improvements
\n\n
\n- \n
\n#11523:\n
\npytest.importorskip
{.interpreted-text\nrole="func"} will now issue a warning if the module could be\nfound, but raisedImportError
{.interpreted-text\nrole="class"} instead of\nModuleNotFoundError
{.interpreted-text\nrole="class"}.The warning can be suppressed by passing\n
\nexc_type=ImportError
to\npytest.importorskip
{.interpreted-text\nrole="func"}.See
\nimport-or-skip-import-error
{.interpreted-text\nrole="ref"} for details.- \n
\n#11728:\nFor
\nunittest
-based tests, exceptions during class cleanup\n(as raised by functions registered withTestCase.addClassCleanup\n<unittest.TestCase.addClassCleanup>
{.interpreted-text\nrole="meth"}) are now reported instead of silently\nfailing.- \n
\n#11777:\nText is no longer truncated in the
\nshort test summary info
\nsection when-vv
is given.- \n
\n#12112:\nImproved namespace packages detection when\n
\nconsider_namespace_packages
{.interpreted-text\nrole="confval"} is enabled, covering more situations (like\neditable installs).- \n
\n#9502:\nAdded
\nPYTEST_VERSION
{.interpreted-text\nrole="envvar"} environment variable which is defined at the\nstart of the pytest session and undefined afterwards. It contains the\nvalue ofpytest.__version__
, and among other things can be\nused to easily check if code is running from within a pytest run.Bug Fixes
\n\n
\n\n- \n
\n#12065:\nFixed a regression in pytest 8.0.0 where test classes containing\n
\nsetup_method
and tests using@staticmethod
or\n@classmethod
would crash withAttributeError:\n'NoneType' object has no attribute 'setup_method'
.Now the
\nrequest.instance\n<pytest.FixtureRequest.instance>
{.interpreted-text\nrole="attr"} attribute of tests using\n@staticmethod
and@classmethod
is no longer\nNone
, but a fresh instance of the class, like in non-static\nmethods.
... (truncated)
\n6bd3f31
\nTweak changelog for 8.2.09b6219b
\nPrepare release version 8.2.0835765c
\nMerge pull request #12130\nfrom bluetech/fixtures-inline7e7503c
\nunittest: report class cleanup exceptions (#12250)882c4da
\nfixtures: inline fail_fixturefunc
2e8fb9f
\nfixtures: extract a _check_fixturedef
methodacf2971
\nfixtures: inline _getnextfixturedef
into\n_get_active_fixturedef
3c77aec
\nfixtures: move "request" check earlyd217d68
\nfixtures: inline _compute_fixture_value
530be28
\nfixtures: use early return in _get_active_fixturedef