Skip to content

Commit

Permalink
chore: Python 3.11 (#448)
Browse files Browse the repository at this point in the history
* chore: Python 3.11

Signed-off-by: Henry Schreiner <[email protected]>

* chore: scipy and iminuit are not 3.11 ready yet

Signed-off-by: Henry Schreiner <[email protected]>

Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored Sep 20, 2022
1 parent eb54bbf commit 89dce29
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11-dev"
name: Check Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
Expand Down
17 changes: 11 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,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",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
Expand Down Expand Up @@ -58,8 +59,8 @@ mpl = [
plot = [
"matplotlib >=3.0",
"mplhep >=0.2.16",
"scipy >=1.4",
"iminuit >=2",
"scipy >=1.4; python_version<'3.11'",
"iminuit >=2; python_version<'3.11'",
]
test = [
"pytest >=6",
Expand All @@ -70,17 +71,17 @@ dev = [
"pytest-mpl >=0.12",
"matplotlib >=3.0",
"mplhep >=0.2.16",
"scipy >=1.4",
"iminuit >=2",
"scipy >=1.4; python_version<'3.11'",
"iminuit >=2; python_version<'3.11'",
"ipykernel",
]
docs = [
"pytest >=6",
"pytest-mpl >=0.12",
"matplotlib >=3.0",
"mplhep >=0.2.16",
"scipy >=1.4",
"iminuit >=2",
"scipy >=1.4; python_version<'3.11'",
"iminuit >=2; python_version<'3.11'",
"ipython_genutils",
"nbsphinx",
"Sphinx >=3.0.0",
Expand All @@ -106,6 +107,10 @@ xfail_strict = true
testpaths = ["tests"]
required_plugins = ["pytest-mpl"]
log_cli_level = "DEBUG"
filterwarnings = [
"error",
"ignore::matplotlib._api.deprecation.MatplotlibDeprecationWarning"
]

[tool.nbqa.mutate]
pyupgrade = 1
Expand Down

0 comments on commit 89dce29

Please sign in to comment.