Skip to content

Commit

Permalink
✨Add Python 3.10 support (#977)
Browse files Browse the repository at this point in the history
* 🚇🧪 Add tests for python 3.10

* ⬆️ Raised max supported python version to <3.11

* ⬆️ Unpin setuptools

Using an old version of setuptools caused a lot of import errors in python 3.10
Pinning the version of setuptools goes back to the time when we still had c-extensions, so it is save to unpin it

* 🚧📚 Added change to changelog
  • Loading branch information
s-weigand authored Jan 29, 2022
1 parent 5bd49b6 commit 2f00cd1
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 28 deletions.
44 changes: 20 additions & 24 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
day: friday
time: "18:00"
timezone: Europe/Amsterdam
open-pull-requests-limit: 20
reviewers:
- jsnel
assignees:
- jsnel
ignore:
- dependency-name: setuptools
versions:
- "> 41.2"
- package-ecosystem: pip
directory: "/"
schedule:
interval: weekly
day: friday
time: "18:00"
timezone: Europe/Amsterdam
open-pull-requests-limit: 20
reviewers:
- jsnel
assignees:
- jsnel

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: friday
time: "18:00"
timezone: Europe/Amsterdam
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: friday
time: "18:00"
timezone: Europe/Amsterdam
2 changes: 1 addition & 1 deletion .github/workflows/CI_CD_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [3.8, 3.9]
python-version: [3.8, 3.9, "3.10"]

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### ✨ Features

- ✨ Python 3.10 support (#977)
- ✨ Add simple decay megacomplexes (#860)
- ✨ Feature: Generators (#866)

Expand Down
1 change: 0 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ rich==11.1.0
ruamel.yaml==0.17.20
scipy==1.7.3
sdtfile==2021.11.18
setuptools==41.2
tabulate==0.8.9
xarray==0.20.2

Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers =
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Chemistry
Topic :: Scientific/Engineering :: Physics
Expand All @@ -45,7 +46,7 @@ install_requires =
setuptools>=41.2
tabulate>=0.8.8
xarray!=0.20.0,!=0.20.1,!=0.21.0,>=0.16.2
python_requires = >=3.8, <3.10
python_requires = >=3.8, <3.11
setup_requires =
setuptools>=41.2
tests_require = pytest
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
minversion = 3.4.0
skipsdist = true
skip_missing_interpreters=true
envlist = py{38}, pre-commit, docs, docs-notebooks, docs-links
envlist = py{38,39,310}, pre-commit, docs, docs-notebooks, docs-links

[pytest]
; Uncomment the following lines to deactivate pyglotaran all plugins
Expand Down

0 comments on commit 2f00cd1

Please sign in to comment.