Skip to content

Commit 456cfc7

Browse files
Merge pull request #200 from scikit-hep/eduardo-rm-py3.9
Remove support for old Python 3.9
2 parents 8c30a5b + ab15252 commit 456cfc7

10 files changed

Lines changed: 140 additions & 136 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
os:
3232
- ubuntu-latest
3333
python-version:
34-
- "3.9"
34+
- "3.10"
3535
- "3.12"
3636
- "3.13"
3737
include:
3838
- os: windows-latest
39-
python-version: "3.9"
40-
- os: macos-13
41-
python-version: "3.9"
39+
python-version: "3.10"
40+
- os: macos-15-intel
41+
python-version: "3.10"
4242
- os: macos-latest
4343
python-version: "3.12" # old versions not supported
4444
name: Check Python ${{ matrix.python-version }} ${{ matrix.os }}
@@ -60,7 +60,7 @@ jobs:
6060
run: python -m pytest --doctest-modules --cov=hepstats --cov-report=xml -n auto
6161

6262
- name: Upload coverage to Codecov
63-
if: matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest'
63+
if: matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'
6464
uses: codecov/codecov-action@v6
6565
with:
6666
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
@@ -93,10 +93,10 @@ jobs:
9393
with:
9494
fetch-depth: 0
9595

96-
- name: Setup Python 3.9
96+
- name: Setup Python 3.13
9797
uses: actions/setup-python@v6
9898
with:
99-
python-version: 3.9
99+
python-version: 3.13
100100

101101
- name: Install dependencies
102102
run: |

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ repos:
5454
rev: v3.21.2
5555
hooks:
5656
- id: pyupgrade
57-
args: [ --py39-plus ]
57+
args: [ --py310-plus ]
5858

5959
- repo: https://github.com/asottile/setup-cfg-fmt
6060
rev: v3.2.0
@@ -69,7 +69,7 @@ repos:
6969

7070
- id: nbqa-pyupgrade
7171
additional_dependencies: [ pyupgrade ]
72-
args: [ --py39-plus ]
72+
args: [ --py310-plus ]
7373

7474

7575
- repo: https://github.com/roy-ht/pre-commit-jupyter

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Changelog
44
main
55
*************
66

7+
* Drop support for Python 3.9.
8+
79
Version 0.9.2
810
**************
911

0 commit comments

Comments
 (0)