Skip to content

Commit

Permalink
build: make the package to support Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofavoritobi committed Sep 25, 2023
1 parent 507b32a commit 065785f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, "3.10"]
python-version: [3.8, 3.9, "3.10", "3.11"]

timeout-minutes: 30

Expand Down
7 changes: 4 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ classifiers = [
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering'
]

Expand All @@ -38,7 +39,7 @@ classifiers = [
"Pull Requests" = "https://github.com/bancaditalia/black-it/pulls"

[tool.poetry.dependencies]
python = ">=3.8,<3.11"
python = ">=3.8,<3.12"
ipywidgets = ">=8.0.0,<8.0.5"
matplotlib = "^3.7.3"
numpy = ">=1.24.4,<1.25.0"
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
isolated_build = True
envlist = bandit, safety, check-copyright, black-check, vulture, mypy, py3{8,9,10}, docs
envlist = bandit, safety, check-copyright, black-check, vulture, mypy, py3{8,9,10,11}, docs

[tox:.package]
# note tox will use the same python version as under what tox is installed to package
Expand Down

0 comments on commit 065785f

Please sign in to comment.