Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of
HTTPAdapter. (#6716)
Fixed issue where Requests started failing to run on Python versions compiled
without the ssl module. (#6724)
v2.32.2
2.32.2 (2024-05-21)
Deprecations
To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed _get_connection to
a new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of Requests>=2.32.0.
A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
v2.32.1
2.32.1 (2024-05-20)
Bugfixes
Add missing test certs to the sdist distributed on PyPI.
verify=True now reuses a global SSLContext which should improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a Python
version built with OpenSSL 3.x. (#6667)
Requests now supports optional use of character detection
(chardet or charset_normalizer) when repackaged or vendored.
Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of
HTTPAdapter. (#6716)
Fixed issue where Requests started failing to run on Python versions compiled
without the ssl module. (#6724)
2.32.2 (2024-05-21)
Deprecations
To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed _get_connection to
a new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of Requests>=2.32.0.
A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
2.32.1 (2024-05-20)
Bugfixes
Add missing test certs to the sdist distributed on PyPI.
verify=True now reuses a global SSLContext which should improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a Python
version built with OpenSSL 3.x. (#6667)
Requests now supports optional use of character detection
(chardet or charset_normalizer) when repackaged or vendored.
This enables pip and other projects to minimize their vendoring
surface area. The Response.text() and apparent_encoding APIs
will default to utf-8 if neither library is present. (#6702)
bump checkouts/data-schemas from 59f9683 to 8c13457 (#3146) by @dependabot
2.5.1
This change fixes a regression in our cron monitoring feature, which caused cron checkins not to be sent. The regression appears to have been introduced in version 2.4.0.
We recommend that all users, who use Cron monitoring and are currently running sentry-python ≥2.4.0, upgrade to this release as soon as possible!
Allow to configure status codes to report to Sentry in Starlette and FastAPI (#3008) by @sentrivana
By passing a new option to the FastAPI and Starlette integrations, you're now able to configure what
status codes should be sent as events to Sentry. Here's how it works:
from sentry_sdk.integrations.starlette import StarletteIntegration
from sentry_sdk.integrations.fastapi import FastApiIntegration
bump checkouts/data-schemas from 59f9683 to 8c13457 (#3146) by @dependabot
2.5.1
This change fixes a regression in our cron monitoring feature, which caused cron checkins not to be sent. The regression appears to have been introduced in version 2.4.0.
We recommend that all users, who use Cron monitoring and are currently running sentry-python ≥2.4.0, upgrade to this release as soon as possible!
Allow to configure status codes to report to Sentry in Starlette and FastAPI (#3008) by @sentrivana
By passing a new option to the FastAPI and Starlette integrations, you're now able to configure what
status codes should be sent as events to Sentry. Here's how it works:
from sentry_sdk.integrations.starlette import StarletteIntegration
from sentry_sdk.integrations.fastapi import FastApiIntegration
#12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
#12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
#12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.
Improved Documentation
#12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
#12356: Added a subsection to the documentation for debugging flaky tests to mention
lack of thread safety in pytest as a possible source of flakyness.
#12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
8.2.1
pytest 8.2.1 (2024-05-19)
Improvements
#12334: Support for Python 3.13 (beta1 at the time of writing).
Bug Fixes
#12120: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.
#12191: Keyboard interrupts and system exits are now properly handled during the test collection.
#12300: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.
#12308: Fix a regression in pytest 8.2.0 where the permissions of automatically-created .pytest_cache directories became rwx------ instead of the expected rwxr-xr-x.
Trivial/Internal Changes
#12333: pytest releases are now attested using the recent Artifact Attestation support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.
2109_: maxfile and maxpath fields were removed from the namedtuple
returned by disk_partitions()_. Reason: on network filesystems (NFS) this
can potentially take a very long time to complete.
2366_, [Windows]: log debug message when using slower process APIs.
2375_, [macOS]: provide arm64 wheels. (patch by Matthieu Darbois)
2396_: process_iter()_ no longer pre-emptively checks whether PIDs have
been reused. This makes process_iter()_ around 20x times faster.
2396_: a new psutil.process_iter.cache_clear() API can be used the clear
process_iter()_ internal cache.
2401_, Support building with free-threaded CPython 3.13.
2407_: Process.connections()_ was renamed to Process.net_connections()_.
The old name is still available, but it's deprecated (triggers a
DeprecationWarning) and will be removed in the future.
2425_: [Linux]: provide aarch64 wheels. (patch by Matthieu Darbois / Ben Raz)
Bug fixes
2250_, [NetBSD]: Process.cmdline()_ sometimes fail with EBUSY. It usually
happens for long cmdlines with lots of arguments. In this case retry getting
the cmdline for up to 50 times, and return an empty list as last resort.
2254_, [Linux]: offline cpus raise NotImplementedError in cpu_freq() (patch
by Shade Gladden)
2272_: Add pickle support to psutil Exceptions.
2359_, [Windows], [CRITICAL]: pid_exists()_ disagrees with Process_ on
whether a pid exists when ERROR_ACCESS_DENIED.
2360_, [macOS]: can't compile on macOS < 10.13. (patch by Ryan Schmidt)
2362_, [macOS]: can't compile on macOS 10.11. (patch by Ryan Schmidt)
2365_, [macOS]: can't compile on macOS < 10.9. (patch by Ryan Schmidt)
2395_, [OpenBSD]: pid_exists()_ erroneously return True if the argument is
a thread ID (TID) instead of a PID (process ID).
2412_, [macOS]: can't compile on macOS 10.4 PowerPC due to missing MNT_
constants.
Porting notes
Version 6.0.0 introduces some changes which affect backward compatibility:
2109_: the namedtuple returned by disk_partitions()_' no longer has
maxfile and maxpath fields.
2396_: process_iter()_ no longer pre-emptively checks whether PIDs have
been reused. If you want to check for PID reusage you are supposed to use
Process.is_running()_ against the yielded Process_ instances. That will
also automatically remove reused PIDs from process_iter()_ internal cache.
2407_: Process.connections()_ was renamed to Process.net_connections()_.
The old name is still available, but it's deprecated (triggers a
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dependencies group with 6 updates in the / directory:
2.31.0
2.32.3
2.1.1
2.6.0
7.1.0
7.2.1
4.1.5
5.0.0
8.2.0
8.2.2
5.9.8
6.0.0
Updates
requests
from 2.31.0 to 2.32.3Release notes
Sourced from requests's releases.
... (truncated)
Changelog
Sourced from requests's changelog.
... (truncated)
Commits
0e322af
v2.32.3e188799
Don't create default SSLContext if ssl module isn't present (#6724)145b539
Merge pull request #6716 from sigmavirus24/bug/6715b1d73dd
Don't use default SSLContext with custom poolmanager kwargs6badbac
Update HISTORY.mda62a2d3
Allow for overriding of specific pool key params88dce9d
v2.32.2c98e4d1
Merge pull request #6710 from nateprewitt/api_rename92075b3
Add deprecation warningaa1461b
Move _get_connection to get_connection_with_tls_contextUpdates
sentry-sdk
from 2.1.1 to 2.6.0Release notes
Sourced from sentry-sdk's releases.
... (truncated)
Changelog
Sourced from sentry-sdk's changelog.
... (truncated)
Commits
95d5ab7
Updated changelog4de70ab
Updated changelog8ae0907
release: 2.6.0108c521
Added contributor image to readme (#3183)85e4f1e
fix(tracing): Keep original function signature when decorated (#3178)56d2cc6
Cleaning up ASGI tests for Django (#3180)009fa4f
Reapply "Refactor the Celery Beat integration (#3105)" (#3144) (#3175)c8fc781
Add Celery receive latency (#3174)0878593
Add deprecation comment for profiler internals (#3167)1497916
ref(metrics): Update type hints for tag values (#3156)Updates
importlib-metadata
from 7.1.0 to 7.2.1Changelog
Sourced from importlib-metadata's changelog.
Commits
b76931d
Finalize48d2a85
Merge pull request #482 from dan-blanchard/fix-relative-tob94b42e
Add news fragmente4d1dcc
Remove additional method in SimplePath.07a2a44
Revert "Fix mypy failure that has nothing to do with this PR"b815aee
Mark compat code as uncovered.52ce982
Merge branch 'main' into fix-relative-to1584b96
Update wrapper to rely on 'relative_to(walk_up=True)' on Python 3.12 and comp...08d74cc
Move _relative_to compatibility to a compat module.e8998d9
Merge https://github.com/jaraco/skeletonUpdates
jupyterhub
from 4.1.5 to 5.0.0Commits
c616ab2
Bump to 5.0.041090ce
Merge pull request #4820 from minrk/rel5d7939c1
one last patchd93ca55
update nginx ssl url9ff11e6
Merge pull request #4821 from yuvipanda/fix-bootstrap66ddaeb
[pre-commit.ci] auto fixes from pre-commit.com hooks2598ac2
Fix missingform-control
classes & some padding4ab36e3
final changelog for 5.0.0282cc02
Merge pull request #4815 from minrk/admin-test6912a5a
Merge pull request #4817 from minrk/share-code-full-urlUpdates
pytest
from 8.2.0 to 8.2.2Release notes
Sourced from pytest's releases.
Commits
329d371
Prepare release version 8.2.2214d098
Merge pull request #12414 from bluetech/backport-12409153a436
[8.2.x] fixtures: fix catastrophic performance problem inreorder_items
b41d5a5
Merge pull request #12412 from pytest-dev/backport-12408-to-8.2.x9bb73d7
[8.2.x] cacheprovider: fix "Directory not empty" crash from cache directory c...4569a01
[8.2.x] doc: Update trainings/events (#12402)1d103e5
[8.2.x] Clarify pytest_ignore_collect docs (#12386)240a252
[8.2.x] Add html_baseurl to sphinx conf.py (#12372)a5ee3c4
Merge pull request #12370 from pytest-dev/backport-12368-to-8.2.xf7358ae
[8.2.x] unittest: fix class instances no longer released on test teardown sin...Updates
psutil
from 5.9.8 to 6.0.0Changelog
Sourced from psutil's changelog.
... (truncated)
Commits
3d5522a
release5b30ef4
Add aarch64 manylinux wheels (#2425)1d092e7
test subprocesses: sleep() with an interval of 0.1 to make the test process m...5f80c12
Fix #2412, [macOS]: can't compile on macOS 10.4 PowerPC due to missingMNT_
...89b6096
process_iter(): use another global var to keep track of reused PIDs9421bf8
openbsd: skip test if cmdline() returns [] due to EBUSY4b1a054
Fix #2250 / NetBSD / cmdline: retry on EBUSY. (#2421)20be5ae
ruff: enable and fix 'unused variable' rule5530985
chore(ci): update actions (#2417)1c7cb0a
Don't build with limited API for 3.13 free-threaded build (#2402)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show