8 Commits

Author SHA256 Message Date
0b701990af 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
3938a02379 - 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
9b688f3e96 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
657a2ffdd1 - 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
3495fdafc8 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
7a63ca1060 - 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
c8b6ed18c7 - 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
78d66cb567 Accepting request 1195742 from home:VaiTon:branches:devel:languages:python
- Update to 1.7.0:
- Use obs-service-tar_scm instead of GitHub releases

OBS-URL: https://build.opensuse.org/request/show/1195742
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
2 changed files with 26 additions and 3 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
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 Mon Sep 09 06:44:16 UTC 2024 - daniel.garcia@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) 2025 SUSE LLC
# #
# 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,6 +16,11 @@
# #
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pipx Name: python-pipx
Version: 1.7.1 Version: 1.7.1
@@ -29,8 +34,6 @@ BuildRequires: %{python_module hatchling >= 1.18}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires: python >= 3.8 Requires: python >= 3.8
Requires: python-argcomplete >= 1.9.4 Requires: python-argcomplete >= 1.9.4
Requires: python-packaging >= 20 Requires: python-packaging >= 20
@@ -38,6 +41,13 @@ Requires: python-platformdirs >= 2.1
Requires: python-userpath >= 1.6 Requires: python-userpath >= 1.6
Requires: (python-tomli if python-base < 3.11) 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}
@@ -67,6 +77,9 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%postun %postun
%python_uninstall_alternative pipx %python_uninstall_alternative pipx
%pre
%python_libalternatives_reset_alternative pipx
%check %check
# Tests require network or .pipx_tests with downloaded .whl, so not # Tests require network or .pipx_tests with downloaded .whl, so not
# running pytest # running pytest