diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-05-14 12:02:11 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-05-14 13:58:48 +0200 |
| commit | 0b26b2713219a4b4320f264a83076fdc6c6c49ac (patch) | |
| tree | 1e51bb40a616ca80458c7cdf939eb0b0dfb2df7b /dev-python | |
| parent | d24318dd956e30ffc021bd658bc124a7d8515f8b (diff) | |
| download | gentoo-0b26b2713219a4b4320f264a83076fdc6c6c49ac.tar.gz gentoo-0b26b2713219a4b4320f264a83076fdc6c6c49ac.tar.bz2 gentoo-0b26b2713219a4b4320f264a83076fdc6c6c49ac.zip | |
dev-python/python-dotenv: Deselect tests failing with new click
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/python-dotenv/python-dotenv-1.1.0.ebuild | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild b/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild index 12799731f7f5..c739e121ff38 100644 --- a/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild +++ b/dev-python/python-dotenv/python-dotenv-1.1.0.ebuild @@ -29,6 +29,20 @@ DOCS=( CHANGELOG.md README.md ) distutils_enable_tests pytest +python_test() { + local EPYTEST_DESELECT=( + # test issue with click-8.2.0 + # https://github.com/theskumar/python-dotenv/issues/560 + tests/test_cli.py::test_get_non_existent_file + tests/test_cli.py::test_get_not_a_file + tests/test_cli.py::test_list_non_existent_file + tests/test_cli.py::test_list_not_a_file + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + python_install() { distutils-r1_python_install ln -s dotenv "${D}$(python_get_scriptdir)"/python-dotenv || die |
