Skip to content

Commit cbed58e

Browse files
authored
Merge pull request #112 from scikit-hep/py311
2 parents 030e2ee + c3c5718 commit cbed58e

File tree

5 files changed

+23
-14
lines changed

5 files changed

+23
-14
lines changed

.github/workflows/main.yml

+7-7
Original file line numberDiff line numberDiff 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
@@ -63,7 +63,7 @@ jobs:
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
@@ -97,7 +97,7 @@ jobs:
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]

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff 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
@@ -67,7 +67,7 @@ repos:
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

.readthedocs.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ version: 2
77
sphinx:
88
configuration: docs/conf.py
99

10+
build:
11+
os: ubuntu-22.04
12+
tools:
13+
python: "3.11"
14+
1015
python:
11-
version: "3"
1216
install:
1317
- method: pip
1418
path: .

CHANGELOG.rst

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Changelog
44
master
55
******
66

7+
Version 0.7.0
8+
*************
9+
10+
* Add support for Python 3.11, drop support for Python 3.7
11+
712
Version 0.6.1
813
*************
914

setup.cfg

+3-3
Original file line numberDiff line numberDiff 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
4747
package_dir =
4848
= src
4949

@@ -52,7 +52,7 @@ where = src
5252

5353
[options.extras_require]
5454
dev =
55-
black==19.10b0
55+
black
5656
zfit
5757
docs =
5858
matplotlib

0 commit comments

Comments
 (0)