Skip to content

Commit 8f71834

Browse files
authored
feat: add support for py3.13 (#244)
* feat: add support for py3.13 * tab align
1 parent 5e5cc7f commit 8f71834

File tree

4 files changed

+31
-7
lines changed

4 files changed

+31
-7
lines changed

Diff for: .github/workflows/matrix-and-codecov-on-merge-to-main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
24-
python-version: ["3.11", "3.12"]
24+
python-version: ["3.11", "3.12", "3.13"]
2525
env:
26-
LATEST_PYTHON_VERSION: "3.12"
26+
LATEST_PYTHON_VERSION: "3.13"
2727
steps:
2828
- name: Check out diffpy.pdfgui
2929
uses: actions/checkout@v4
@@ -46,7 +46,7 @@ jobs:
4646
run: |
4747
conda install --file requirements/test.txt
4848
conda install wxpython diffpy.utils matplotlib-base
49-
pip install diffpy.pdffit2==1.4.4rc6
49+
pip install diffpy.pdffit2==1.5.0rc1
5050
python -m pip install . --no-deps
5151
5252
- name: Start Xvfb for ubuntu-latest only

Diff for: .github/workflows/tests-on-pr.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
auto-update-conda: true
2626
environment-file: environment.yml
2727
auto-activate-base: false
28-
python-version: 3.12
28+
python-version: 3.13
2929

3030
- name: Conda config
3131
run: >-
@@ -35,8 +35,8 @@ jobs:
3535
- name: Install diffpy.pdfgui and requirements
3636
run: |
3737
conda install --file requirements/test.txt
38-
conda install wxpython diffpy.utils matplotlib-base gsl
39-
pip install diffpy.pdffit2==1.4.4rc4
38+
conda install wxpython diffpy.utils matplotlib-base
39+
pip install diffpy.pdffit2==1.5.0rc1
4040
python -m pip install . --no-deps
4141
4242
- name: Start Xvfb

Diff for: news/3.13.rst

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* Added support for python 3.13
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

Diff for: pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ maintainers = [
1414
description = "GUI for PDF simulation and structure refinement."
1515
keywords = ['PDF structure refinement GUI']
1616
readme = "README.rst"
17-
requires-python = ">=3.11, <3.13"
17+
requires-python = ">=3.11, <3.14"
1818
classifiers = [
1919
'Development Status :: 5 - Production/Stable',
2020
'Environment :: Console',
@@ -27,6 +27,7 @@ classifiers = [
2727
'Operating System :: Unix',
2828
'Programming Language :: Python :: 3.11',
2929
'Programming Language :: Python :: 3.12',
30+
'Programming Language :: Python :: 3.13',
3031
'Topic :: Scientific/Engineering :: Physics',
3132
'Topic :: Scientific/Engineering :: Chemistry',
3233
]

0 commit comments

Comments
 (0)