diff --git a/_service b/_service
new file mode 100644
index 0000000..35eef96
--- /dev/null
+++ b/_service
@@ -0,0 +1,18 @@
+
+
+ git
+ https://github.com/pypa/pipx
+ 1.7.1
+ *
+ (\d+\.\d+\.\d+)
+ @PARENT_TAG@
+ \1
+ enable
+
+
+
+ *.tar
+ gz
+
+
+
diff --git a/_servicedata b/_servicedata
new file mode 100644
index 0000000..3da35ec
--- /dev/null
+++ b/_servicedata
@@ -0,0 +1,4 @@
+
+
+ https://github.com/pypa/pipx
+ 4462299fa391b7349074facc39c73767853c9d02
\ No newline at end of file
diff --git a/pipx-1.6.0.tar.gz b/pipx-1.6.0.tar.gz
deleted file mode 100644
index 258f764..0000000
--- a/pipx-1.6.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:840610e00103e3d49ae24b6b51804b60988851a5dd65468adb71e5a97e2699b2
-size 307321
diff --git a/pipx-1.7.0.obscpio b/pipx-1.7.0.obscpio
new file mode 100644
index 0000000..29cae1c
--- /dev/null
+++ b/pipx-1.7.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cbf4e36fb3107b39c05019e0f09133947de806ceefa8eac816c2d6ab5c7d0ff8
+size 1131020
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
new file mode 100644
index 0000000..ff65ee0
--- /dev/null
+++ b/pipx.obsinfo
@@ -0,0 +1,4 @@
+name: pipx
+version: 1.7.1
+mtime: 1724431976
+commit: 4462299fa391b7349074facc39c73767853c9d02
diff --git a/python-pipx.changes b/python-pipx.changes
index 5a6bf84..22a3708 100644
--- a/python-pipx.changes
+++ b/python-pipx.changes
@@ -1,3 +1,35 @@
+-------------------------------------------------------------------
+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
+
+- Update to 1.7.0:
+ * Add help messages for pipx pin and pipx unpin commands
+ * Add quotes to title and fix tag name in release action
+ * Add a --prepend option to the pipx ensurepath command
+ * ci: clean up auto changelog on releases
+ * Introduce a new env variable to allow spaces in home path
+ * Use multiple machine suffixes for standalone python
+ * Fix install all example typo
+ * Fix passing constraints file path into pipx install operation
+ via --pip-args
+ * Apply preview ruff/Pylint rule PLC0206
+ * Apply ruff/pycodestyle rule E721
+ * Enforce new ruff rules
+ * Moved documentation to docs directory
+ * Fix #1475 (--global installs to ~/.local)
+ * Fix #1492: Add PIPX_GLOBAL_(HOME|BIN_DIR|MAN_DIR) documentation
+ and list them in pipx environment
+ * Assorted repo-review suggestions
+ * Fixes #1509 short-circuit of installing packages when already
+ installed
+
+- Use obs-service-tar_scm instead of GitHub releases
+
-------------------------------------------------------------------
Sun Jun 30 20:48:31 UTC 2024 - Dirk Müller
diff --git a/python-pipx.spec b/python-pipx.spec
index 7e17d2f..33afadb 100644
--- a/python-pipx.spec
+++ b/python-pipx.spec
@@ -18,23 +18,25 @@
%{?sle15_python_module_pythons}
Name: python-pipx
-Version: 1.6.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: https://files.pythonhosted.org/packages/source/p/pipx/pipx-%{version}.tar.gz
+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 if python-base < 3.11)
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module argcomplete >= 1.9.4}
@@ -51,6 +53,7 @@ Install and Run Python Applications in Isolated Environments
%autosetup -p1 -n pipx-%{version}
%build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%install
@@ -64,8 +67,15 @@ Install and Run Python Applications in Isolated Environments
%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 CHANGELOG.md README.md
+%doc docs/CHANGELOG.md docs/README.md
%license LICENSE
%python_alternative %{_bindir}/pipx
%{python_sitelib}/pipx