Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.13 beta to CI #6166

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: "3.12"
- python-version: "3.13.0-beta.1"
env:
TOXENV: pylint
- python-version: 3.8
Expand All @@ -24,7 +24,7 @@ jobs:
- python-version: "3.11" # Keep in sync with .readthedocs.yml
env:
TOXENV: docs
- python-version: "3.12"
- python-version: "3.13.0-beta.1"
env:
TOXENV: twinecheck

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.12
python-version: "3.13.0-beta.1"
- run: |
pip install --upgrade build twine
python -m build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-macos.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-beta.1"]

steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/tests-ubuntu.yml
Expand Up @@ -24,7 +24,10 @@ jobs:
- python-version: "3.12"
env:
TOXENV: py
- python-version: "3.12"
- python-version: "3.13.0-beta.1"
env:
TOXENV: py
- python-version: "3.13.0-beta.1"
env:
TOXENV: asyncio
- python-version: pypy3.9
Expand All @@ -51,10 +54,10 @@ jobs:
env:
TOXENV: botocore-pinned

- python-version: "3.12"
- python-version: "3.13.0-beta.1"
env:
TOXENV: extra-deps
- python-version: "3.12"
- python-version: "3.13.0-beta.1"
env:
TOXENV: botocore

Expand All @@ -67,7 +70,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install system libraries
if: contains(matrix.python-version, 'pypy') || contains(matrix.env.TOXENV, 'pinned')
if: contains(matrix.python-version, 'pypy') || contains(matrix.python-version, 'beta') || contains(matrix.env.TOXENV, 'pinned')
run: |
sudo apt-get update
sudo apt-get install libxml2-dev libxslt-dev
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tests-windows.yml
Expand Up @@ -27,7 +27,10 @@ jobs:
- python-version: "3.12"
env:
TOXENV: py
- python-version: "3.12"
- python-version: "3.13.0-beta.1"
env:
TOXENV: py
- python-version: "3.13.0-beta.1"
env:
TOXENV: asyncio

Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -64,6 +64,7 @@
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -155,7 +155,7 @@ deps =
bpython # optional for shell wrapper tests
brotli; implementation_name != 'pypy' # optional for HTTP compress downloader middleware tests
brotlicffi; implementation_name == 'pypy' # optional for HTTP compress downloader middleware tests
zstandard; implementation_name != 'pypy' # optional for HTTP compress downloader middleware tests
zstandard; implementation_name != 'pypy' and python_version < '3.13' # optional for HTTP compress downloader middleware tests
ipython

[testenv:extra-deps-pinned]
Expand Down