Skip to content

Commit 64a8c36

Browse files
committed
Drop Python 3.10
1 parent 96122d1 commit 64a8c36

File tree

6 files changed

+15
-20
lines changed

6 files changed

+15
-20
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
if: ${{ needs.changes.outputs.changes == 'true' }}
5555
strategy:
5656
matrix:
57-
python-version: ["3.10", "3.13"]
57+
python-version: ["3.11", "3.13"]
5858
steps:
5959
- uses: actions/checkout@v4
6060
with:
@@ -75,7 +75,7 @@ jobs:
7575
fail-fast: false
7676
matrix:
7777
os: ["ubuntu-latest"]
78-
python-version: ["3.10", "3.13"]
78+
python-version: ["3.11", "3.13"]
7979
numpy-version: ["~=1.26.0", ">=2.0"]
8080
fast-compile: [0, 1]
8181
float32: [0, 1]
@@ -92,9 +92,9 @@ jobs:
9292
- "tests/tensor/test_basic.py tests/tensor/test_inplace.py tests/tensor/conv"
9393
- "tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py"
9494
exclude:
95-
- python-version: "3.10"
95+
- python-version: "3.11"
9696
fast-compile: 1
97-
- python-version: "3.10"
97+
- python-version: "3.11"
9898
float32: 1
9999
- fast-compile: 1
100100
float32: 1
@@ -117,7 +117,7 @@ jobs:
117117
install-xarray: 0
118118
- install-numba: 1
119119
os: "ubuntu-latest"
120-
python-version: "3.10"
120+
python-version: "3.11"
121121
numpy-version: "~=2.1.0"
122122
fast-compile: 0
123123
float32: 0
@@ -138,7 +138,7 @@ jobs:
138138
part: "tests/link/numba/test_slinalg.py"
139139
- install-jax: 1
140140
os: "ubuntu-latest"
141-
python-version: "3.10"
141+
python-version: "3.11"
142142
numpy-version: ">=2.0"
143143
fast-compile: 0
144144
float32: 0
@@ -152,7 +152,7 @@ jobs:
152152
part: "tests/link/jax"
153153
- install-torch: 1
154154
os: "ubuntu-latest"
155-
python-version: "3.10"
155+
python-version: "3.11"
156156
numpy-version: ">=2.0"
157157
fast-compile: 0
158158
float32: 0
@@ -265,7 +265,7 @@ jobs:
265265
with:
266266
fetch-depth: 0
267267
persist-credentials: false
268-
- name: Set up Python 3.10
268+
- name: Set up Python 3.11
269269
uses: mamba-org/setup-micromamba@v2
270270
with:
271271
environment-name: pytensor-test
@@ -281,7 +281,7 @@ jobs:
281281
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
282282
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"'
283283
env:
284-
PYTHON_VERSION: 3.10
284+
PYTHON_VERSION: 3.11
285285
- name: Download previous benchmark data
286286
uses: actions/cache@v4
287287
with:

doc/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- nodefaults
55
dependencies:
6-
- python=3.10
6+
- python=3.11
77
- gcc_linux-64
88
- gxx_linux-64
99
- numpy

environment-osx-arm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: pytensor-dev
77
channels:
88
- conda-forge
99
dependencies:
10-
- python>=3.10
10+
- python>=3.11
1111
- compilers
1212
- numpy>=1.17.0
1313
- scipy>=1,<2

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: pytensor-dev
77
channels:
88
- conda-forge
99
dependencies:
10-
- python>=3.10
10+
- python>=3.11
1111
- compilers
1212
- numpy>=1.17.0
1313
- scipy>=1,<2

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
1010
[project]
1111
name = "pytensor"
1212
dynamic = ['version']
13-
requires-python = ">=3.10,<3.14"
13+
requires-python = ">=3.11,<3.14"
1414
authors = [{ name = "pymc-devs", email = "[email protected]" }]
1515
description = "Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs."
1616
readme = "README.rst"
@@ -30,7 +30,6 @@ classifiers = [
3030
"Operating System :: Unix",
3131
"Operating System :: MacOS",
3232
"Programming Language :: Python :: 3",
33-
"Programming Language :: Python :: 3.10",
3433
"Programming Language :: Python :: 3.11",
3534
"Programming Language :: Python :: 3.12",
3635
"Programming Language :: Python :: 3.13",
@@ -169,7 +168,7 @@ lines-after-imports = 2
169168

170169

171170
[tool.mypy]
172-
python_version = "3.10"
171+
python_version = "3.11"
173172
ignore_missing_imports = true
174173
strict_equality = true
175174
warn_redundant_casts = true

scripts/slowest_tests/update-slowest-times-issue.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,9 @@ jobs=$(gh api /repos/$owner/$repo/actions/runs/$latest_id/jobs --jq '
2121
| map({name: .name, run_id: .run_id, id: .id, started_at: .started_at, completed_at: .completed_at})
2222
')
2323

24-
# Skip 3.10, float32, and Benchmark tests
24+
# Skip float32, and Benchmark tests
2525
function skip_job() {
2626
name=$1
27-
if [[ $name == *"py3.10"* ]]; then
28-
return 0
29-
fi
30-
3127
if [[ $name == *"float32 1"* ]]; then
3228
return 0
3329
fi

0 commit comments

Comments
 (0)