Skip to content

Commit daa2e4a

Browse files
committed
feat(#19): Make ThermOHL compatible with Python 3.12
- Update dependancies in order to be compatible with Python 3.12 Signed-off-by: SAINTIER Francois <[email protected]>
1 parent 20b128e commit daa2e4a

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/build-project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
matrix:
4141
os: [ubuntu-latest, windows-latest]
42-
python-version: ["3.9", "3.10", "3.11"]
42+
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
4343

4444
steps:
4545
- uses: actions/checkout@v4

.github/workflows/cd-pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os: [ ubuntu-latest, windows-latest ]
22-
python-version: [ "3.9", "3.10", "3.11" ]
22+
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
2323

2424
steps:
2525
- name: 📃 Checkout sources

.github/workflows/cd-test-pypi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ ubuntu-latest, windows-latest ]
23-
python-version: [ "3.9", "3.10", "3.11" ]
23+
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
2424

2525
steps:
2626
- name: 📃 Checkout sources

pyproject.toml

+6-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ version = "1.3.0.dev2"
1818
description = "Calculations relative to temperature and ampacity in overhead conductors."
1919
license = "MPL-2.0"
2020
readme = "README.md"
21-
requires-python = ">=3.9,<3.12"
21+
requires-python = ">=3.9,<3.13"
2222
classifiers = [
2323
"Intended Audience :: Science/Research",
2424
"Intended Audience :: Developers",
@@ -29,13 +29,15 @@ classifiers = [
2929
"Programming Language :: Python :: 3.9",
3030
"Programming Language :: Python :: 3.10",
3131
"Programming Language :: Python :: 3.11",
32+
"Programming Language :: Python :: 3.12",
3233
"Operating System :: OS Independent",
3334
]
3435
dependencies = [
35-
"numpy ~= 1.25.0",
36-
"pandas ~= 1.5.3",
36+
"numpy ~= 1.26.4",
37+
"pandas ~= 2.2.3",
3738
"scipy ~= 1.13.1",
38-
"pyyaml ~= 5.3.1",
39+
"pyyaml ~= 6.0.2",
40+
"setuptools"
3941
]
4042

4143
[project.optional-dependencies]

0 commit comments

Comments
 (0)