[packages/python3-hypothesis] - updated to 6.151.9

qboosh qboosh at pld-linux.org
Sun Feb 22 11:54:53 CET 2026


commit c26bd999d38b9e8db664e701427d0389de7cb90d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 22 11:54:56 2026 +0100

    - updated to 6.151.9

 python3-hypothesis.spec | 37 +++++++++++++++++++++++--------------
 1 file changed, 23 insertions(+), 14 deletions(-)
---
diff --git a/python3-hypothesis.spec b/python3-hypothesis.spec
index 9f80991..6a38ab7 100644
--- a/python3-hypothesis.spec
+++ b/python3-hypothesis.spec
@@ -1,48 +1,52 @@
 #
 # Conditional build:
-%bcond_with	tests	# nothing currently
+%bcond_with	tests	# unit tests (files missing in sdist)
 
 Summary:	Hypothesis - library for property based testing
 Summary(pl.UTF-8):	Hypothesis - biblioteka do testowania opartego na własnościach
 Name:		python3-hypothesis
-Version:	6.131.20
+Version:	6.151.9
 Release:	1
 License:	MPL v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/hypothesis/
 Source0:	https://files.pythonhosted.org/packages/source/h/hypothesis/hypothesis-%{version}.tar.gz
-# Source0-md5:	ef59cefffce74dc00c7d878bca84349f
+# Source0-md5:	f7762839f7729657d47bf67e927c85a4
 URL:		https://github.com/DRMacIver/hypothesis
 BuildRequires:	python3-build
 BuildRequires:	python3-installer
-BuildRequires:	python3-modules >= 1:3.9
+BuildRequires:	python3-modules >= 1:3.10
 BuildRequires:	python3-setuptools >= 1:78.1.0
 BuildRequires:	python3-wheel
 %if %{with tests}
 BuildRequires:	python3-attrs >= 19.2.0
-%if "%{py3_ver}" == "3.7"
-BuildRequires:	python3-importlib_metadata >= 3.6
+%if "%{py3_ver}" == "3.10"
+BuildRequires:	python3-exceptiongroup >= 1.0.0
 %endif
+BuildRequires:	python3-pytest >= 4.6
 BuildRequires:	python3-sortedcontainers >= 2.1.0
-BuildRequires:	python3-sortedcontainers < 3.0.0
+BuildRequires:	python3-sortedcontainers < 3
 %endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 2.044
-Requires:	python3-modules >= 1:3.9
+Requires:	python3-modules >= 1:3.10
 # for individual -extras modules:
-#Suggests:	python3-black >= 19.10b0
+#Suggests:	python3-black >= 20.8
 #Suggests:	python3-click >= 7.0
 #Suggests:	python3-dateutil >= 1.4
-#Suggests:	python3-django >= 2.2
+#Suggests:	python3-django >= 4.2
 #Suggests:	python3-dpcontracts >= 0.4
-#Suggests:	python3-lark-parser >= 0.6.5
+#Suggests:	python3-hypothesis-crosshair >= 0.0.27
+#Suggests:	python3-hypothesis-crosshair-tool >= 0.0.102
+#Suggests:	python3-lark >= 0.10.1
 #Suggests:	python3-libcst >= 0.3.16
-#Suggests:	python3-numpy >= 1.9.0
-#Suggests:	python3-pandas >= 0.25
+#Suggests:	python3-numpy >= 1.21.6
+#Suggests:	python3-pandas >= 1.1
 #Suggests:	python3-pytest >= 4.6
 #Suggests:	python3-pytz >= 2014.1
 #Suggests:	python3-redis >= 3.0.0
 #Suggests:	python3-rich >= 9.0.0
+#Suggests:	python3-watchdog >= 4.0.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -65,6 +69,12 @@ istniejącym przepływem testów jednostkowych w Pythonie.
 %build
 %py3_build_pyproject
 
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m pytest tests
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -75,7 +85,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.md
 %attr(755,root,root) %{_bindir}/hypothesis
 %{py3_sitescriptdir}/hypothesis
 %{py3_sitescriptdir}/_hypothesis_ftz_detector.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-hypothesis.git/commitdiff/c26bd999d38b9e8db664e701427d0389de7cb90d



More information about the pld-cvs-commit mailing list