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

Run Python 3.13 tests in CI (with failures allowed) #17484

Merged
merged 4 commits into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
python-version: '3.8'
- name: Install tox
run: pip install --upgrade 'setuptools!=50' tox==4.11.0
run: pip install tox==4.11.0
- name: Setup tox environment
run: tox run -e ${{ env.TOXENV }} --notest
- name: Test
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,24 @@ jobs:
- name: Test
run: tox run -e ${{ matrix.toxenv }} --skip-pkg-install -- ${{ matrix.tox_extra_args }}

python-nightly:
runs-on: ubuntu-latest
name: Test suite with Python nightly
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.13-dev'
- name: Install tox
run: pip install setuptools==68.2.2 tox==4.11.0
- name: Setup tox environment
run: tox run -e py --notest
- name: Test
run: tox run -e py --skip-pkg-install -- "-n 4"
continue-on-error: true
- name: Mark as a success
run: exit 0

python_32bits:
runs-on: ubuntu-latest
name: Test mypyc suite with 32-bit Python
Expand Down
2 changes: 0 additions & 2 deletions test-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ black==24.3.0 # must match version in .pre-commit-config.yaml
filelock>=3.3.0
# lxml 4.9.3 switched to manylinux_2_28, the wheel builder still uses manylinux2014
lxml>=4.9.1,<4.9.3; (python_version<'3.11' or sys_platform!='win32') and python_version<'3.12'
pre-commit
pre-commit-hooks==4.5.0
psutil>=4.0
pytest>=8.1.0
pytest-xdist>=1.34.0
Expand Down
34 changes: 4 additions & 30 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,14 @@ attrs==23.1.0
# via -r test-requirements.in
black==24.3.0
# via -r test-requirements.in
cfgv==3.4.0
# via pre-commit
click==8.1.7
# via black
coverage==7.3.2
# via pytest-cov
distlib==0.3.7
# via virtualenv
execnet==2.0.2
# via pytest-xdist
filelock==3.12.4
# via
# -r test-requirements.in
# virtualenv
identify==2.5.30
# via pre-commit
# via -r test-requirements.in
iniconfig==2.0.0
# via pytest
lxml==4.9.2 ; (python_version < "3.11" or sys_platform != "win32") and python_version < "3.12"
Expand All @@ -32,24 +24,16 @@ mypy-extensions==1.0.0
# via
# -r mypy-requirements.txt
# black
nodeenv==1.8.0
# via pre-commit
packaging==23.2
# via
# black
# pytest
pathspec==0.11.2
# via black
platformdirs==3.11.0
# via
# black
# virtualenv
# via black
pluggy==1.4.0
# via pytest
pre-commit==3.5.0
# via -r test-requirements.in
pre-commit-hooks==4.5.0
# via -r test-requirements.in
psutil==5.9.6
# via -r test-requirements.in
pytest==8.1.1
Expand All @@ -61,12 +45,6 @@ pytest-cov==4.1.0
# via -r test-requirements.in
pytest-xdist==3.3.1
# via -r test-requirements.in
pyyaml==6.0.1
# via pre-commit
ruamel-yaml==0.17.40
# via pre-commit-hooks
ruamel-yaml-clib==0.2.8
# via ruamel-yaml
ruff==0.2.0
# via -r test-requirements.in
tomli==2.0.1
Expand All @@ -75,13 +53,9 @@ types-psutil==5.9.5.17
# via -r build-requirements.txt
types-setuptools==68.2.0.0
# via -r build-requirements.txt
typing-extensions==4.8.0
typing-extensions==4.12.2
# via -r mypy-requirements.txt
virtualenv==20.24.5
# via pre-commit

# The following packages are considered to be unsafe in a requirements file:
setuptools==68.2.2
# via
# -r test-requirements.in
# nodeenv
# via -r test-requirements.in
Loading