提交 df999e20 authored 作者: Virgile Andreani's avatar Virgile Andreani 提交者: Ricardo Vieira

Drop Python 3.10

上级 b6a9b68e
......@@ -54,7 +54,7 @@ jobs:
if: ${{ needs.changes.outputs.changes == 'true' }}
strategy:
matrix:
python-version: ["3.10", "3.13"]
python-version: ["3.11", "3.13"]
steps:
- uses: actions/checkout@v5
with:
......@@ -75,7 +75,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10", "3.13"]
python-version: ["3.11", "3.13"]
numpy-version: ["~=1.26.0", ">=2.0"]
fast-compile: [0, 1]
float32: [0, 1]
......@@ -92,9 +92,9 @@ jobs:
- "tests/tensor/test_basic.py tests/tensor/test_inplace.py tests/tensor/conv"
- "tests/tensor/test_blas.py tests/tensor/test_elemwise.py tests/tensor/test_math_scipy.py"
exclude:
- python-version: "3.10"
- python-version: "3.11"
fast-compile: 1
- python-version: "3.10"
- python-version: "3.11"
float32: 1
- fast-compile: 1
float32: 1
......@@ -117,7 +117,7 @@ jobs:
install-xarray: 0
- install-numba: 1
os: "ubuntu-latest"
python-version: "3.10"
python-version: "3.11"
numpy-version: "~=2.1.0"
fast-compile: 0
float32: 0
......@@ -138,7 +138,7 @@ jobs:
part: "tests/link/numba/test_slinalg.py"
- install-jax: 1
os: "ubuntu-latest"
python-version: "3.10"
python-version: "3.11"
numpy-version: ">=2.0"
fast-compile: 0
float32: 0
......@@ -152,7 +152,7 @@ jobs:
part: "tests/link/jax"
- install-torch: 1
os: "ubuntu-latest"
python-version: "3.10"
python-version: "3.11"
numpy-version: ">=2.0"
fast-compile: 0
float32: 0
......@@ -265,7 +265,7 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: mamba-org/setup-micromamba@v2
with:
environment-name: pytensor-test
......@@ -281,7 +281,7 @@ jobs:
python -c 'import pytensor; print(pytensor.config.__str__(print_doc=False))'
python -c 'import pytensor; assert pytensor.config.blas__ldflags != "", "Blas flags are empty"'
env:
PYTHON_VERSION: 3.10
PYTHON_VERSION: 3.11
- name: Download previous benchmark data
uses: actions/cache@v4
with:
......
......@@ -3,7 +3,7 @@ channels:
- conda-forge
- nodefaults
dependencies:
- python=3.10
- python=3.11
- gcc_linux-64
- gxx_linux-64
- numpy
......
......@@ -7,7 +7,7 @@ name: pytensor-dev
channels:
- conda-forge
dependencies:
- python>=3.10
- python>=3.11
- compilers
- numpy>=1.17.0
- scipy>=1,<2
......
......@@ -7,7 +7,7 @@ name: pytensor-dev
channels:
- conda-forge
dependencies:
- python>=3.10
- python>=3.11
- compilers
- numpy>=1.17.0
- scipy>=1,<2
......
......@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "pytensor"
dynamic = ['version']
requires-python = ">=3.10,<3.14"
requires-python = ">=3.11,<3.14"
authors = [{ name = "pymc-devs", email = "pymc.devs@gmail.com" }]
description = "Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs."
readme = "README.rst"
......@@ -30,7 +30,6 @@ classifiers = [
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
......@@ -169,7 +168,7 @@ lines-after-imports = 2
[tool.mypy]
python_version = "3.10"
python_version = "3.11"
ignore_missing_imports = true
strict_equality = true
warn_redundant_casts = true
......
......@@ -21,10 +21,10 @@ jobs=$(gh api /repos/$owner/$repo/actions/runs/$latest_id/jobs --jq '
| map({name: .name, run_id: .run_id, id: .id, started_at: .started_at, completed_at: .completed_at})
')
# Skip 3.10, float32, and Benchmark tests
# Skip oldest supported Python version, float32, and Benchmark tests
function skip_job() {
name=$1
if [[ $name == *"py3.10"* ]]; then
if [[ $name == *"py3.11"* ]]; then
return 0
fi
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论