diff --git a/.binder/environment.yml b/.binder/environment.yml index 2dc9198..f5f0668 100644 --- a/.binder/environment.yml +++ b/.binder/environment.yml @@ -3,4 +3,4 @@ channels: dependencies: - hatchling =1.27.0 - hatch-vcs =0.5.0 -- python >=3.11,<3.14 +- python >=3.11,<3.15 diff --git a/.ci_support/environment-tests.yml b/.ci_support/environment-tests.yml index b157631..a6cae8a 100644 --- a/.ci_support/environment-tests.yml +++ b/.ci_support/environment-tests.yml @@ -1,4 +1,4 @@ channels: - conda-forge dependencies: - - cloudpickle =3.0.0 \ No newline at end of file + - cloudpickle =3.1.1 \ No newline at end of file diff --git a/.ci_support/environment.yml b/.ci_support/environment.yml index 758803f..353cf3a 100644 --- a/.ci_support/environment.yml +++ b/.ci_support/environment.yml @@ -3,4 +3,4 @@ channels: dependencies: - hatchling =1.27.0 - hatch-vcs =0.5.0 -- python >=3.11,<3.14 \ No newline at end of file +- python >=3.11,<3.15 \ No newline at end of file diff --git a/.github/workflows/push-pull.yml b/.github/workflows/push-pull.yml index 5b65395..1544c43 100644 --- a/.github/workflows/push-pull.yml +++ b/.github/workflows/push-pull.yml @@ -14,10 +14,10 @@ jobs: with: tests-env-files: .ci_support/environment.yml .ci_support/environment-tests.yml do-benchmark-tests: false - python-version-alt1: 'exclude' - python-version-alt2: '3.11' - python-version: '3.12' - python-version-alt3: '3.13' + python-version-alt1: '3.11' + python-version-alt2: '3.12' + python-version: '3.13' + python-version-alt3: '3.14' do-codecov: true do-codacy: false do-coveralls: false diff --git a/docs/environment.yml b/docs/environment.yml index 19b042f..c7dd6e3 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -9,4 +9,4 @@ dependencies: - versioneer - hatchling =1.27.0 - hatch-vcs =0.5.0 -- python >=3.11,<3.14 +- python >=3.11,<3.15 diff --git a/pyproject.toml b/pyproject.toml index f16a2e3..9178f3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ name = "pyiron_snippets" description = "pyiron_snippets - Short, dependency-free python snippets." readme = "docs/README.md" keywords = [ "pyiron",] -requires-python = ">=3.11, <3.14" +requires-python = ">=3.11, <3.15" classifiers = [ "Development Status :: 5 - Production/Stable", "Topic :: Software Development", @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dependencies = [ ] diff --git a/tests/unit/test_factory.py b/tests/unit/test_factory.py index bd6fc6f..9da06f6 100644 --- a/tests/unit/test_factory.py +++ b/tests/unit/test_factory.py @@ -294,7 +294,7 @@ def internal_factory(n, s="unimportable_scope", /): self.assertEqual(1, foo.x, msg="Nothing should stop the factory from working") self.assertEqual(0, foo.y, msg="Nothing should stop the factory from working") with self.assertRaises( - AttributeError, + (AttributeError, pickle.PicklingError), msg="`internal_factory` is defined only locally inside the scope of " "another function, so we don't expect it to be pickleable whether it's " "a class factory or not!", @@ -321,7 +321,8 @@ def internally_undecorated(n, s="undecorated_unimportable", /): ) with self.assertRaises( - AttributeError, msg="The relevant factory function is only in " + (AttributeError, pickle.PicklingError), + msg="The relevant factory function is only in ", ): pickle.dumps(bar) @@ -462,7 +463,7 @@ def adds_6_plus_x(y: int): msg="Nothing stops us from creating and running these", ) with self.assertRaises( - AttributeError, + (AttributeError, pickle.PicklingError), msg="We can't find the function defined to import and recreate" "the factory", ):