File tree Expand file tree Collapse file tree 5 files changed +23
-14
lines changed
Expand file tree Collapse file tree 5 files changed +23
-14
lines changed Original file line number Diff line number Diff line change @@ -31,19 +31,19 @@ jobs:
3131 os :
3232 - ubuntu-latest
3333 python-version :
34- - " 3.7"
3534 - " 3.8"
3635 - " 3.9"
3736 - " 3.10"
37+ - " 3.11"
3838 include :
3939 - os : windows-latest
40- python-version : " 3.7 "
40+ python-version : " 3.8 "
4141 - os : windows-latest
42- python-version : " 3.10 "
42+ python-version : " 3.11 "
4343 - os : macos-latest
44- python-version : " 3.7 "
44+ python-version : " 3.8 "
4545 - os : macos-latest
46- python-version : " 3.10 "
46+ python-version : " 3.11 "
4747 name : Check Python ${{ matrix.python-version }} ${{ matrix.os }}
4848 steps :
4949 - uses : actions/checkout@v3
6363 run : python -m pytest --doctest-modules --cov=hepstats --cov-report=xml -n4
6464
6565 - name : Upload coverage to Codecov
66- if : matrix.python-version == '3.10 ' && matrix.os == 'ubuntu-latest'
66+ if : matrix.python-version == '3.11 ' && matrix.os == 'ubuntu-latest'
6767 uses : codecov/codecov-action@v3
6868 with :
6969 token : ${{ secrets.CODECOV_TOKEN }} # technically not needed, but prevents failures: https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
9797 fetch-depth : 0
9898 - uses : actions/setup-python@v4
9999 with :
100- python-version : " 3.10 "
100+ python-version : " 3.11 "
101101 - name : Install dependencies
102102 run : |
103103 pip install -U -q -e .[docs]
Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ repos:
5050 rev : v3.7.0
5151 hooks :
5252 - id : pyupgrade
53- args : [ --py37 -plus ]
53+ args : [ --py38 -plus ]
5454
5555 - repo : https://github.com/asottile/setup-cfg-fmt
5656 rev : v2.3.0
5757 hooks :
5858 - id : setup-cfg-fmt
59- args : [ --max-py-version=3.10 , --include-version-classifiers ]
59+ args : [ --max-py-version=3.11 , --include-version-classifiers ]
6060
6161 # Notebook formatting
6262 - repo : https://github.com/nbQA-dev/nbQA
6767
6868 - id : nbqa-pyupgrade
6969 additional_dependencies : [ pyupgrade==2.7.4 ]
70- args : [ --py37 -plus ]
70+ args : [ --py38 -plus ]
7171
7272
7373 - repo : https://github.com/roy-ht/pre-commit-jupyter
Original file line number Diff line number Diff line change @@ -7,8 +7,12 @@ version: 2
77sphinx :
88 configuration : docs/conf.py
99
10+ build :
11+ os : ubuntu-22.04
12+ tools :
13+ python : " 3.11"
14+
1015python :
11- version : " 3"
1216 install :
1317 - method : pip
1418 path : .
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ Changelog
44master
55******
66
7+ Version 0.7.0
8+ *************
9+
10+ * Add support for Python 3.11, drop support for Python 3.7
11+
712Version 0.6.1
813*************
914
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ classifiers =
2323 Programming Language :: Python
2424 Programming Language :: Python :: 3
2525 Programming Language :: Python :: 3 :: Only
26- Programming Language :: Python :: 3.7
2726 Programming Language :: Python :: 3.8
2827 Programming Language :: Python :: 3.9
2928 Programming Language :: Python :: 3.10
29+ Programming Language :: Python :: 3.11
3030 Topic :: Scientific/Engineering
3131 Topic :: Scientific/Engineering :: Information Analysis
3232 Topic :: Scientific/Engineering :: Mathematics
@@ -43,7 +43,7 @@ install_requires =
4343 scipy
4444 tqdm
4545 uhi
46- python_requires = >=3.7
46+ python_requires = >=3.8
4747package_dir =
4848 = src
4949
@@ -52,7 +52,7 @@ where = src
5252
5353[options.extras_require]
5454dev =
55- black ==19.10b0
55+ black
5656 zfit
5757docs =
5858 matplotlib
You can’t perform that action at this time.
0 commit comments