enum-properties 2.2.0__tar.gz → 2.2.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 (82) hide show
  1. {enum_properties-2.2.0 → enum_properties-2.2.2}/.github/workflows/release.yml +1 -0
  2. {enum_properties-2.2.0 → enum_properties-2.2.2}/PKG-INFO +1 -1
  3. {enum_properties-2.2.0 → enum_properties-2.2.2}/doc/source/changelog.rst +14 -2
  4. {enum_properties-2.2.0 → enum_properties-2.2.2}/doc/source/tutorial.rst +1 -1
  5. {enum_properties-2.2.0 → enum_properties-2.2.2}/pyproject.toml +1 -1
  6. {enum_properties-2.2.0 → enum_properties-2.2.2}/src/enum_properties/__init__.py +1 -1
  7. {enum_properties-2.2.0 → enum_properties-2.2.2}/uv.lock +1 -1
  8. {enum_properties-2.2.0 → enum_properties-2.2.2}/.codecov.yml +0 -0
  9. {enum_properties-2.2.0 → enum_properties-2.2.2}/.github/dependabot.yml +0 -0
  10. {enum_properties-2.2.0 → enum_properties-2.2.2}/.github/workflows/lint.yml +0 -0
  11. {enum_properties-2.2.0 → enum_properties-2.2.2}/.github/workflows/scorecard.yml +0 -0
  12. {enum_properties-2.2.0 → enum_properties-2.2.2}/.github/workflows/test.yml +0 -0
  13. {enum_properties-2.2.0 → enum_properties-2.2.2}/.gitignore +0 -0
  14. {enum_properties-2.2.0 → enum_properties-2.2.2}/.pre-commit-config.yaml +0 -0
  15. {enum_properties-2.2.0 → enum_properties-2.2.2}/CODE_OF_CONDUCT.md +0 -0
  16. {enum_properties-2.2.0 → enum_properties-2.2.2}/CONTRIBUTING.md +0 -0
  17. {enum_properties-2.2.0 → enum_properties-2.2.2}/LICENSE +0 -0
  18. {enum_properties-2.2.0 → enum_properties-2.2.2}/README.md +0 -0
  19. {enum_properties-2.2.0 → enum_properties-2.2.2}/SECURITY.md +0 -0
  20. {enum_properties-2.2.0 → enum_properties-2.2.2}/doc/.readthedocs.yaml +0 -0
  21. {enum_properties-2.2.0 → enum_properties-2.2.2}/doc/source/conf.py +0 -0
  22. {enum_properties-2.2.0 → enum_properties-2.2.2}/doc/source/howto.rst +0 -0
  23. {enum_properties-2.2.0 → enum_properties-2.2.2}/doc/source/index.rst +0 -0
  24. {enum_properties-2.2.0 → enum_properties-2.2.2}/doc/source/reference.rst +0 -0
  25. {enum_properties-2.2.0 → enum_properties-2.2.2}/justfile +0 -0
  26. {enum_properties-2.2.0 → enum_properties-2.2.2}/src/enum_properties/py.typed +0 -0
  27. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/__init__.py +0 -0
  28. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test.py +0 -0
  29. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test_flags.py +0 -0
  30. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test_interface_eq.py +0 -0
  31. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test_nestedclass.py +0 -0
  32. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test_none_coercion.py +0 -0
  33. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test_perf.py +0 -0
  34. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test_pickle.py +0 -0
  35. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test_specialize.py +0 -0
  36. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test_symmetric.py +0 -0
  37. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/annotations/test_type_hints.py +0 -0
  38. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/big_enum.py +0 -0
  39. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/big_enum_annotations.py +0 -0
  40. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/__init__.py +0 -0
  41. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/address.py +0 -0
  42. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/color_example.py +0 -0
  43. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/hash_equiv_def.py +0 -0
  44. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_add_props.py +0 -0
  45. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_dataclass.py +0 -0
  46. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_dataclass_integration.py +0 -0
  47. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_flag.py +0 -0
  48. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_flag_boundaries.py +0 -0
  49. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_flags_no_iterable.py +0 -0
  50. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_hash_equiv.py +0 -0
  51. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_hash_equiv_def.py +0 -0
  52. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_legacy.py +0 -0
  53. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_metaclass.py +0 -0
  54. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_nested_classes.py +0 -0
  55. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_nested_classes_313.py +0 -0
  56. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_specialized.py +0 -0
  57. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_specialized_default.py +0 -0
  58. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_specialized_list.py +0 -0
  59. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_specialized_missing.py +0 -0
  60. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_symmetric_builtins.py +0 -0
  61. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_symmetric_decorator.py +0 -0
  62. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_symmetric_metaclass.py +0 -0
  63. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_symmetric_overload.py +0 -0
  64. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_symmetry.py +0 -0
  65. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/howto_verify_unique.py +0 -0
  66. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/mapbox.py +0 -0
  67. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/specialization_example.py +0 -0
  68. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/symmetric_example.py +0 -0
  69. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/examples/test_examples.py +0 -0
  70. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/__init__.py +0 -0
  71. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test.py +0 -0
  72. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test_flags.py +0 -0
  73. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test_interface_eq.py +0 -0
  74. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test_multi_primitives.py +0 -0
  75. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test_nestedclass.py +0 -0
  76. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test_none_coercion.py +0 -0
  77. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test_perf.py +0 -0
  78. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test_pickle.py +0 -0
  79. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test_specialize.py +0 -0
  80. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/legacy/test_type_hints.py +0 -0
  81. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/pickle_enums.py +0 -0
  82. {enum_properties-2.2.0 → enum_properties-2.2.2}/tests/pickle_enums_annotations.py +0 -0
