Skip to content

Commit 24030d8

Browse files
authored
temporarily force numpy<2, drop support for Python 3.13+ (#408)
Co-authored-by: viseshrp <[email protected]>
1 parent 35cfa51 commit 24030d8

File tree

8 files changed

+176
-736
lines changed

8 files changed

+176
-736
lines changed

.github/workflows/ci_cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717

1818
env:
1919
DOCUMENTATION_CNAME: 'dynamicreporting.docs.pyansys.com'
20-
MAIN_PYTHON_VERSION: '3.13'
20+
MAIN_PYTHON_VERSION: '3.12'
2121
PACKAGE_NAME: 'ansys-dynamicreporting-core'
2222
PACKAGE_NAMESPACE: 'ansys.dynamicreporting.core'
2323
ANSYS_VERSION: '261'
@@ -50,7 +50,7 @@ jobs:
5050
fail-fast: false
5151
matrix:
5252
os: [ ubuntu-latest, windows-latest ]
53-
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
53+
python-version: [ '3.10', '3.11', '3.12' ]
5454

5555
steps:
5656
- name: Checkout code
@@ -80,7 +80,7 @@ jobs:
8080
strategy:
8181
matrix:
8282
os: [ ubuntu-latest ]
83-
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
83+
python-version: [ '3.10', '3.11', '3.12' ]
8484
steps:
8585
- uses: actions/checkout@v5
8686

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency:
99

1010
env:
1111
DOCUMENTATION_CNAME: 'dynamicreporting.docs.pyansys.com'
12-
MAIN_PYTHON_VERSION: '3.13'
12+
MAIN_PYTHON_VERSION: '3.12'
1313
PACKAGE_NAME: 'ansys-dynamicreporting-core'
1414
PACKAGE_NAMESPACE: 'ansys.dynamicreporting.core'
1515

.github/workflows/nightly-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
DOCUMENTATION_CNAME: 'dynamicreporting.docs.pyansys.com'
10-
MAIN_PYTHON_VERSION: '3.13'
10+
MAIN_PYTHON_VERSION: '3.12'
1111

1212
concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
env:
9-
MAIN_PYTHON_VERSION: '3.13'
9+
MAIN_PYTHON_VERSION: '3.12'
1010
PACKAGE_NAME: 'ansys-dynamicreporting-core'
1111
PACKAGE_NAMESPACE: 'ansys.dynamicreporting.core'
1212
ANSYS_VERSION: '261'
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
os: [ ubuntu-latest ]
23-
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
23+
python-version: [ '3.10', '3.11', '3.12' ]
2424

2525
steps:
2626
- uses: actions/checkout@v5

.github/workflows/scan_sbom.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Security Scan
22

33
env:
4-
MAIN_PYTHON_VERSION: '3.13'
4+
MAIN_PYTHON_VERSION: '3.12'
55
PACKAGE_NAME: 'ansys-dynamicreporting-core'
66

77
on:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To reach the project support team, email `[email protected] <pyansys.core@a
6666

6767
Installation
6868
------------
69-
The ``pydynamicreporting`` package supports Python 3.10 through 3.13 on
69+
The ``pydynamicreporting`` package supports Python 3.10 through 3.12 on
7070
Windows and Linux. It is currently available on the PyPi
7171
`repository <https://pypi.org/project/ansys-dynamicreporting-core/>`_.
7272

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ maintainers = [
1111
]
1212
description = "Python interface to Ansys Dynamic Reporting"
1313
readme = "README.rst"
14-
requires-python = ">=3.10"
14+
requires-python = ">=3.10, <3.13"
1515
keywords = ["dynamicreporting", "pydynamicreporting", "pyansys", "ansys"]
1616
license = { text = "MIT" }
1717
classifiers = [
@@ -23,7 +23,6 @@ classifiers = [
2323
"Programming Language :: Python :: 3.10",
2424
"Programming Language :: Python :: 3.11",
2525
"Programming Language :: Python :: 3.12",
26-
"Programming Language :: Python :: 3.13",
2726
"Topic :: Software Development :: Libraries :: Python Modules",
2827
]
2928
dependencies = [
@@ -40,8 +39,7 @@ dependencies = [
4039
"djangorestframework~=3.15",
4140
"django-guardian~=2.4",
4241
"tzlocal~=5.0",
43-
'numpy>=1.23.5,<2; python_version < "3.13"',
44-
'numpy>=2.1; python_version >= "3.13"',
42+
"numpy>=1.23.5,<2",
4543
"python-pptx>=1.0.2",
4644
"pandas>=2.0",
4745
"statsmodels>=0.14",

uv.lock

Lines changed: 165 additions & 723 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)