Skip to content

Commit 2cd3fe1

Browse files
authored
Merge pull request #2377 from IntelPython/support-python-3.15
Support Python 3.15
2 parents 8a63424 + cf628f9 commit 2cd3fe1

7 files changed

Lines changed: 49 additions & 9 deletions

File tree

‎.github/workflows/conda-package-cf.yml‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
python_spec: '3.14.* *_cp314'
3535
- python: '3.14'
3636
python_spec: '3.14.* *_cp314t'
37+
- python: '3.15'
38+
python_spec: '3.15.* *_cp315'
39+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
3740
steps:
3841
- name: Cancel Previous Runs
3942
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
@@ -102,6 +105,9 @@ jobs:
102105
python_spec: '3.14.* *_cp314'
103106
- python: '3.14'
104107
python_spec: '3.14.* *_cp314t'
108+
- python: '3.15'
109+
python_spec: '3.15.* *_cp315'
110+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
105111
steps:
106112
- name: Cancel Previous Runs
107113
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
@@ -160,10 +166,14 @@ jobs:
160166
include:
161167
- python: '3.14'
162168
python_spec: '3.14.* *_cp314'
163-
runner: ubuntu-22.04
169+
runner: ubuntu-latest
164170
- python: '3.14'
165171
python_spec: '3.14.* *_cp314t'
166-
runner: ubuntu-22.04
172+
runner: ubuntu-latest
173+
- python: '3.15'
174+
python_spec: '3.15.* *_cp315'
175+
runner: ubuntu-latest
176+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
167177
runner: [ubuntu-latest]
168178

169179
steps:
@@ -274,6 +284,10 @@ jobs:
274284
- python: '3.14'
275285
python_spec: '3.14.* *_cp314t'
276286
runner: windows-latest
287+
- python: '3.15'
288+
python_spec: '3.15.* *_cp315'
289+
runner: windows-latest
290+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
277291
runner: [windows-latest]
278292
env:
279293
workdir: '${{ github.workspace }}'

‎.github/workflows/conda-package.yml‎

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
python_spec: '3.14.* *_cp314'
3535
- python: '3.14'
3636
python_spec: '3.14.* *_cp314t'
37+
- python: '3.15'
38+
python_spec: '3.15.* *_cp315'
39+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
3740
steps:
3841
- name: Cancel Previous Runs
3942
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
@@ -112,6 +115,9 @@ jobs:
112115
python_spec: '3.14.* *_cp314'
113116
- python: '3.14'
114117
python_spec: '3.14.* *_cp314t'
118+
- python: '3.15'
119+
python_spec: '3.15.* *_cp315'
120+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
115121
steps:
116122
- name: Cancel Previous Runs
117123
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
@@ -194,6 +200,11 @@ jobs:
194200
python_spec: '3.14.* *_cp314t'
195201
experimental: false
196202
runner: ubuntu-latest
203+
- python: '3.15'
204+
python_spec: '3.15.* *_cp315'
205+
experimental: false
206+
runner: ubuntu-latest
207+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
197208
experimental: [false]
198209
runner: [ubuntu-latest]
199210
continue-on-error: ${{ matrix.experimental }}
@@ -313,6 +324,11 @@ jobs:
313324
python_spec: '3.14.* *_cp314t'
314325
experimental: false
315326
runner: windows-latest
327+
- python: '3.15'
328+
python_spec: '3.15.* *_cp315'
329+
experimental: false
330+
runner: windows-latest
331+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
316332
experimental: [false]
317333
runner: [windows-latest]
318334
continue-on-error: ${{ matrix.experimental }}
@@ -502,6 +518,9 @@ jobs:
502518
python_spec: '3.14.* *_cp314'
503519
- python: '3.14'
504520
python_spec: '3.14.* *_cp314t'
521+
- python: '3.15'
522+
python_spec: '3.15.* *_cp315'
523+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
505524
steps:
506525
- name: Download conda artifact
507526
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
@@ -551,6 +570,9 @@ jobs:
551570
python_spec: '3.14.* *_cp314'
552571
- python: '3.14'
553572
python_spec: '3.14.* *_cp314t'
573+
- python: '3.15'
574+
python_spec: '3.15.* *_cp315'
575+
# TODO: add 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
554576
steps:
555577
- name: Download artifact
556578
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
@@ -591,11 +613,12 @@ jobs:
591613
runs-on: ${{ matrix.runner }}
592614
strategy:
593615
matrix:
594-
python: ['3.14']
595-
python_spec: ['3.14.* *_cp314']
616+
python: ['3.15']
617+
python_spec: ['3.15.* *_cp315']
596618
experimental: [false]
597619
runner: [ubuntu-latest]
598620
include:
621+
# TODO: switch to 3.15t (cp315t) when NumPy cp315t builds are available on conda-forge
599622
- python: '3.14'
600623
python_spec: '3.14.* *_cp314t'
601624
experimental: false

‎.github/workflows/generate-coverage.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Setup Python
5353
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
5454
with:
55-
python-version: '3.14'
55+
python-version: '3.15'
5656
architecture: x64
5757

5858
- name: Cache Gtest

‎.github/workflows/os-llvm-sycl-build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
- name: Setup Python
119119
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
120120
with:
121-
python-version: '3.12'
121+
python-version: '3.15'
122122
architecture: x64
123123

124124
- name: Install dpctl dependencies

‎.github/workflows/pre-commit.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
ref: ${{ github.sha }} # use hash to pass no-commit-to-branch check
2424
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2525
with:
26-
python-version: '3.14'
26+
python-version: '3.15'
2727
- name: Install from PyPI
2828
shell: bash -l {0}
2929
run: |

‎.github/workflows/run-tests-from-dppy-bits.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
strategy:
2929
matrix:
3030
dependencies: [conda-forge, intel]
31-
python_spec: ['3.10', '3.11', '3.12', '3.13', '3.14.* *_cp314', '3.14.* *_cp314t']
31+
# TODO: add '3.15.* *_cp315t' when NumPy cp315t builds are available on conda-forge
32+
python_spec: ['3.10', '3.11', '3.12', '3.13', '3.14.* *_cp314', '3.14.* *_cp314t', '3.15.* *_cp315']
3233
runner: [ubuntu-22.04, ubuntu-24.04]
3334

3435
steps:
@@ -87,7 +88,8 @@ jobs:
8788
matrix:
8889
# see the comment on the dependencies of test_linux
8990
dependencies: [conda-forge, intel]
90-
python_spec: ['3.10', '3.11', '3.12', '3.13', '3.14.* *_cp314', '3.14.* *_cp314t']
91+
# TODO: add '3.15.* *_cp315t' when NumPy cp315t builds are available on conda-forge
92+
python_spec: ['3.10', '3.11', '3.12', '3.13', '3.14.* *_cp314', '3.14.* *_cp314t', '3.15.* *_cp315']
9193
runner: [windows-latest]
9294
env:
9395
workdir: '${{ github.workspace }}'

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ classifiers = [
2828
"Programming Language :: Python :: 3.12",
2929
"Programming Language :: Python :: 3.13",
3030
"Programming Language :: Python :: 3.14",
31+
"Programming Language :: Python :: 3.15",
3132
"Programming Language :: Python :: Implementation :: CPython",
3233
"Programming Language :: Python :: Free Threading :: 2 - Beta",
3334
"Topic :: Software Development",

0 commit comments

Comments
 (0)