diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index bcd78c3d..fc7816a0 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] name: 'Python ${{ matrix.python-version }}' diff --git a/docs/changelog.rst b/docs/changelog.rst index 0d7c8dbe..21c74cf7 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -11,10 +11,17 @@ Changelog 0.11.0 ====== +.. warning:: + + This release drops support for Python 3.8 which reached end-of-life + 2024-10-17 + * Depletion reader settings can be provided at construction - :pull:`516` * Support ``numpy`` 2.0 - :pull:`524` * Names of detectors to read can be provided at construction of the detector reader - :pull:`519` +* Drop Python 3.8 - :pull:`525` +* Support Python 3.12, 3.13 - :pull:`525` .. _v0.10.1: @@ -25,7 +32,7 @@ This is a bug fix release to fix installing the package. Users should experience no changes. Developer should note that the package has moved from a "flat-layout" to a "src-layout", where the code the the package has moved from ``serpentTools`` -to ``src/serpentTools`` +to ``src/serpentTools``Commit * Move from "flat-layout" to "src-layout" - :pull:`506` diff --git a/pyproject.toml b/pyproject.toml index 0d18953d..176cfcc0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ maintainers = [ ] description = "A suite of parsers designed to make interacting with Serpent output files simple, scriptable, and flawless" readme = "README.rst" -requires-python = ">=3.8,<3.12" +requires-python = ">=3.9,<3.14" classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Education", @@ -20,10 +20,11 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] license = {file = "LICENSE"} dependencies = [ diff --git a/tests/test_messages.py b/tests/test_messages.py index 090ddc61..29b386ca 100644 --- a/tests/test_messages.py +++ b/tests/test_messages.py @@ -32,8 +32,8 @@ def demoFuture(x, val=5): with catch_warnings(record=True) as record: self.assertEqual(7, demoFuture(2)) self.assertEqual(7, demoFuture(2, 5)) - self.assertEquals(len(record), 2, - 'Did not catch two warnings::willChange') + self.assertEqual(len(record), 2, + "Did not catch two warnings::willChange") def test_deprecatedDecorator(self): """Verify that the deprecated decorator doesn't break things""" @@ -45,8 +45,8 @@ def demoFunction(x, val=5): with catch_warnings(record=True) as record: self.assertEqual(7, demoFunction(2)) self.assertEqual(7, demoFunction(2, 5)) - self.assertEquals(len(record), 2, - 'Did not catch two warnings::deprecation') + self.assertEqual(len(record), 2, + "Did not catch two warnings::deprecation") class LoggingTester(TestCaseWithLogCapture):