File tree 5 files changed +23
-14
lines changed
5 files changed +23
-14
lines changed Original file line number Diff line number Diff line change @@ -31,19 +31,19 @@ jobs:
31
31
os :
32
32
- ubuntu-latest
33
33
python-version :
34
- - " 3.7"
35
34
- " 3.8"
36
35
- " 3.9"
37
36
- " 3.10"
37
+ - " 3.11"
38
38
include :
39
39
- os : windows-latest
40
- python-version : " 3.7 "
40
+ python-version : " 3.8 "
41
41
- os : windows-latest
42
- python-version : " 3.10 "
42
+ python-version : " 3.11 "
43
43
- os : macos-latest
44
- python-version : " 3.7 "
44
+ python-version : " 3.8 "
45
45
- os : macos-latest
46
- python-version : " 3.10 "
46
+ python-version : " 3.11 "
47
47
name : Check Python ${{ matrix.python-version }} ${{ matrix.os }}
48
48
steps :
49
49
- uses : actions/checkout@v3
63
63
run : python -m pytest --doctest-modules --cov=hepstats --cov-report=xml -n4
64
64
65
65
- 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'
67
67
uses : codecov/codecov-action@v3
68
68
with :
69
69
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
97
97
fetch-depth : 0
98
98
- uses : actions/setup-python@v4
99
99
with :
100
- python-version : " 3.10 "
100
+ python-version : " 3.11 "
101
101
- name : Install dependencies
102
102
run : |
103
103
pip install -U -q -e .[docs]
Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ repos:
50
50
rev : v3.7.0
51
51
hooks :
52
52
- id : pyupgrade
53
- args : [ --py37 -plus ]
53
+ args : [ --py38 -plus ]
54
54
55
55
- repo : https://github.com/asottile/setup-cfg-fmt
56
56
rev : v2.3.0
57
57
hooks :
58
58
- id : setup-cfg-fmt
59
- args : [ --max-py-version=3.10 , --include-version-classifiers ]
59
+ args : [ --max-py-version=3.11 , --include-version-classifiers ]
60
60
61
61
# Notebook formatting
62
62
- repo : https://github.com/nbQA-dev/nbQA
67
67
68
68
- id : nbqa-pyupgrade
69
69
additional_dependencies : [ pyupgrade==2.7.4 ]
70
- args : [ --py37 -plus ]
70
+ args : [ --py38 -plus ]
71
71
72
72
73
73
- 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
7
7
sphinx :
8
8
configuration : docs/conf.py
9
9
10
+ build :
11
+ os : ubuntu-22.04
12
+ tools :
13
+ python : " 3.11"
14
+
10
15
python :
11
- version : " 3"
12
16
install :
13
17
- method : pip
14
18
path : .
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ Changelog
4
4
master
5
5
******
6
6
7
+ Version 0.7.0
8
+ *************
9
+
10
+ * Add support for Python 3.11, drop support for Python 3.7
11
+
7
12
Version 0.6.1
8
13
*************
9
14
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ classifiers =
23
23
Programming Language :: Python
24
24
Programming Language :: Python :: 3
25
25
Programming Language :: Python :: 3 :: Only
26
- Programming Language :: Python :: 3.7
27
26
Programming Language :: Python :: 3.8
28
27
Programming Language :: Python :: 3.9
29
28
Programming Language :: Python :: 3.10
29
+ Programming Language :: Python :: 3.11
30
30
Topic :: Scientific/Engineering
31
31
Topic :: Scientific/Engineering :: Information Analysis
32
32
Topic :: Scientific/Engineering :: Mathematics
@@ -43,7 +43,7 @@ install_requires =
43
43
scipy
44
44
tqdm
45
45
uhi
46
- python_requires = >=3.7
46
+ python_requires = >=3.8
47
47
package_dir =
48
48
= src
49
49
@@ -52,7 +52,7 @@ where = src
52
52
53
53
[options.extras_require]
54
54
dev =
55
- black ==19.10b0
55
+ black
56
56
zfit
57
57
docs =
58
58
matplotlib
You can’t perform that action at this time.
0 commit comments