Skip to content

Commit 0b80ced

Browse files
committed
Drop Python 3.10
1 parent 69efc68 commit 0b80ced

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]
@@ -93,9 +93,9 @@ jobs:
9393
- "tests/tensor/test_basic.py tests/tensor/test_inplace.py"
9494
- "tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py"
9595
exclude:
96-
- python-version: "3.10"
96+
- python-version: "3.11"
9797
fast-compile: 1
98-
- python-version: "3.10"
98+
- python-version: "3.11"
9999
float32: 1
100100
- fast-compile: 1
101101
float32: 1
@@ -117,7 +117,7 @@ jobs:
117117
install-torch: 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
@@ -131,7 +131,7 @@ jobs:
131131
part: "tests/link/numba"
132132
- install-jax: 1
133133
os: "ubuntu-latest"
134-
python-version: "3.10"
134+
python-version: "3.11"
135135
numpy-version: ">=2.0"
136136
fast-compile: 0
137137
float32: 0
@@ -145,7 +145,7 @@ jobs:
145145
part: "tests/link/jax"
146146
- install-torch: 1
147147
os: "ubuntu-latest"
148-
python-version: "3.10"
148+
python-version: "3.11"
149149
numpy-version: ">=2.0"
150150
fast-compile: 0
151151
float32: 0
@@ -250,7 +250,7 @@ jobs:
250250
with:
251251
fetch-depth: 0
252252
persist-credentials: false
253-
- name: Set up Python 3.10
253+
- name: Set up Python 3.11
254254
uses: mamba-org/setup-micromamba@v2
255255
with:
256256
environment-name: pytensor-test
@@ -266,7 +266,7 @@ jobs:
266266
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
267267
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"'
268268
env:
269-
PYTHON_VERSION: 3.10
269+
PYTHON_VERSION: 3.11
270270
- name: Download previous benchmark data
271271
uses: actions/cache@v4
272272
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)