diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-05-09 19:15:10 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-05-09 19:32:18 +0200 |
commit | bc5fde517c642df7888a0fff616b88645489a286 (patch) | |
tree | 8750733aed84431c976d2b47c71bc395a5d6e67e /dev-python/freezegun | |
parent | dev-python/python-dateutil: Enable py3.13 (diff) | |
download | gentoo-bc5fde517c642df7888a0fff616b88645489a286.tar.gz gentoo-bc5fde517c642df7888a0fff616b88645489a286.tar.bz2 gentoo-bc5fde517c642df7888a0fff616b88645489a286.zip |
dev-python/freezegun: Enable py3.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/freezegun')
-rw-r--r-- | dev-python/freezegun/freezegun-1.5.0.ebuild | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/dev-python/freezegun/freezegun-1.5.0.ebuild b/dev-python/freezegun/freezegun-1.5.0.ebuild index 57c62f3fafbf..a0a726d270f2 100644 --- a/dev-python/freezegun/freezegun-1.5.0.ebuild +++ b/dev-python/freezegun/freezegun-1.5.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -30,6 +30,18 @@ BDEPEND=" distutils_enable_tests pytest python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/spulec/freezegun/issues/547 + tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time + tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_frozen_time_with_func + tests/test_datetimes.py::TestUnitTestMethodDecorator::test_method_decorator_works_on_unittest_kwarg_hello + ) + ;; + esac + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } |