14
0
forked from pool/python-hatch

13 Commits

Author SHA256 Message Date
37ac5b1d70 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
c1bc58a546 - 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
5148097abd 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
157deda1a5 - Update to 1.14.1
* Remove uses of the deprecated --no-python-version-warning
    flag when using pip

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
4c508e2cf2 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
11e9834751 - 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/package/show/devel:languages:python/python-hatch?expand=0&rev=42
2024-12-19 18:48:28 +00:00
eb3bdaccb7 - 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
dbbf8b2f2e - 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
931bfca499 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
b480155513 - 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
3b7e29dcd9 - 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
3954783633 - 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
bdc84c90cb - 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 2 additions and 25 deletions

View File

@@ -1,13 +1,3 @@
-------------------------------------------------------------------
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,11 +24,6 @@
%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
@@ -48,6 +43,8 @@ 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
@@ -65,13 +62,6 @@ 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}
@@ -151,9 +141,6 @@ 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