17 Commits

Author SHA256 Message Date
668cda8dfd Accepting request 1300712 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=19
2025-08-21 14:59:53 +00:00
b954cf22d2 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=50
2025-08-21 08:23:45 +00:00
8ce7da8faf Accepting request 1291688 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=18
2025-07-10 20:13:51 +00:00
7375e372f8 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=48
2025-07-10 12:34:37 +00:00
1b63ed844d Accepting request 1288662 from devel:languages:python
- Add click-8.2.patch to fix tests with click >= 8.2
  gh#pypa/hatch#2013

OBS-URL: https://build.opensuse.org/request/show/1288662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=17
2025-06-27 21:02:06 +00:00
6ce7fa9c67 - Add click-8.2.patch to fix tests with click >= 8.2
gh#pypa/hatch#2013

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=46
2025-06-26 09:39:19 +00:00
2d0fb91ef5 Accepting request 1269788 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1269788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=16
2025-04-16 18:41:33 +00:00
ea041c61d6 Accepting request 1269779 from home:glaubitz:branches:devel:languages:python
- Update to 1.14.1
  * Remove uses of the deprecated --no-python-version-warning
    flag when using pip

OBS-URL: https://build.opensuse.org/request/show/1269779
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=44
2025-04-16 07:57:04 +00:00
7c07e9f922 Accepting request 1232669 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1232669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=15
2024-12-19 20:42:21 +00:00
4d5b97cf2e Accepting request 1232667 from home:nkrapp:branches:devel:languages:python
- Add fix-with-latest-hatchling.patch to restore compatibility with
  hatchling >= 1.26.0
- actually remove fix-test.patch from tracked files
- Update to 1.14.0:
  * Upgrade default CPython distributions to 20241206
  * Bump the minimum supported version of Hatchling to 1.26.3
  * Update virtualenv dependency

OBS-URL: https://build.opensuse.org/request/show/1232667
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=42
2024-12-19 18:48:28 +00:00
d19933b047 - actually remove fix-test.patch from tracked files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=41
2024-12-19 15:41:12 +00:00
39bd1bae2f - Upgrade to 1.13.0:
- Remove upstreamed patches:
  - fix-tests.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=40
2024-12-11 18:33:50 +00:00
9a2f7fa9c2 Accepting request 1193629 from devel:languages:python
- Add new patch to fix tests: fix-tests.patch
- Remove upstreamed patch: support-hatchling-1.22.patch
- update to 1.12.0:
  - The run/env run and test commands now treat inclusion variable
    options as an intersection rather than a union to allow for
    specific targeting of environments
  - Add ability to control the source of Python distributions
  - Upgrade Ruff to 0.4.5
  - Upgrade PyApp to 0.22.0 for binary builds
  - The fmt command no longer hides the commands that are being
    executed
  - Add default timeout for network requests, useful when installing
    Python distributions
  - Fix syntax highlighting contrast for the config show command
- 1.11.1:
  - Add official GitHub Action for installing Hatch
  - Fix terminal.styles.spinner configuration
  - Fix entry points in the pre-built distributions that binaries use
- 1.11.0:
  - Upgrade PyApp to 0.21.1 for binary builds
  - On Linux, install the highest compatible Python distribution
    variant based on CPU architecture rather than assuming recent
    hardware
- 1.10.0:
  - The run/env run, fmt and shell commands now only change the
    current working directory to the project root if not already
    inside the project
  - The shell command now accepts a single argument to specify the
    environment to enter which overrides the standard choice
    mechanisms. The arguments determining shell options have been

OBS-URL: https://build.opensuse.org/request/show/1193629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=14
2024-08-13 11:25:25 +00:00
dceb7e9db6 - Add new patch to fix tests: fix-tests.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=38
2024-08-13 06:34:01 +00:00
e744186903 - Remove upstreamed patch: support-hatchling-1.22.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=37
2024-08-12 09:31:07 +00:00
f720edea9a - Ignore some broken tests for non x86_64
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=36
2024-08-08 11:59:38 +00:00
a3657628ac - update to 1.12.0:
- The run/env run and test commands now treat inclusion variable
    options as an intersection rather than a union to allow for
    specific targeting of environments
  - Add ability to control the source of Python distributions
  - Upgrade Ruff to 0.4.5
  - Upgrade PyApp to 0.22.0 for binary builds
  - The fmt command no longer hides the commands that are being
    executed
  - Add default timeout for network requests, useful when installing
    Python distributions
  - Fix syntax highlighting contrast for the config show command
- 1.11.1:
  - Add official GitHub Action for installing Hatch
  - Fix terminal.styles.spinner configuration
  - Fix entry points in the pre-built distributions that binaries use
- 1.11.0:
  - Upgrade PyApp to 0.21.1 for binary builds
  - On Linux, install the highest compatible Python distribution
    variant based on CPU architecture rather than assuming recent
    hardware
- 1.10.0:
  - The run/env run, fmt and shell commands now only change the
    current working directory to the project root if not already
    inside the project
  - The shell command now accepts a single argument to specify the
    environment to enter which overrides the standard choice
    mechanisms. The arguments determining shell options have been
    converted to flags.
  - Add test command

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=35
2024-08-08 11:43:47 +00:00
2 changed files with 25 additions and 2 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Aug 21 08:22:26 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Thu Jul 10 12:33:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 26 09:36:32 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com> Thu Jun 26 09:36:32 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -24,6 +24,11 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-hatch%{psuffix} Name: python-hatch%{psuffix}
Version: 1.14.1 Version: 1.14.1
@@ -43,8 +48,6 @@ BuildRequires: %{python_module hatchling >= 1.26.3}
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: git-core Requires: git-core
Requires: python-click >= 8.0.6 Requires: python-click >= 8.0.6
Requires: python-hatchling >= 1.21.0 Requires: python-hatchling >= 1.21.0
@@ -62,6 +65,13 @@ Requires: python-zstandard < 1
Requires: uv Requires: uv
Requires: (python-pexpect >= 4.8 with python-pexpect < 5) Requires: (python-pexpect >= 4.8 with python-pexpect < 5)
Requires: (python-userpath >= 1.7 with python-userpath < 2) Requires: (python-userpath >= 1.7 with python-userpath < 2)
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%if %{with test} %if %{with test}
BuildRequires: %{python_module editables} BuildRequires: %{python_module editables}
BuildRequires: %{python_module filelock >= 3.7.1} BuildRequires: %{python_module filelock >= 3.7.1}
@@ -141,6 +151,9 @@ donttest+=" or test_pyenv or test_no_open or test_open"
%postun %postun
%python_uninstall_alternative hatch %python_uninstall_alternative hatch
%pre
%python_libalternatives_reset_alternative hatch
%if !%{with test} %if !%{with test}
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md