Skip to content

Review supported Python versions and platforms#130

Merged
crusaderky merged 3 commits into
explosion:mainfrom
crusaderky:ci-refresh
Nov 26, 2025
Merged

Review supported Python versions and platforms#130
crusaderky merged 3 commits into
explosion:mainfrom
crusaderky:ci-refresh

Conversation

@crusaderky

@crusaderky crusaderky commented Nov 24, 2025

Copy link
Copy Markdown
Contributor
  • Align supported Python versions everywhere to 3.10 ~ 3.14, as per the wheels produced for release 1.3.3.
  • Run tests on all versions of Python
  • Run tests on Linux ARM, MacOSX Intel, and MacOSX ARM

This PR is propaedeutic to further work for free-threading.

@crusaderky
crusaderky force-pushed the ci-refresh branch 2 times, most recently from 7957bf2 to f25660d Compare November 24, 2025 16:05
Comment on lines 82 to 98
- name: Build wheel (Mac)
if: startsWith(matrix.os, 'macos')
run: |
python -m build --wheel

- name: Build wheel (Linux / clang)
if: startsWith(matrix.os, 'ubuntu') && matrix.python_version == '3.6'
run: |
clang --version
CC=clang python -m build --wheel
python -m build --wheel

- name: Build wheel (Linux / gcc-9)
if: startsWith(matrix.os, 'ubuntu') && (matrix.python_version == '3.7' || matrix.python_version == '3.8')
- name: Build wheel (Linux / gcc)
if: startsWith(matrix.os, 'ubuntu') && matrix.cc == ''
run: |
sudo apt update
sudo apt install gcc-9
gcc-9 --version
CC=gcc-9 python -m build --wheel
gcc --version
python -m build --wheel

- name: Build wheel (Linux / gcc-10)
if: startsWith(matrix.os, 'ubuntu') && matrix.python_version == '3.9'
run: |
sudo apt update
sudo apt install gcc-10
gcc-10 --version
CC=gcc-10 python -m build --wheel
- name: Build wheel (Linux / clang-13)
if: startsWith(matrix.os, 'ubuntu') && matrix.python_version == '3.10'
- name: Build wheel (Linux / clang)
if: startsWith(matrix.os, 'ubuntu') && matrix.cc == 'clang'
run: |
clang --version
CC=clang python -m build --wheel

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section is slightly more verbose than it could be, for the sake of readibility.

Comment on lines -55 to -66
set "PATH=C:\\Program Files\\LLVM\\bin;%PATH%"
set "AR=llvm-ar"
set "AS=llvm-as"
set "CC=clang"
set "RANLIB=echo"
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
clang --version
python -m build --wheel
shell: cmd
- name: Build wheel (Windows)
if: startsWith(matrix.os, 'windows')
run: |

@crusaderky crusaderky Nov 24, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was duplicated

@crusaderky
crusaderky force-pushed the ci-refresh branch 2 times, most recently from fc2464f to 8c56ad2 Compare November 25, 2025 09:38
@crusaderky
crusaderky force-pushed the ci-refresh branch 2 times, most recently from 2e29bfc to a13d6c2 Compare November 25, 2025 09:50
@crusaderky crusaderky changed the title General CI refresh Review supported Python versions and platforms Nov 25, 2025
Comment thread requirements.txt
# Test requirements
numpy>=1.15.0; python_version < "3.9"
numpy>=1.19.0; python_version >= "3.9"
numpy>=1.21.2

@crusaderky crusaderky Nov 25, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the oldest numpy that supports python 3.10
Follow-up:

@crusaderky

Copy link
Copy Markdown
Contributor Author

Internal code review at crusaderky#2

@crusaderky
crusaderky marked this pull request as ready for review November 26, 2025 08:48
@crusaderky
crusaderky merged commit 6b4a665 into explosion:main Nov 26, 2025
61 checks passed
@crusaderky
crusaderky deleted the ci-refresh branch November 26, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant