diff --git a/python-apipkg.changes b/python-apipkg.changes index e8592c1..f5e068c 100644 --- a/python-apipkg.changes +++ b/python-apipkg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 30 12:49:07 UTC 2022 - Daniel Garcia + +- Remove python-py dependency + ------------------------------------------------------------------- Tue Nov 29 16:53:46 UTC 2022 - Daniel Garcia diff --git a/python-apipkg.spec b/python-apipkg.spec index f2e0d3c..b684dc8 100644 --- a/python-apipkg.spec +++ b/python-apipkg.spec @@ -35,7 +35,6 @@ Source: https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-% %if %{with test} BuildRequires: %{python_module apipkg = %{version}} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module py} %endif BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module hatchling} @@ -74,7 +73,9 @@ sed -i ':a;N;$!ba;s/dynamic = \[[^]]*\]/version = "%{version}"/g' pyproject.toml %check %if %{with test} -%pytest +# Do not test distribution version, it's broken because pytest doesn't require +# python-py anymore +%pytest -k 'not test_get_distribution_version' %endif %if ! %{with test}