From 5af6af3fed8b16b1a6350835405f5cf322cba2a7 Mon Sep 17 00:00:00 2001 From: John Halloran Date: Fri, 14 Aug 2026 22:02:42 -0700 Subject: [PATCH] chore: Add support for Python 3.14 and remove support for 3.11 --- cookiecutter.json | 4 ++-- news/rem-311-add-314.rst | 23 +++++++++++++++++++++++ pyproject.toml | 4 ++-- 3 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 news/rem-311-add-314.rst diff --git a/cookiecutter.json b/cookiecutter.json index 46a6391..a1d6c1e 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -13,8 +13,8 @@ "package_dir_name": "diffpy.stretched_nmf", "project_short_description": "A python package implementing the stretched NMF algorithm.", "project_keywords": "diffraction, PDF, x-ray, mapping", - "minimum_supported_python_version": "3.11", - "maximum_supported_python_version": "3.13", + "minimum_supported_python_version": "3.12", + "maximum_supported_python_version": "3.14", "project_needs_c_code_compiled": "No", "project_has_gui_tests": "No" } diff --git a/news/rem-311-add-314.rst b/news/rem-311-add-314.rst new file mode 100644 index 0000000..761cf52 --- /dev/null +++ b/news/rem-311-add-314.rst @@ -0,0 +1,23 @@ +**Added:** + +* Add support for Python 3.14 + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* End support for Python 3.11 + +**Fixed:** + +* + +**Security:** + +* diff --git a/pyproject.toml b/pyproject.toml index bc0c0fb..0a18f3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ maintainers = [ description = "A python package implementing the stretched NMF algorithm." keywords = ['diffraction', 'PDF', 'x-ray', 'mapping'] readme = "README.rst" -requires-python = ">=3.11, <3.14" +requires-python = ">=3.12, <3.15" classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', @@ -25,9 +25,9 @@ classifiers = [ 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: Unix', - 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Topic :: Scientific/Engineering :: Physics', 'Topic :: Scientific/Engineering :: Chemistry', ]