serializable 1.3.1__tar.gz → 1.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. {serializable-1.3.1/serializable.egg-info → serializable-1.3.2}/PKG-INFO +2 -4
  2. {serializable-1.3.1 → serializable-1.3.2}/pyproject.toml +5 -9
  3. {serializable-1.3.1 → serializable-1.3.2}/serializable/version.py +1 -1
  4. {serializable-1.3.1 → serializable-1.3.2/serializable.egg-info}/PKG-INFO +2 -4
  5. {serializable-1.3.1 → serializable-1.3.2}/LICENSE +0 -0
  6. {serializable-1.3.1 → serializable-1.3.2}/MANIFEST.in +0 -0
  7. {serializable-1.3.1 → serializable-1.3.2}/README.md +0 -0
  8. {serializable-1.3.1 → serializable-1.3.2}/serializable/__init__.py +0 -0
  9. {serializable-1.3.1 → serializable-1.3.2}/serializable/dataclass_serializable.py +0 -0
  10. {serializable-1.3.1 → serializable-1.3.2}/serializable/helpers.py +0 -0
  11. {serializable-1.3.1 → serializable-1.3.2}/serializable/primitive_types.py +0 -0
  12. {serializable-1.3.1 → serializable-1.3.2}/serializable/py.typed +0 -0
  13. {serializable-1.3.1 → serializable-1.3.2}/serializable/serializable.py +0 -0
  14. {serializable-1.3.1 → serializable-1.3.2}/serializable.egg-info/SOURCES.txt +0 -0
  15. {serializable-1.3.1 → serializable-1.3.2}/serializable.egg-info/dependency_links.txt +0 -0
  16. {serializable-1.3.1 → serializable-1.3.2}/serializable.egg-info/requires.txt +0 -0
  17. {serializable-1.3.1 → serializable-1.3.2}/serializable.egg-info/top_level.txt +0 -0
  18. {serializable-1.3.1 → serializable-1.3.2}/setup.cfg +0 -0
  19. {serializable-1.3.1 → serializable-1.3.2}/tests/__init__.py +0 -0
  20. {serializable-1.3.1 → serializable-1.3.2}/tests/common.py +0 -0
  21. {serializable-1.3.1 → serializable-1.3.2}/tests/test_class.py +0 -0
  22. {serializable-1.3.1 → serializable-1.3.2}/tests/test_dataclass_serializable.py +0 -0
  23. {serializable-1.3.1 → serializable-1.3.2}/tests/test_default_to_dict_implementation.py +0 -0
  24. {serializable-1.3.1 → serializable-1.3.2}/tests/test_function.py +0 -0
  25. {serializable-1.3.1 → serializable-1.3.2}/tests/test_keyword_aliases.py +0 -0
  26. {serializable-1.3.1 → serializable-1.3.2}/tests/test_namedtuple.py +0 -0
  27. {serializable-1.3.1 → serializable-1.3.2}/tests/test_nesting.py +0 -0
  28. {serializable-1.3.1 → serializable-1.3.2}/tests/test_object.py +0 -0
  29. {serializable-1.3.1 → serializable-1.3.2}/tests/test_pickle.py +0 -0
  30. {serializable-1.3.1 → serializable-1.3.2}/tests/test_primitive_values.py +0 -0
  31. {serializable-1.3.1 → serializable-1.3.2}/tests/test_set.py +0 -0
  32. {serializable-1.3.1 → serializable-1.3.2}/tests/test_tuple.py +0 -0
  33. {serializable-1.3.1 → serializable-1.3.2}/tests/test_typing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: serializable
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: Base class with serialization helpers for user-defined Python objects
5
5
  Author-email: Alex Rubinsteyn <alex.rubinsteyn@unc.edu>
6
6
  License: Apache License
@@ -213,14 +213,12 @@ Classifier: Operating System :: OS Independent
213
213
  Classifier: License :: OSI Approved :: Apache Software License
214
214
  Classifier: Programming Language :: Python
215
215
  Classifier: Programming Language :: Python :: 3
216
- Classifier: Programming Language :: Python :: 3.9
217
- Classifier: Programming Language :: Python :: 3.10
218
216
  Classifier: Programming Language :: Python :: 3.11
