From d64951169bf98479074fe4ba706289c5c5e7ed3e Mon Sep 17 00:00:00 2001 From: Caden Myers Date: Mon, 26 Oct 2026 13:40:21 -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. Update requires-python, the classifiers and cookiecutter.json. Python 3.14 waits on a diffpy.srreal build for it. Part of #5. 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 ffcdecf..bf36378 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -13,7 +13,7 @@ "package_dir_name": "diffpy.cmistructure", "project_short_description": "diffpy.cmi package for doing refinements with structure objects", "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..f05088e --- /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.cmistructure requires, needs Python 3.12 or later. + +**Fixed:** + +* + +**Security:** + +* diff --git a/pyproject.toml b/pyproject.toml index f5fc4d9..ed913a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ maintainers = [ description = "diffpy.cmi package for doing refinements with structure objects" 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',