Skip to content

Commit b1b6dee

Browse files
committed
support python versions 3.11 and 3.12
1 parent a51f9b9 commit b1b6dee

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.github/workflows/pin_requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-latest, macos-latest, windows-latest]
13-
python-version: ["3.10", "3.11", "3.12"]
13+
python-version: ["3.11", "3.12"]
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v3

.github/workflows/pypi_main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
uses: actions/checkout@v3
1212
with:
1313
fetch-depth: 0
14-
- name: Set up Python 3.10
14+
- name: Set up Python 3.11
1515
uses: actions/setup-python@v4
1616
with:
17-
python-version: "3.10"
17+
python-version: "3.11"
1818
- name: Install Hatch
1919
run: pip install hatch
2020
- name: Build

.github/workflows/pypi_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
with:
1313
fetch-depth: 0
1414

15-
- name: Set up Python 3.10
15+
- name: Set up Python 3.11
1616
uses: actions/setup-python@v4
1717
with:
18-
python-version: "3.10"
18+
python-version: "3.11"
1919

2020
- name: Configure Git
2121
run: |

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ "ubuntu-latest", "macos-latest", "windows-latest"]
12-
python-version: [ "3.10", "3.11" ]
12+
python-version: [ "3.11", "3.12" ]
1313

1414
runs-on: ${{ matrix.os }}
1515
steps:

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ classifiers = [
1313
"Development Status :: 4 - Beta",
1414
"Intended Audience :: Science/Research",
1515
"Natural Language :: English",
16-
"Programming Language :: Python :: 3.9",
16+
"Programming Language :: Python :: 3.11",
17+
"Programming Language :: Python :: 3.12",
1718
]
18-
requires-python = ">3.9,<3.12"
19+
20+
requires-python = ">3.10,<3.13"
1921
dependencies = [
2022
"torch",
2123
"hdxrate",

0 commit comments

Comments
 (0)