[packages/python3-platformdirs] - skip typing-preload test (fails on builders) - release 2
adamg
adamg at pld-linux.org
Sat Nov 21 23:08:42 CET 2026
commit 0975117f98044c86188d197d8e63b020837ad311
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Sat Nov 21 23:08:37 2026 +0100
- skip typing-preload test (fails on builders)
- release 2
python3-platformdirs.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python3-platformdirs.spec b/python3-platformdirs.spec
index c2b1014..6c53631 100644
--- a/python3-platformdirs.spec
+++ b/python3-platformdirs.spec
@@ -8,7 +8,7 @@ Summary: Python module for determining appropriate platform-specific dirs
Summary(pl.UTF-8): Moduł Pythona do określania odpowiednich katalogów specyficznych dla platformy
Name: python3-%{module}
Version: 4.14.7
-Release: 1
+Release: 2
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/platformdirs/
@@ -69,10 +69,11 @@ dla platformy, np. "katalog danych użytkownika".
%if %{with tests}
# test_import_before_pytest_main deletes PYTEST_DISABLE_PLUGIN_AUTOLOAD,
# thus breaking our manual pytest plugins selection.
+# test_import_platformdirs_skips_typing: fails when site startup (.pth) already imported typing
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTEST_PLUGINS=platformdirs.pytest_plugin,pytest_mock \
PYTHONPATH=$(pwd)/src \
-%{__python3} -m pytest tests -k 'not test_import_before_pytest_main'
+%{__python3} -m pytest tests -k 'not test_import_before_pytest_main and not test_import_platformdirs_skips_typing'
%endif
%if %{with doc}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-platformdirs.git/commitdiff/0975117f98044c86188d197d8e63b020837ad311
More information about the pld-cvs-commit
mailing list