From 4ef116b5469f5e1e147d978e992c04a8bd0fc183 Mon Sep 17 00:00:00 2001 From: Mike Nerone Date: Sun, 2 Mar 2025 13:30:57 -0600 Subject: [PATCH] Update supported Python versions --- .github/workflows/ci.yml | 6 +++--- .readthedocs.yml | 2 +- README.rst | 4 ++-- debian/control | 2 +- newsfragments/###.misc.rst | 1 + setup.py | 6 +++--- 6 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 newsfragments/###.misc.rst diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 425ba08e..31e4b278 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13'] arch: ['x86', 'x64'] steps: - name: Checkout @@ -51,7 +51,7 @@ jobs: strategy: fail-fast: false matrix: - python: ['pypy-3.9', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9-nightly'] + python: ['pypy-3.9', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.9-nightly'] check_formatting: ['0'] extra_name: [''] include: @@ -98,7 +98,7 @@ jobs: strategy: fail-fast: false matrix: - python: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9-nightly'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.9-nightly'] steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.readthedocs.yml b/.readthedocs.yml index fd197130..f347e38b 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,7 +8,7 @@ formats: build: os: "ubuntu-22.04" tools: - python: "3.11" + python: "3.13" python: install: diff --git a/README.rst b/README.rst index 00ddb747..c6578657 100644 --- a/README.rst +++ b/README.rst @@ -26,8 +26,8 @@ **trio-asyncio** is a re-implementation of the ``asyncio`` mainloop on top of Trio. -trio-asyncio requires at least Python 3.8. It is tested on recent versions of -3.8 through 3.12. +trio-asyncio requires at least Python 3.9. It is tested on recent versions of +3.9 through 3.13. +++++++++++ Rationale diff --git a/debian/control b/debian/control index 5a5384cc..d45e4b90 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Build-Depends: dh-python, python3-setuptools, python3-all, debhelper (>= 9), python3-pytest-runner, python3-outcome, Standards-Version: 3.9.6 -Homepage: https://github.com/smurfix/trio-asyncio +Homepage: https://github.com/python-trio/trio-asyncio Package: python3-trio-asyncio Architecture: all diff --git a/newsfragments/###.misc.rst b/newsfragments/###.misc.rst new file mode 100644 index 00000000..7eb2665f --- /dev/null +++ b/newsfragments/###.misc.rst @@ -0,0 +1 @@ +Python 3.13 is now supported. Python 3.8 is no longer supported. diff --git a/setup.py b/setup.py index 16c40a61..1d2a44ee 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ code (asyncio: ~8000) but passes the complete Python 3.6 test suite with no errors. -``trio_asyncio`` requires Python 3.8 or later. +``trio_asyncio`` requires Python 3.9 or later. Author ====== @@ -72,7 +72,7 @@ # This means, just install *everything* you see under trio/, even if it # doesn't look like a source file, so long as it appears in MANIFEST.in: include_package_data=True, - python_requires=">=3.8", + python_requires=">=3.9", keywords=["async", "io", "trio", "asyncio", "trio-asyncio"], setup_requires=["pytest-runner"], tests_require=["pytest >= 5.4", "pytest-trio >= 0.6", "outcome"], @@ -88,11 +88,11 @@ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: System :: Networking", "Framework :: Trio", "Framework :: AsyncIO",