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 broad testing for Python 3.13 #1381

Merged
merged 28 commits into from
Jan 12, 2025
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4cf3eeb
CI: Test on Python 3.13t across OSs
effigies Oct 23, 2024
7b4165e
Add 3.13 without free-threading, reduce non-Linux build matrix
effigies Oct 23, 2024
2c22359
Do not update VIRTUAL_ENV
effigies Oct 23, 2024
afe4117
Install pip into tox environment
effigies Oct 23, 2024
3fbc2ef
Use tomllib over tomli when available
effigies Oct 23, 2024
2e4a124
Sync requirements.txt files
effigies Oct 23, 2024
30f324b
Compile min-requirements.txt
effigies Oct 23, 2024
2894a3e
TOX: Control pip via environment variables
effigies Oct 31, 2024
62012ef
Handle 3.13 better
effigies Oct 31, 2024
cf4ef06
Configure uv installation
effigies Oct 31, 2024
04c4d30
fix virtual environment
effigies Oct 31, 2024
1ad263e
chore(ci): Try another way to find the right Python
effigies Dec 7, 2024
b99ad93
chore(deps): Add missing and set min versions for optional deps
effigies Dec 7, 2024
ee09135
chore(tox): Use uv_resolution to run minimum tests
effigies Dec 7, 2024
1acb1fb
Define environment for py313t-full/pre
effigies Dec 7, 2024
6023c35
Use tox-gh-actions branch
effigies Dec 8, 2024
bcb9f2d
chore(ci): Test win32 with no extras for 3.9 and 3.13
effigies Dec 8, 2024
78a8878
chore(tox): Remove unused env vars
effigies Dec 8, 2024
91d2e42
chore(tox): Set PYTHONGIL from environment if found
effigies Dec 8, 2024
265257e
chore(ci): Update setup-uv version
effigies Dec 8, 2024
6cb49a3
chore(ci): Re-add arm64 exclusions
effigies Dec 8, 2024
81e2e9f
chore: Disable writing min-requirements from update_requirements.py
effigies Dec 8, 2024
6f77556
chore(ci): Restore x86 for Windows, will just drop mpl in tox
effigies Dec 8, 2024
85a6cfe
chore(tox): Drop mpl from x86, old numpy constraint
effigies Dec 8, 2024
5e4c4ae
chore(tox): Drop dev, pre is good enough
effigies Dec 8, 2024
76b809c
chore(tox): Rework default environments, extras
effigies Dec 8, 2024
821f34b
chore(ci): Improve version specification for uv
effigies Dec 8, 2024
1e8043d
chore: Nudge uv a bit harder
effigies Jan 12, 2025
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
Prev Previous commit
Next Next commit
chore(ci): Improve version specification for uv
effigies committed Dec 8, 2024
commit 821f34bb24c579f5202e120bca2bbefcefe96539
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -199,7 +199,18 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
if: endsWith(matrix.python-version, 't')
run: |
uv python install ${{ matrix.python-version }}
uv python install ${IMPL}-${VERSION}-${OS%-*}-${ARCH}-${LIBC}
env:
IMPL: cpython
VERSION: ${{ matrix.python-version }}
# uv expects linux|macos|windows, we can drop the -* but need to rename ubuntu
OS: ${{ matrix.os == 'ubuntu-latest' && 'linux' || matrix.os }}
# uv expects x86, x86_64, aarch64 (among others)
ARCH: ${{ matrix.architecture == 'x64' && 'x86_64' ||
matrix.architecture == 'arm64' && 'aarch64' ||
matrix.architecture }}
# windows and macos have no options, gnu is the only option for the archs
LIBC: ${{ matrix.os == 'ubuntu-latest' && 'gnu' || 'none' }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install tox