15
0
forked from pool/python-pipx

12 Commits

Author SHA256 Message Date
80877631ab Accepting request 1330921 from devel:languages:python
- Add pythons_for_pypi macro. This macro will help to build the python
  minimal stack for different python versions.

OBS-URL: https://build.opensuse.org/request/show/1330921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pipx?expand=0&rev=16
2026-02-04 20:08:59 +00:00
12b8b2974b - Add pythons_for_pypi macro. This macro will help to build the python
minimal stack for different python versions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipx?expand=0&rev=35
2026-02-04 11:02:55 +00:00
5f9869d165 Accepting request 1320050 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1320050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pipx?expand=0&rev=15
2025-11-26 16:15:43 +00:00
ce04078c30 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipx?expand=0&rev=33
2025-11-25 16:28:19 +00:00
434de59c9f Accepting request 1300819 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pipx?expand=0&rev=14
2025-08-21 18:33:12 +00:00
2d05952b77 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipx?expand=0&rev=31
2025-08-21 15:24:35 +00:00
e47ed99684 Accepting request 1294493 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1294493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pipx?expand=0&rev=13
2025-07-21 17:59:44 +00:00
cecf0b3591 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipx?expand=0&rev=29
2025-07-19 07:27:55 +00:00
de96a7d07e Accepting request 1199618 from devel:languages:python
- Update to version 1.7.1:
  * 1.7.1: Use minimum supported Python to build zipapp (#1515)

- 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

OBS-URL: https://build.opensuse.org/request/show/1199618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pipx?expand=0&rev=12
2024-09-09 12:45:33 +00:00
4d851f57eb - Fix python-tomli requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipx?expand=0&rev=27
2024-09-09 08:28:25 +00:00
c83ba3b74d - Update to version 1.7.1:
* 1.7.1: Use minimum supported Python to build zipapp (#1515)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipx?expand=0&rev=26
2024-09-09 07:31:06 +00:00
a54c2c3590 - Update to 1.7.0:
- Use obs-service-tar_scm instead of GitHub releases

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pipx?expand=0&rev=25
2024-09-09 06:43:47 +00:00
8 changed files with 147 additions and 8 deletions

18
_service Normal file
View File

@@ -0,0 +1,18 @@
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/pypa/pipx</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>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service>
<service name="tar" mode="manual"/>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="manual" />
</services>

4
_servicedata Normal file
View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:840610e00103e3d49ae24b6b51804b60988851a5dd65468adb71e5a97e2699b2
size 307321

3
pipx-1.8.0.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:854a846cabee2051f99d0a2c0b989290a379bf3dbfc607a9fb2aca701c4360e8
size 1257484

3
pipx-1.8.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae8cf672477404065a3d82916ba9783c3355feba63cd572a87f3f7f5449f784a
size 450755

4
pipx.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: pipx
version: 1.8.0
mtime: 1759157773
commit: f0076c74571aceaaefe919b2eeb46011075ee5c1

View File

@@ -1,3 +1,89 @@
-------------------------------------------------------------------
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
- 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 <eyadlorenzo@gmail.com>
- 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 <dmueller@suse.com> Sun Jun 30 20:48:31 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pipx # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,20 @@
# #
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?pythons_for_pypi}
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pipx Name: python-pipx
Version: 1.6.0 Version: 1.8.0
Release: 0 Release: 0
Summary: Install and Run Python Applications in Isolated Environments Summary: Install and Run Python Applications in Isolated Environments
License: MIT License: MIT
URL: https://github.com/pypa/pipx 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 hatch-vcs >= 0.4}
BuildRequires: %{python_module hatchling >= 1.18} BuildRequires: %{python_module hatchling >= 1.18}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
@@ -33,9 +39,16 @@ Requires: python >= 3.8
Requires: python-argcomplete >= 1.9.4 Requires: python-argcomplete >= 1.9.4
Requires: python-packaging >= 20 Requires: python-packaging >= 20
Requires: python-platformdirs >= 2.1 Requires: python-platformdirs >= 2.1
Requires: python-tomli
Requires: python-userpath >= 1.6 Requires: python-userpath >= 1.6
Requires: (python-tomli if python-base < 3.11)
BuildArch: noarch BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module argcomplete >= 1.9.4} BuildRequires: %{python_module argcomplete >= 1.9.4}
BuildRequires: %{python_module packaging >= 20} BuildRequires: %{python_module packaging >= 20}
@@ -51,6 +64,7 @@ Install and Run Python Applications in Isolated Environments
%autosetup -p1 -n pipx-%{version} %autosetup -p1 -n pipx-%{version}
%build %build
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel %pyproject_wheel
%install %install
@@ -64,8 +78,18 @@ Install and Run Python Applications in Isolated Environments
%postun %postun
%python_uninstall_alternative pipx %python_uninstall_alternative pipx
%pre
%python_libalternatives_reset_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} %files %{python_files}
%doc CHANGELOG.md README.md %doc docs/changelog.md docs/README.md
%license LICENSE %license LICENSE
%python_alternative %{_bindir}/pipx %python_alternative %{_bindir}/pipx
%{python_sitelib}/pipx %{python_sitelib}/pipx