Skip to content

Commit 9491492

Browse files
ricardoV94michaelosthege
authored andcommitted
Drop Python 3.7 and start testing on 3.10
Tests were redistributed between Python versions such that all of 3.8, 3.9, 3.10 are covered. The exact `mkl-service` version was unpinned and `mkl` was removed because the combination of pinned versions didn't support Python 3.10. The `mkl` package is already a dependency of `mkl-service` and because `mkl-service` specifies tight version limits for `mkl`, we shouldn't pin it ourselves. Closes pymc-devs#5209
1 parent 0a7a4d2 commit 9491492

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
matrix:
3535
os: [ubuntu-20.04]
3636
floatx: [float64]
37-
python-version: ["3.7"]
37+
python-version: ["3.10"]
3838
test-subset:
3939
- |
4040
pymc/tests/test_util.py
@@ -354,7 +354,7 @@ jobs:
354354
matrix:
355355
os: [windows-latest]
356356
floatx: [float32]
357-
python-version: ["3.8"]
357+
python-version: ["3.10"]
358358
test-subset:
359359
- pymc/tests/test_sampling.py pymc/tests/test_ode.py
360360
fail-fast: false

conda-envs/windows-environment-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ dependencies:
1414
- fastprogress>=0.2.0
1515
- h5py>=2.7
1616
- libpython
17-
- mkl==2020.4
18-
- mkl-service==2.3.0
17+
- mkl-service>=2.3.0
1918
- m2w64-toolchain
2019
- numpy>=1.15.0
2120
- pandas>=0.24.0

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import os
1615
import re
1716

1817
from codecs import open
19-
from datetime import datetime, timezone
2018
from os.path import dirname, join, realpath
2119

2220
from setuptools import find_packages, setup
@@ -31,9 +29,9 @@
3129
"Development Status :: 5 - Production/Stable",
3230
"Programming Language :: Python",
3331
"Programming Language :: Python :: 3",
34-
"Programming Language :: Python :: 3.7",
3532
"Programming Language :: Python :: 3.8",
3633
"Programming Language :: Python :: 3.9",
34+
"Programming Language :: Python :: 3.10",
3735
"License :: OSI Approved :: Apache Software License",
3836
"Intended Audience :: Science/Research",
3937
"Topic :: Scientific/Engineering",
@@ -86,7 +84,7 @@ def get_version():
8684
# package_data={'docs': ['*']},
8785
include_package_data=True,
8886
classifiers=classifiers,
89-
python_requires=">=3.7",
87+
python_requires=">=3.8",
9088
install_requires=install_reqs,
9189
tests_require=test_reqs,
9290
)

0 commit comments

Comments
 (0)