diff --git a/_service b/_service
index fb0cfff..35eef96 100644
--- a/_service
+++ b/_service
@@ -2,15 +2,17 @@
git
https://github.com/pypa/pipx
- 1.7.0
+ 1.7.1
*
(\d+\.\d+\.\d+)
@PARENT_TAG@
\1
enable
-
+
+
+
+ *.tar
+ gz
-
-
diff --git a/_servicedata b/_servicedata
index a24a8e3..3da35ec 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/pypa/pipx
- 551e9ce8f88135a9e45a4bb2f85dd8156b370a60
\ No newline at end of file
+ 4462299fa391b7349074facc39c73767853c9d02
\ No newline at end of file
diff --git a/pipx-1.7.1.obscpio b/pipx-1.7.1.obscpio
new file mode 100644
index 0000000..4d35f7a
--- /dev/null
+++ b/pipx-1.7.1.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:365a7834d0d45e70c1f8acbac444e6e869f9e58501f119f4f4297bf081852221
+size 1144844
diff --git a/pipx-1.7.1.tar.gz b/pipx-1.7.1.tar.gz
new file mode 100644
index 0000000..ad7b13f
--- /dev/null
+++ b/pipx-1.7.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1dc94eac3d677a35676eb383d516298573e25518a2bae69c9926c7b4c5641cb9
+size 400530
diff --git a/pipx.obsinfo b/pipx.obsinfo
index e488286..ff65ee0 100644
--- a/pipx.obsinfo
+++ b/pipx.obsinfo
@@ -1,4 +1,4 @@
name: pipx
-version: 1.7.0
-mtime: 1724337711
-commit: 551e9ce8f88135a9e45a4bb2f85dd8156b370a60
+version: 1.7.1
+mtime: 1724431976
+commit: 4462299fa391b7349074facc39c73767853c9d02
diff --git a/python-pipx.changes b/python-pipx.changes
index 074afb9..22a3708 100644
--- a/python-pipx.changes
+++ b/python-pipx.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Mon Sep 09 06:44:16 UTC 2024 - daniel.garcia@suse.com
+
+- Update to version 1.7.1:
+ * 1.7.1: Use minimum supported Python to build zipapp (#1515)
+
-------------------------------------------------------------------
Fri Aug 23 14:53:33 UTC 2024 - Eyad Issa
diff --git a/python-pipx.spec b/python-pipx.spec
index a83b562..3d4b8ff 100644
--- a/python-pipx.spec
+++ b/python-pipx.spec
@@ -18,23 +18,25 @@
%{?sle15_python_module_pythons}
Name: python-pipx
-Version: 1.7.0
+Version: 1.7.1
Release: 0
Summary: Install and Run Python Applications in Isolated Environments
License: MIT
URL: https://github.com/pypa/pipx
-Source: pipx-%{version}.tar
+Source: pipx-%{version}.tar.gz
BuildRequires: %{python_module hatch-vcs >= 0.4}
BuildRequires: %{python_module hatchling >= 1.18}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
Requires: python >= 3.8
Requires: python-argcomplete >= 1.9.4
Requires: python-packaging >= 20
Requires: python-platformdirs >= 2.1
-Requires: python-tomli
Requires: python-userpath >= 1.6
+Requires: (python-tomli >= 4.4.0 if python-base < 3.11)
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module argcomplete >= 1.9.4}
@@ -65,6 +67,13 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%postun
%python_uninstall_alternative pipx
+%check
+# Tests require network or .pipx_tests with downloaded .whl, so not
+# running pytest
+%{python_expand #
+PYTHONPATH=%{buildroot}%{$python_sitelib} %{buildroot}%{_bindir}/pipx-%{$python_version} --version
+}
+
%files %{python_files}
%doc docs/CHANGELOG.md docs/README.md
%license LICENSE