Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .ci_support/environment-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
channels:
- conda-forge
dependencies:
- cloudpickle =3.0.0
- cloudpickle =3.1.1
2 changes: 1 addition & 1 deletion .ci_support/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/push-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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 = [
]
Expand Down
7 changes: 4 additions & 3 deletions tests/unit/test_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!",
Expand All @@ -321,7 +321,8 @@ def internally_undecorated(n, s="undecorated_unimportable", /):
)

with self.assertRaises(
AttributeError, msg="The relevant factory function is only in <locals>"
(AttributeError, pickle.PicklingError),
msg="The relevant factory function is only in <locals>",
):
pickle.dumps(bar)

Expand Down Expand Up @@ -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 <locals> function defined to import and recreate"
"the factory",
):
Expand Down
Loading