Skip to content

Commit 05878b5

Browse files
committed
Test on python 3.14 and 3.14t
1 parent fd24bd9 commit 05878b5

3 files changed

Lines changed: 8 additions & 11 deletions

File tree

.github/workflows/python-package-tox.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,20 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
15+
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
1616
fail-fast: false
1717

1818
runs-on: ${{ matrix.python <= '3.6' && 'ubuntu-20.04' || 'ubuntu-22.04' }}
1919

20-
name: Test on python ${{ matrix.python }} and numpy ${{ matrix.numpyversion }}
20+
name: Test on python ${{ matrix.python }}
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Setup Python
2424
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python }}
27+
allow-prereleases: true
28+
check-latest: true
2729
- name: Install Tox
2830
run: pip install tox
2931
- name: Run Tox

.github/workflows/upload_to_pypi.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Build and upload to PyPI
33
on:
44
release:
55
types: [published]
6+
workflow_dispatch:
67

78
jobs:
89
build_wheels:
@@ -16,16 +17,13 @@ jobs:
1617
- uses: actions/checkout@v4
1718

1819
- uses: actions/setup-python@v5
19-
name: Install Python
20-
with:
21-
python-version: '3.x'
2220

2321
- name: Build wheels
2422
# For very recent Python versions, wheels from e.g. numpy might not be
2523
# available yet which can cause the build to fail. Keep going, and upload
2624
# the wheels for all of the previous versions when that happens.
2725
continue-on-error: true
28-
uses: pypa/cibuildwheel@v2.22.0
26+
uses: pypa/cibuildwheel@v3.1.3
2927

3028
- uses: actions/upload-artifact@v4
3129
with:
@@ -39,9 +37,6 @@ jobs:
3937
- uses: actions/checkout@v4
4038

4139
- uses: actions/setup-python@v5
42-
name: Install Python
43-
with:
44-
python-version: '3.x'
4540

4641
- name: Install build
4742
run: python -m pip install build
@@ -62,7 +57,7 @@ jobs:
6257
id-token: write
6358
if: startsWith(github.ref, 'refs/tags/v')
6459
steps:
65-
- uses: actions/download-artifact@v4.1.7
60+
- uses: actions/download-artifact@v4
6661
with:
6762
pattern: cibw-*
6863
path: dist

extinction.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!python
2-
#cython: boundscheck=False, wraparound=False, initializedcheck=False, cdivision=True
2+
#cython: boundscheck=False, wraparound=False, initializedcheck=False, cdivision=True, freethreading_compatible=True
33

44
"""Interstellar dust extinction functions."""
55

0 commit comments

Comments
 (0)