From bfa978a36af59e23c95f5d30ed0a212947f5edb1 Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Sat, 7 Dec 2024 13:44:54 -0500 Subject: [PATCH 1/3] Support 3.13 in test on pr and matrix test --- .github/workflows/matrix-and-codecov-on-merge-to-main.yml | 4 ++-- .github/workflows/tests-on-pr.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/matrix-and-codecov-on-merge-to-main.yml b/.github/workflows/matrix-and-codecov-on-merge-to-main.yml index b953aba..0cfe6cc 100644 --- a/.github/workflows/matrix-and-codecov-on-merge-to-main.yml +++ b/.github/workflows/matrix-and-codecov-on-merge-to-main.yml @@ -21,9 +21,9 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-13, macos-14] - python-version: ["3.11", "3.12"] + python-version: ["3.11", "3.12", "3.13"] env: - LATEST_PYTHON_VERSION: "3.12" + LATEST_PYTHON_VERSION: "3.13" steps: - name: Check out diffpy.labpdfproc uses: actions/checkout@v4 diff --git a/.github/workflows/tests-on-pr.yml b/.github/workflows/tests-on-pr.yml index 319c9cd..16fc017 100644 --- a/.github/workflows/tests-on-pr.yml +++ b/.github/workflows/tests-on-pr.yml @@ -25,7 +25,7 @@ jobs: auto-update-conda: true environment-file: environment.yml auto-activate-base: false - python-version: 3.12 + python-version: 3.13 - name: Conda config run: >- From 0f0e0fe99f00c90de97d57f484196ad140f5dae4 Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Sat, 7 Dec 2024 13:45:09 -0500 Subject: [PATCH 2/3] Support py313 in pyproject.toml --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 98e2cbe..dfc0458 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ maintainers = [ description = "Tools for processing x-ray powder diffraction data from laboratory sources." keywords = ['powder xrd', 'absorption correction', 'pdf', 'diffpy'] readme = "README.rst" -requires-python = ">=3.11, <3.13" +requires-python = ">=3.11, <3.14" classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', @@ -27,6 +27,7 @@ classifiers = [ 'Operating System :: Unix', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Topic :: Scientific/Engineering :: Physics', 'Topic :: Scientific/Engineering :: Chemistry', ] From 8c2b1213259a5d66087b9812a4852fa43962d69c Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Sat, 7 Dec 2024 13:45:17 -0500 Subject: [PATCH 3/3] Add news --- news/py313.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 news/py313.rst diff --git a/news/py313.rst b/news/py313.rst new file mode 100644 index 0000000..524608e --- /dev/null +++ b/news/py313.rst @@ -0,0 +1,23 @@ +**Added:** + +* Python 3.13 support + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +*