Skip to content

Commit

Permalink
Add support for Python 3.10 (#653)
Browse files Browse the repository at this point in the history
* Add support for Python 3.10

* Add Python 3.10 classifier
  • Loading branch information
marvinpfoertner authored Feb 26, 2022
1 parent 7af755a commit 8a30f08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.8", "3.9"]
python: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 6 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers =
Operating System :: OS Independent
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10

[options]
zip_safe = False
Expand All @@ -34,11 +35,13 @@ package_dir =
# Dependencies of the project (semicolon/line-separated):
install_requires =
numpy>=1.20
numpy>=1.21.3; python_version>="3.10"
scipy>=1.4
scipy>=1.8.0; python_version>="3.10"
# The usage of test_requires is discouraged, see `Dependency Management` docs
# tests_require = pytest; pytest-cov
# Require a specific Python version, e.g. Python 2.7 or >= 3.6
python_requires = >=3.8
python_requires = >=3.8,<3.11

[options.packages.find]
where = src
Expand All @@ -52,7 +55,7 @@ exclude =

# Autodiff backends
jax =
jax[minimum-jaxlib]<0.3.2; platform_system!="Windows"
jax[cpu]<0.3.2; platform_system!="Windows"

# Problem zoo dependencies
zoo =
Expand All @@ -63,7 +66,7 @@ zoo =
# Calibration in the probabilistic linear solver
pls_calib =
GPy
# GPy can't be imported without matplolib.
# GPy can't be imported without matplotlib.
# This is and should not be a ProbNum dependency.
matplotlib

Expand Down

0 comments on commit 8a30f08

Please sign in to comment.