2 Commits

Author SHA256 Message Date
7f933f7111 Sync with factory 2026-02-18 12:30:02 +01:00
1e4f740cee Convert to libalternatives, bsc#1245883 2025-11-03 14:58:50 +01:00
12 changed files with 90 additions and 21 deletions

3
.gitattributes vendored
View File

@@ -1,4 +1,4 @@
## Default LFS
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
@@ -12,6 +12,7 @@
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text

5
.gitignore vendored
View File

@@ -1 +1,4 @@
.osc
*.obscpio
*.osc
_build.*
.pbuild

View File

@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/pypa/pipx</param>
<param name="revision">1.7.1</param>
<param name="revision">1.8.0</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">(\d+\.\d+\.\d+)</param>
<param name="versionformat">@PARENT_TAG@</param>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/pypa/pipx</param>
<param name="changesrevision">4462299fa391b7349074facc39c73767853c9d02</param></service></servicedata>
<param name="changesrevision">f0076c74571aceaaefe919b2eeb46011075ee5c1</param></service></servicedata>

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
pipx-1.8.0.obscpio LFS Normal file

Binary file not shown.

BIN
pipx-1.8.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,4 +1,4 @@
name: pipx
version: 1.7.1
mtime: 1724431976
commit: 4462299fa391b7349074facc39c73767853c9d02
version: 1.8.0
mtime: 1759157773
commit: f0076c74571aceaaefe919b2eeb46011075ee5c1

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Wed Feb 4 10:58:44 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Add pythons_for_pypi macro. This macro will help to build the python
minimal stack for different python versions.
-------------------------------------------------------------------
Tue Nov 25 16:07:03 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
- Update to version 1.8.0:
* chore(deps): bump pypa/gh-action-pypi-publish in /.github/workflows (#1664)
* Add support for Python 3.13 (#1647)
* Add examples for using ssh to install from Source Control (#1629)
* Fix typo in PATH notification message (#1667)
* fix #1652: Use GitHub API for standalone python checksums (#1662)
* BUG: fix running a script with explicitly empty `dependencies = []` (#1658)
* Check for stdout/stderr in case file descriptor is closed (#1620)
* Update the logic of finding python interpreter (#1631)
* Update the archive name of build of Python for Windows (#1632)
* fix #1610: Reorder upgrade option and arguments (#1625)
* Upgrade ruff and rename ruleset: `TCH` → `TC` (#1626)
* Drop support for Python 3.8 (#1628)
* fix: make Github Action safe to RCE via pull request title (#1600)
* fix: no message when no packages upgraded with upgrade-all (#1597)
* chore(deps): bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 in the actions group (#1595)
* Add --all-shells flag to ensure_path (#1591)
* chore(deps): bump pypa/gh-action-pypi-publish in the actions group (#1586)
* feat: rename USE_EMOJI to PIPX_USE_EMOJI (#1581)
* Bump pypa/gh-action-pypi-publish from 1.12.0 to 1.12.2 in the actions group (#1571)
* Bump pypa/gh-action-pypi-publish in the actions group across 1 directory (#1569)
* Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 in the actions group (#1555)
* [pre-commit.ci] pre-commit autoupdate (#1558)
* [pre-commit.ci] pre-commit autoupdate (#1552)
* Bump pypa/gh-action-pypi-publish in the actions group (#1549)
* [pre-commit.ci] pre-commit autoupdate (#1546)
* [pre-commit.ci] pre-commit autoupdate (#1543)
* Fix `/changelog/` and `/contributing/` docs URLs (#1541)
* Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1 (#1532)
* fix(commands/common/_copy_package_resource): if destination exists and files are same, do not overwrite existing files (#1528)
* Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0 (#1529)
* [pre-commit.ci] pre-commit autoupdate (#1530)
* [pre-commit.ci] pre-commit autoupdate (#1512)
- %docs CHANGELOG.md -> changelog.md
-------------------------------------------------------------------
Thu Aug 21 15:24:12 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Sat Jul 19 07:27:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Mon Sep 09 06:44:16 UTC 2024 - daniel.garcia@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pipx
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,15 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?pythons_for_pypi}
%{?sle15_python_module_pythons}
Name: python-pipx
Version: 1.7.1
Version: 1.8.0
Release: 0
Summary: Install and Run Python Applications in Isolated Environments
License: MIT
@@ -29,8 +35,6 @@ 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
@@ -38,6 +42,13 @@ Requires: python-platformdirs >= 2.1
Requires: python-userpath >= 1.6
Requires: (python-tomli if python-base < 3.11)
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
# SECTION test requirements
BuildRequires: %{python_module argcomplete >= 1.9.4}
BuildRequires: %{python_module packaging >= 20}
@@ -67,6 +78,9 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%postun
%python_uninstall_alternative pipx
%pre
%python_libalternatives_reset_alternative pipx
%check
# Tests require network or .pipx_tests with downloaded .whl, so not
# running pytest
@@ -75,7 +89,7 @@ PYTHONPATH=%{buildroot}%{$python_sitelib} %{buildroot}%{_bindir}/pipx-%{$python_
}
%files %{python_files}
%doc docs/CHANGELOG.md docs/README.md
%doc docs/changelog.md docs/README.md
%license LICENSE
%python_alternative %{_bindir}/pipx
%{python_sitelib}/pipx