From bb43aa2d4d912b28b89ef9028af735486813dd99 Mon Sep 17 00:00:00 2001 From: bashonly Date: Sat, 26 Jul 2025 18:26:11 -0500 Subject: [PATCH] Remove Python 3.10 support Authored by: bashonly --- CONTRIBUTING.md | 2 +- README.md | 6 +++--- pyproject.toml | 3 +-- setup.cfg | 4 ++-- yt_dlp/__init__.py | 4 ++-- yt_dlp/update.py | 2 +- 6 files changed, 10 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2c58cdfc9..7dfb623be 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -272,7 +272,7 @@ ## Adding support for a new site You can use `hatch fmt` to automatically fix problems. Rules that the linter/formatter enforces should not be disabled with `# noqa` unless a maintainer requests it. The only exception allowed is for old/printf-style string formatting in GraphQL query templates (use `# noqa: UP031`). -1. Make sure your code works under all [Python](https://www.python.org/) versions supported by yt-dlp, namely CPython >=3.9 and PyPy >=3.10. Backward compatibility is not required for even older versions of Python. +1. Make sure your code works under all [Python](https://www.python.org/) versions supported by yt-dlp, namely CPython >=3.10 and PyPy >=3.10. Backward compatibility is not required for even older versions of Python. 1. When the tests pass, [add](https://git-scm.com/docs/git-add) the new files, [commit](https://git-scm.com/docs/git-commit) them and [push](https://git-scm.com/docs/git-push) the result, like this: ```shell diff --git a/README.md b/README.md index 7e6951d78..1e2577a32 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ # To install nightly with pip: ``` ## DEPENDENCIES -Python versions 3.9+ (CPython) and 3.10+ (PyPy) are supported. Other versions and implementations may or may not work correctly. +Python versions 3.10+ (CPython) and 3.10+ (PyPy) are supported. Other versions and implementations may or may not work correctly.