diff --git a/python-apipkg.changes b/python-apipkg.changes index f5e068c..f104497 100644 --- a/python-apipkg.changes +++ b/python-apipkg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 30 16:45:02 UTC 2022 - Daniel Garcia + +- Remove python-hatch-vcs dependency + ------------------------------------------------------------------- Wed Nov 30 12:49:07 UTC 2022 - Daniel Garcia diff --git a/python-apipkg.spec b/python-apipkg.spec index b684dc8..6cab142 100644 --- a/python-apipkg.spec +++ b/python-apipkg.spec @@ -36,7 +36,6 @@ Source: https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-% BuildRequires: %{python_module apipkg = %{version}} BuildRequires: %{python_module pytest} %endif -BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} @@ -61,6 +60,8 @@ can copy paste the ~200 lines of code into your project. %autosetup -p1 -n apipkg-%{version} # Set the package version static, not dynamic, to build without the .git folder sed -i ':a;N;$!ba;s/dynamic = \[[^]]*\]/version = "%{version}"/g' pyproject.toml +# Remove hatch-vcs dep to avoid cycles +sed -i '/tool.hatch.build.hooks.vcs/d' pyproject.toml %build %pyproject_wheel