[packages/python3-dateparser] - skip benchmark tests (need pytest-benchmark) - release 2

adamg adamg at pld-linux.org
Sat Nov 21 23:08:45 CET 2026


commit 92a4bb678181f6438992c9f9535ad25c5cc8771f
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Sat Nov 21 23:08:44 2026 +0100

    - skip benchmark tests (need pytest-benchmark)
    - release 2

 python3-dateparser.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python3-dateparser.spec b/python3-dateparser.spec
index c8af0e1..a8b4d42 100644
--- a/python3-dateparser.spec
+++ b/python3-dateparser.spec
@@ -7,7 +7,7 @@ Summary:	Date parsing library designed to parse dates from HTML pages
 Summary(pl.UTF-8):	Biblioteka analizy dat przeznaczona do odczytu dat ze stron HTML
 Name:		python3-dateparser
 Version:	1.5.1
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/dateparser/
@@ -73,8 +73,9 @@ Dokumentacja API modułu Pythona dateparser.
 
 %if %{with tests}
 # test_custom_language_detect_fast_text: fast_text parser downloads models from Internet
+# tests/benchmarks: need pytest-benchmark plugin
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python3} -m pytest tests -k 'not test_custom_language_detect_fast_text'
+%{__python3} -m pytest tests --ignore=tests/benchmarks -k 'not test_custom_language_detect_fast_text'
 %endif
 
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-dateparser.git/commitdiff/92a4bb678181f6438992c9f9535ad25c5cc8771f



More information about the pld-cvs-commit mailing list