From 135f2c6374bff60b914f4bbfc771b97535163db3 Mon Sep 17 00:00:00 2001 From: Caden Myers Date: Mon, 26 Oct 2026 17:23:19 -0400 Subject: [PATCH] build: drop Python 3.11 support diffpy.srfit 3.4.0 requires Python >=3.12, so the 3.11 CI jobs cannot resolve it, and main CI is red on 3.11. Update requires-python, the classifiers and cookiecutter.json. Python 3.14 waits on a diffpy.srreal build for it. Part of #9. Co-Authored-By: Claude Opus 5.5 --- cookiecutter.json | 2 +- news/rm-py311.rst | 23 +++++++++++++++++++++++ pyproject.toml | 3 +-- 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 news/rm-py311.rst diff --git a/cookiecutter.json b/cookiecutter.json index f5a6d11..9205264 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -11,7 +11,7 @@ "package_dir_name": "diffpy.cmipdf", "project_short_description": "The code of the PDF pack of the diffpy.cmi package.", "project_keywords": "diffraction, PDF, X-ray, neutron", - "minimum_supported_python_version": "3.11", + "minimum_supported_python_version": "3.12", "maximum_supported_python_version": "3.13", "project_needs_c_code_compiled": "No", "project_has_gui_tests": "No" diff --git a/news/rm-py311.rst b/news/rm-py311.rst new file mode 100644 index 0000000..b9d7c83 --- /dev/null +++ b/news/rm-py311.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* Support for Python 3.11. ``diffpy.srfit`` 3.4.0, which diffpy.cmipdf requires, needs Python 3.12 or later. + +**Fixed:** + +* + +**Security:** + +* diff --git a/pyproject.toml b/pyproject.toml index 9419418..5f23a3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ maintainers = [ description = "The code of the PDF pack of the diffpy.cmi package." keywords = ['diffraction', 'PDF', 'X-ray', 'neutron'] readme = "README.rst" -requires-python = ">=3.11, <3.14" +requires-python = ">=3.12, <3.14" classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', @@ -25,7 +25,6 @@ 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', 'Topic :: Scientific/Engineering :: Physics',