Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hypothesmith for openSUSE:Factory checked in at 2024-11-15 15:37:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hypothesmith (Old) and /work/SRC/openSUSE:Factory/.python-hypothesmith.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hypothesmith" Fri Nov 15 15:37:56 2024 rev:12 rq:1224141 version:0.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hypothesmith/python-hypothesmith.changes 2024-03-20 21:10:00.964404654 +0100 +++ /work/SRC/openSUSE:Factory/.python-hypothesmith.new.2017/python-hypothesmith.changes 2024-11-15 15:38:02.817371227 +0100 @@ -1,0 +2,5 @@ +Thu Nov 14 09:46:30 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- drop black dependency from tests + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hypothesmith.spec ++++++ --- /var/tmp/diff_new_pack.eY5bsk/_old 2024-11-15 15:38:04.485441091 +0100 +++ /var/tmp/diff_new_pack.eY5bsk/_new 2024-11-15 15:38:04.489441260 +0100 @@ -16,7 +16,6 @@ # -%{?sle15_python_module_pythons} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -25,6 +24,7 @@ %define psuffix %{nil} %bcond_with test %endif +%{?sle15_python_module_pythons} Name: python-hypothesmith%{psuffix} Version: 0.3.3 Release: 0 @@ -33,7 +33,9 @@ URL: https://github.com/Zac-HD/hypothesmith Source: https://files.pythonhosted.org/packages/source/h/hypothesmith/hypothesmith-%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-base >= 3.7 @@ -41,7 +43,6 @@ Requires: python-lark >= 0.10.1 Requires: python-libcst >= 0.4.0 %if %{with test} -BuildRequires: %{python_module black} BuildRequires: %{python_module exceptiongroup} BuildRequires: %{python_module hypothesis >= 6.93.0} BuildRequires: %{python_module lark >= 0.10.1} @@ -63,12 +64,12 @@ %build %if !%{with test} -%python_build +%pyproject_wheel %endif %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -76,7 +77,9 @@ %if %{with test} # multibuild: test the source dir, nothing is installed export PYTHONPATH=$(pwd)/src -%pytest -n auto +# depend on black +rm -v tests/test_cst.py tests/test_syntactic.py +%pytest -n %{?jobs} %endif %if !%{with test} @@ -84,6 +87,6 @@ %doc README.md CHANGELOG.md %license LICENSE %{python_sitelib}/hypothesmith -%{python_sitelib}/hypothesmith-%{version}-py*.egg-info +%{python_sitelib}/hypothesmith-%{version}.dist-info %endif