219
217
  Classifier: Programming Language :: Python :: 3.12
220
218
  Classifier: Programming Language :: Python :: 3.13
221
219
  Classifier: Programming Language :: Python :: 3.14
222
220
  Classifier: Typing :: Typed
223
- Requires-Python: >=3.9
221
+ Requires-Python: >=3.11
224
222
  Description-Content-Type: text/markdown
225
223
  License-File: LICENSE
226
224
  Requires-Dist: typechecks>=0.0.2
@@ -18,15 +18,13 @@ classifiers = [
18
18
  "License :: OSI Approved :: Apache Software License",
19
19
  "Programming Language :: Python",
20
20
  "Programming Language :: Python :: 3",
21
- "Programming Language :: Python :: 3.9",
22
- "Programming Language :: Python :: 3.10",
23
21
  "Programming Language :: Python :: 3.11",
24
22
  "Programming Language :: Python :: 3.12",
25
23
  "Programming Language :: Python :: 3.13",
26
24
  "Programming Language :: Python :: 3.14",
27
25
  "Typing :: Typed",
28
26
  ]
29
- requires-python = ">=3.9"
27
+ requires-python = ">=3.11"
30
28
  dependencies = [
31
29
  "typechecks>=0.0.2",
32
30
  ]
@@ -55,7 +53,7 @@ include = ["serializable*"]
55
53
  serializable = ["py.typed"]
56
54
 
57
55
  [tool.ruff]
58
- target-version = "py39"
56
+ target-version = "py311"
59
57
  line-length = 100
60
58
  src = ["serializable", "tests"]
61
59
  exclude = [
@@ -85,8 +83,8 @@ ignore = [
85
83
  "B008", # do not perform function calls in argument defaults
86
84
  "B905", # zip() without explicit strict
87
85
  "SIM108", # use ternary operator instead of if-else
88
- "UP007", # use X | Y for type unions (need Python 3.10+)
89
- "UP045", # use X | None for Optional (need Python 3.10+)
86
+ "UP007", # retain the established Union annotation style
87
+ "UP045", # retain the established Optional annotation style
90
88
  ]
91
89
 
92
90
  [tool.ruff.lint.per-file-ignores]
@@ -103,9 +101,7 @@ ignore = [
103
101
  known-first-party = ["serializable"]
104
102
 
105
103
  [tool.mypy]
106
- # Annotations are never evaluated at runtime (`from __future__ import annotations`),
107
- # so checking them as 3.10 also covers 3.9, which mypy 2 can no longer target.
108
- python_version = "3.10"
104
+ python_version = "3.11"
109
105
 
110
106
  [tool.pytest.ini_options]
111
107
  testpaths = ["tests"]
@@ -1,4 +1,4 @@
1
- __version__ = "1.3.1"
1
+ __version__ = "1.3.2"
2
2
 
3
3
 
4
4
  def print_version():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: serializable
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: Base class with serialization helpers for user-defined Python objects
5
5
  Author-email: Alex Rubinsteyn <alex.rubinsteyn@unc.edu>
6
6
  License: Apache License
@@ -213,14 +213,12 @@ Classifier: Operating System :: OS Independent
213
213
  Classifier: License :: OSI Approved :: Apache Software License
214
214
  Classifier: Programming Language :: Python
215
215
  Classifier: Programming Language :: Python :: 3
216
- Classifier: Programming Language :: Python :: 3.9
217
- Classifier: Programming Language :: Python :: 3.10
218
216
  Classifier: Programming Language :: Python :: 3.11
219
217
  Classifier: Programming Language :: Python :: 3.12
220
218
  Classifier: Programming Language :: Python :: 3.13
221
219
  Classifier: Programming Language :: Python :: 3.14
222
220
  Classifier: Typing :: Typed
223
- Requires-Python: >=3.9
221
+ Requires-Python: >=3.11
224
222
  Description-Content-Type: text/markdown
225
223
  License-File: LICENSE
226
224
  Requires-Dist: typechecks>=0.0.2
File without changes
File without changes
File without changes
File without changes