commit: bc5fde517c642df7888a0fff616b88645489a286 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu May 9 17:15:10 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu May 9 17:32:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc5fde51
dev-python/freezegun: Enable py3.13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/freezegun/freezegun-1.5.0.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 }