@@ -132,6 +132,7 @@ jobs:
132
132
  '${{ github.ref_name }}'
133
133
  --repo '${{ github.repository }}'
134
134
  --generate-notes
135
+ --prerelease
135
136
  - name: Upload artifact signatures to GitHub Release
136
137
  env:
137
138
  GITHUB_TOKEN: ${{ github.token }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: enum-properties
3
- Version: 2.2.0
3
+ Version: 2.2.2
4
4
  Summary: Add properties and method specializations to Python enumeration values with a simple declarative syntax.
5
5
  Project-URL: Homepage, https://github.com/bckohan/enum-properties
6
6
  Project-URL: Documentation, https://enum-properties.readthedocs.io
@@ -2,11 +2,23 @@
2
2
  Change Log
3
3
  ==========
4
4
 
5
- v2.1.1 (2025-03-07)
5
+ v2.2.2 (2025-03-07)
6
+ ===================
7
+
8
+ * Tutorial correction.
9
+
10
+
11
+ v2.2.1 (2025-03-07)
12
+ ===================
13
+
14
+ * Changelog correction.
6
15
 
16
+
17
+ v2.2.0 (2025-03-07)
7
18
  ===================
19
+
8
20
  * Fixed `StrEnumProperties is missing from __all__ <https://github.com/bckohan/enum-properties/issues/83>`_
9
- * Implemented `Test all example code in docs. <https://github.com/bckohan/enum-properties/issues/82>_`
21
+ * Implemented `Test all example code in docs. <https://github.com/bckohan/enum-properties/issues/82>`_
10
22
  * Fixed `Symmetric dataclass is missing from __all__ <https://github.com/bckohan/enum-properties/issues/81>`_
11
23
  * Implemented `Decorator to make properties symmetric <https://github.com/bckohan/enum-properties/issues/80>`_
12
24
  * Implemented `Move to intersphinx references for stdlib types <https://github.com/bckohan/enum-properties/issues/78>`_
@@ -64,7 +64,7 @@ The last property we've added is the ``uri`` property. We've added it as concret
64
64
  class because it can be created from the slug and version. We could have specified it in the value
65
65
  tuple but that would be very verbose and less
66
66
  `DRY <https://en.wikipedia.org/wiki/Don%27t_repeat_yourself>`_. To make this property symmetric we
67
- added it to the ``_symmetric_builtins_`` list.
67
+ decorate it with :py:func:`~enum_properties.symmetric`.
68
68
 
69
69
  We can use our enumeration like so:
70
70
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "enum-properties"
7
- version = "2.2.0"
7
+ version = "2.2.2"
8
8
  description = "Add properties and method specializations to Python enumeration values with a simple declarative syntax."
9
9
  requires-python = ">=3.8,<4.0"
10
10
  authors = [
@@ -19,7 +19,7 @@ from collections.abc import Generator, Hashable, Iterable
19
19
  from dataclasses import dataclass
20
20
  from functools import cached_property
21
21
 
22
- VERSION = (2, 2, 0)
22
+ VERSION = (2, 2, 2)
23
23
 
24
24
  __title__ = "Enum Properties"
25
25
  __version__ = ".".join(str(i) for i in VERSION)
@@ -605,7 +605,7 @@ wheels = [
605
605
 
606
606
  [[package]]
607
607
  name = "enum-properties"
608
- version = "2.2.0"
608
+ version = "2.2.2"
609
609
  source = { editable = "." }
610
610
 
611
611
  [package.dev-dependencies]
File without changes