Skip to content

Commit f74e8d8

Browse files
authored
Bump max supported Python version to 3.13 (#443)
Bumps max supported Python version to 3.13 On test workflow swaps the requirement files to use with the min and max supported Python versions. Consequently now tests the minimum supported pandas 1.5 and numpy 1.26 with the minimum supported Python version (currently 3.10).
1 parent 1e54cb8 commit f74e8d8

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-python@v5
1717
with:
18-
python-version: "3.12"
18+
python-version: "3.13"
1919
- name: Install dependencies
2020
run: |
2121
pip install -e .[dev] -c etc/requirements_dev.txt

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-latest, windows-latest, macos-latest]
19-
python-version: ["3.10", "3.12"]
19+
python-version: ["3.10", "3.13"]
2020
include:
2121
- python-version: "3.10"
22-
requirements_file: requirements_dev.txt
23-
- python-version: "3.12"
2422
requirements_file: requirements_minpandas.txt
23+
- python-version: "3.13"
24+
requirements_file: requirements_dev.txt
2525

2626
steps:
2727
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Set up Python 3.12
12+
- name: Set up Python 3.13
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: "3.12"
15+
python-version: "3.13"
1616

1717
- name: Install build dependencies
1818
run: |

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ repos:
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
88
- repo: https://github.com/pycqa/flake8
9-
rev: 6.1.0
9+
rev: 7.1.1
1010
hooks:
1111
- id: flake8
1212
- repo: https://github.com/psf/black
13-
rev: 23.7.0
13+
rev: 24.10.0
1414
hooks:
1515
- id: black
1616
language_version: python

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers = [
2020
"Programming Language :: Python :: 3.10",
2121
"Programming Language :: Python :: 3.11",
2222
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2324
"License :: OSI Approved :: Apache Software License",
2425
"Intended Audience :: Science/Research",
2526
"Topic :: Scientific/Engineering",
@@ -28,7 +29,7 @@ classifiers = [
2829
]
2930
dependencies = [
3031
"numpy",
31-
"pandas>=1.5",
32+
"pandas",
3233
"pyluach",
3334
"toolz",
3435
"tzdata",
@@ -63,4 +64,4 @@ write_to = "exchange_calendars/_version.py"
6364

6465
[tool.black]
6566
line-length = 88
66-
target-version = ['py310', 'py311', 'py312']
67+
target-version = ['py310', 'py311', 'py312', 'py313']

0 commit comments

Comments
 (0)