Skip to content

Commit b2e4624

Browse files
clatapieRobPasMue
andauthored
maint: supporting Python 3.12 and dropping support for 3.8 and 3.9 (#343)
Co-authored-by: Roberto Pastor Muela <[email protected]>
1 parent 5be173a commit b2e4624

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

.github/workflows/ci_cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
strategy:
5656
fail-fast: false
5757
matrix:
58-
python-version: ['3.8', '3.9', '3.10', '3.11']
58+
python-version: ['3.10', '3.11', '3.12']
5959

6060
steps:
6161
- name: Build wheelhouse and perform smoke test
@@ -76,7 +76,7 @@ jobs:
7676
fail-fast: false
7777
matrix:
7878
os: [windows-latest, macos-latest]
79-
python-version: ['3.8', '3.9', '3.10', '3.11']
79+
python-version: ['3.10', '3.11', '3.12']
8080

8181
steps:
8282
- name: Build wheelhouse and perform smoke test

_package/pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "pyconverter-generatedcommands"
88
version = "0.1.dev0"
99
description = "Documentation."
1010
readme = "README.rst"
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.10,<4"
1212
license = {file = "LICENSE"}
1313
authors = [
1414
{name = "ANSYS, Inc.", email = "[email protected]"},
@@ -21,10 +21,9 @@ classifiers = [
2121
"Development Status :: 4 - Beta",
2222
"License :: OSI Approved :: MIT License",
2323
"Operating System :: OS Independent",
24-
"Programming Language :: Python :: 3.8",
25-
"Programming Language :: Python :: 3.9",
2624
"Programming Language :: Python :: 3.10",
2725
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
2827
]
2928

3029
dependencies = [

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "pyconverter-xml2py"
88
version = "0.3.dev0"
99
description = "PyConverter-XML2Py converter."
1010
readme = "README.rst"
11-
requires-python = ">=3.8"
11+
requires-python = ">=3.10,<4"
1212
license = {file = "LICENSE"}
1313
authors = [
1414
{name = "ANSYS, Inc.", email = "[email protected]"},
@@ -20,19 +20,17 @@ classifiers = [
2020
"Development Status :: 4 - Beta",
2121
"License :: OSI Approved :: MIT License",
2222
"Operating System :: OS Independent",
23-
"Programming Language :: Python :: 3.8",
24-
"Programming Language :: Python :: 3.9",
2523
"Programming Language :: Python :: 3.10",
2624
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
2726
]
2827
dependencies = [
2928
"click>=7.0,<9.0.0",
3029
"importlib-metadata>=4.0",
3130
"pygithub>=1.59.1",
3231
"inflect>=7.0.0",
3332
"lxml>=4.9.3",
34-
"numpy>=1.14.0,<1.25.0; python_version<'3.9'",
35-
"numpy>=1.14.0; python_version>='3.9'",
33+
"numpy>=1.14.0",
3634
"py-asciimath==0.3.0",
3735
"pylatexenc==2.10",
3836
"pyyaml>=5.1.0",

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
[tox]
22
description = Default tox environments list
33
envlist =
4-
style,{py38,py39,py310,py311}{,-coverage},doc
4+
style,{py310,py311,py312}{,-coverage},doc
55
skip_missing_interpreters = true
66
isolated_build = true
77
isolated_build_env = build
88

99
[testenv]
1010
description = Checks for project unit tests and coverage (if desired)
1111
basepython =
12-
py38: python3.8
13-
py39: python3.9
1412
py310: python3.10
1513
py311: python3.11
14+
py312: python3.12
1615
py: python3
1716
{style,reformat,doc}: python3
1817
setenv =

0 commit comments

Comments
 (0)