diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-05-02 19:08:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-05-02 19:08:42 +0000 |
| commit | 265855a209a72957bd712b57fbb11a508ee33cf0 (patch) | |
| tree | e814d424c4e886b62ee44e2e149624de1d3df634 /dev-python/cattrs | |
| parent | 4a1bcc485932394e05bc3a82bc5911c5534f8150 (diff) | |
| download | baldeagleos-repo-265855a209a72957bd712b57fbb11a508ee33cf0.tar.gz baldeagleos-repo-265855a209a72957bd712b57fbb11a508ee33cf0.tar.xz baldeagleos-repo-265855a209a72957bd712b57fbb11a508ee33cf0.zip | |
Adding metadata
Diffstat (limited to 'dev-python/cattrs')
| -rw-r--r-- | dev-python/cattrs/cattrs-26.1.0.ebuild | 76 |
1 files changed, 14 insertions, 62 deletions
diff --git a/dev-python/cattrs/cattrs-26.1.0.ebuild b/dev-python/cattrs/cattrs-26.1.0.ebuild index 9111538ef0e4..f4b360913ad8 100644 --- a/dev-python/cattrs/cattrs-26.1.0.ebuild +++ b/dev-python/cattrs/cattrs-26.1.0.ebuild @@ -30,7 +30,6 @@ RDEPEND=" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] test? ( - >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] >=dev-python/immutables-0.20[${PYTHON_USEDEP}] >=dev-python/msgpack-1.0.5[${PYTHON_USEDEP}] >=dev-python/pymongo-4.4.0[${PYTHON_USEDEP}] @@ -40,6 +39,7 @@ BDEPEND=" >=dev-python/ujson-5.10.0[${PYTHON_USEDEP}] test-rust? ( $(python_gen_cond_dep ' + >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] >=dev-python/orjson-3.11.3[${PYTHON_USEDEP}] ' 'python*') ) @@ -68,6 +68,19 @@ python_test() { tests/test_preconf.py::test_msgspec_native_enums ) + if ! has_version "dev-python/cbor2[${PYTHON_USEDEP}]"; then + # https://github.com/python-attrs/cattrs/pull/748 + sed -i -e '/cbor2_make_converter/d' tests/test_preconf.py || die + + EPYTEST_DESELECT+=( + tests/test_preconf.py::test_cbor2 + tests/test_preconf.py::test_cbor2_converter + tests/test_preconf.py::test_cbor2_converter_unstruct_collection_overrides + tests/test_preconf.py::test_cbor2_efficient_enum + tests/test_preconf.py::test_cbor2_native_enums + tests/test_preconf.py::test_cbor2_unions + ) + fi if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then EPYTEST_DESELECT+=( tests/test_preconf.py::test_orjson @@ -76,66 +89,5 @@ python_test() { ) fi - # https://github.com/python-attrs/cattrs/issues/626 - # https://github.com/python-attrs/cattrs/pull/653 - if [[ ${EPYTHON} == python3.14* ]] ; then - EPYTEST_DESELECT+=( - 'tests/strategies/test_include_subclasses.py::test_circular_reference[with-subclasses]' - 'tests/strategies/test_include_subclasses.py::test_overrides[wo-union-strategy-child1-only]' - 'tests/strategies/test_include_subclasses.py::test_overrides[wo-union-strategy-child2-only]' - 'tests/strategies/test_include_subclasses.py::test_overrides[wo-union-strategy-grandchild-only]' - 'tests/strategies/test_include_subclasses.py::test_overrides[wo-union-strategy-parent-only]' - 'tests/strategies/test_include_subclasses.py::test_parents_with_generics[False]' - 'tests/strategies/test_include_subclasses.py::test_parents_with_generics[True]' - tests/strategies/test_include_subclasses.py::test_structure_as_union - 'tests/strategies/test_include_subclasses.py::test_structuring_unstructuring_unknown_subclass' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-child1-only]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-child2-only]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-grandchild-only]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-non-union-compose-child]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-non-union-compose-grandchild]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-non-union-compose-parent]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-non-union-container]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-parent-only]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-union-compose-child]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-union-compose-grandchild]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-union-compose-parent]' - 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-union-container]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-child1-only]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-child2-only]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-grandchild-only]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-non-union-compose-child]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-non-union-compose-grandchild]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-non-union-compose-parent]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-non-union-container]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-parent-only]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-union-compose-child]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-union-compose-grandchild]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-union-compose-parent]' - 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-union-container]' - tests/test_gen_dict.py::test_type_names_with_quotes - tests/test_generics.py::test_deep_copy - 'tests/test_generics.py::test_structure_nested_generics_with_cols[False-int-result0]' - 'tests/test_generics.py::test_structure_nested_generics_with_cols[False]' - 'tests/test_generics.py::test_structure_nested_generics_with_cols[True-int-result0]' - 'tests/test_generics.py::test_structure_nested_generics_with_cols[True]' - 'tests/test_self.py::test_nested_roundtrip[False]' - 'tests/test_self.py::test_nested_roundtrip[True]' - 'tests/test_self.py::test_self_roundtrip[False]' - 'tests/test_self.py::test_self_roundtrip[True]' - 'tests/test_self.py::test_self_roundtrip_dataclass[False]' - 'tests/test_self.py::test_self_roundtrip_dataclass[True]' - 'tests/test_self.py::test_self_roundtrip_namedtuple[False]' - 'tests/test_self.py::test_self_roundtrip_namedtuple[True]' - 'tests/test_self.py::test_self_roundtrip_typeddict[False]' - 'tests/test_self.py::test_self_roundtrip_typeddict[True]' - 'tests/test_self.py::test_subclass_roundtrip[False]' - 'tests/test_self.py::test_subclass_roundtrip[True]' - 'tests/test_self.py::test_subclass_roundtrip_dataclass[False]' - 'tests/test_self.py::test_subclass_roundtrip_dataclass[True]' - tests/test_structure.py::test_structuring_unsupported - ) - fi - epytest -o addopts= tests } |
