Skip to content

Backport several deprecations#15750

Merged
JelleZijlstra merged 1 commit intopython:mainfrom
hauntsaninja:backport
May 10, 2026
Merged

Backport several deprecations#15750
JelleZijlstra merged 1 commit intopython:mainfrom
hauntsaninja:backport

Conversation

@hauntsaninja
Copy link
Copy Markdown
Collaborator

We can time travel!

@github-actions
Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

pytest (https://github.com/pytest-dev/pytest)
+ testing/freeze/tox_run.py:16: error: function os.system is deprecated: Soft deprecated. Use the subprocess module instead.  [deprecated]

aiohttp (https://github.com/aio-libs/aiohttp)
+ aiohttp/worker.py:244:9: error: function asyncio.events.set_event_loop_policy is deprecated: Deprecated since Python 3.14; will be removed in Python 3.16.  [deprecated]
+ aiohttp/worker.py:244:9: note: See https://mypy.rtfd.io/en/stable/_refs.html#code-deprecated for more info  [deprecated]
- aiohttp/test_utils.py:561:2: note: See https://mypy.rtfd.io/en/stable/_refs.html#code-deprecated for more info  [deprecated]

@JelleZijlstra JelleZijlstra merged commit ebbce22 into python:main May 10, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants