diff options
| author | Crucible <crucible@localhost> | 2026-09-27 13:18:47 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-27 13:18:47 -0500 |
| commit | 6c272935f8a312fcfafd5dd57b1ea640a5a410c6 (patch) | |
| tree | 3bf55a2a560763727e539a20cba5a27e03537e73 /dev-python/cattrs | |
| parent | 18a2245b637f88ed99cb70e5d207d4423848c8e4 (diff) | |
| download | srcux-6c272935f8a312fcfafd5dd57b1ea640a5a410c6.tar.gz srcux-6c272935f8a312fcfafd5dd57b1ea640a5a410c6.tar.xz srcux-6c272935f8a312fcfafd5dd57b1ea640a5a410c6.zip | |
Publish srcux candidate 0000000508-20260927-131555
Diffstat (limited to 'dev-python/cattrs')
| -rw-r--r-- | dev-python/cattrs/cattrs-26.2.1.ebuild | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/dev-python/cattrs/cattrs-26.2.1.ebuild b/dev-python/cattrs/cattrs-26.2.1.ebuild index e55ebb75734a..ab44a01c52fb 100644 --- a/dev-python/cattrs/cattrs-26.2.1.ebuild +++ b/dev-python/cattrs/cattrs-26.2.1.ebuild @@ -20,19 +20,19 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="test-rust" RDEPEND=" >=dev-python/attrs-25.4.0[${PYTHON_USEDEP}] >=dev-python/typing-extensions-4.14.0[${PYTHON_USEDEP}] " +# msgspec is broken pretty much on anything but the most common arches BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] test? ( >=dev-python/immutables-0.20[${PYTHON_USEDEP}] >=dev-python/msgpack-1.0.5[${PYTHON_USEDEP}] - >=dev-python/msgspec-0.21.1[${PYTHON_USEDEP}] >=dev-python/pymongo-4.4.0[${PYTHON_USEDEP}] >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] >=dev-python/tomlkit-0.11.8[${PYTHON_USEDEP}] @@ -42,6 +42,9 @@ BDEPEND=" >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] >=dev-python/orjson-3.11.3[${PYTHON_USEDEP}] ) + amd64? ( + >=dev-python/msgspec-0.21.1[${PYTHON_USEDEP}] + ) ) " @@ -68,6 +71,20 @@ python_test() { tests/test_preconf.py::test_cbor2_unions ) fi + if ! has_version "Dev-python/msgspec[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_preconf.py::test_literal_dicts_msgspec + tests/test_preconf.py::test_msgspec_efficient_enum + tests/test_preconf.py::test_msgspec_json_converter + tests/test_preconf.py::test_msgspec_json_unions + tests/test_preconf.py::test_msgspec_json_unstruct_collection_overrides + tests/test_preconf.py::test_msgspec_native_enums + ) + EPYTEST_IGNORE+=( + tests/preconf/test_msgspec_cpython.py + tests/preconf/test_msgspec_314_cpython.py + ) + fi if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then EPYTEST_DESELECT+=( tests/test_preconf.py::test_orjson |
