Compare commits
17 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 668cda8dfd | |||
| b954cf22d2 | |||
| 8ce7da8faf | |||
| 7375e372f8 | |||
| 1b63ed844d | |||
| 6ce7fa9c67 | |||
| 2d0fb91ef5 | |||
| ea041c61d6 | |||
| 7c07e9f922 | |||
| 4d5b97cf2e | |||
| d19933b047 | |||
| 39bd1bae2f | |||
| 9a2f7fa9c2 | |||
| dceb7e9db6 | |||
| e744186903 | |||
| f720edea9a | |||
| a3657628ac |
29
click-8.2.patch
Normal file
29
click-8.2.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From df295583784427214324b974c75901da12931ec1 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Garcia Moreno <daniel.garcia@suse.com>
|
||||
Date: Thu, 26 Jun 2025 11:32:54 +0200
|
||||
Subject: [PATCH] Fix test_self with click >= 8.2.0
|
||||
|
||||
https://click.palletsprojects.com/en/stable/changes/#version-8-2-0
|
||||
---
|
||||
tests/cli/self/test_self.py | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/cli/self/test_self.py b/tests/cli/self/test_self.py
|
||||
index cd1a4aed1..f727b87f4 100644
|
||||
--- a/tests/cli/self/test_self.py
|
||||
+++ b/tests/cli/self/test_self.py
|
||||
@@ -1,7 +1,13 @@
|
||||
import os
|
||||
+import importlib
|
||||
|
||||
|
||||
def test(hatch):
|
||||
result = hatch(os.environ['PYAPP_COMMAND_NAME'])
|
||||
+ exit_code = 2
|
||||
|
||||
- assert result.exit_code == 0, result.output
|
||||
+ click_version = importlib.metadata.version('click')
|
||||
+ if click_version <= '8.1.8':
|
||||
+ exit_code = 0
|
||||
+
|
||||
+ assert result.exit_code == exit_code, result.output
|
||||
@@ -1,40 +0,0 @@
|
||||
From 79d3c156d6d49d277d4a4014e78f84b02aac978b Mon Sep 17 00:00:00 2001
|
||||
From: Cary <hawkinscary23@gmail.com>
|
||||
Date: Sat, 27 Sep 2025 14:07:34 -0700
|
||||
Subject: [PATCH] Fix failing tests, handle subprocess buffering causing output
|
||||
issues on terminal (#2061)
|
||||
|
||||
Co-authored-by: Ofek Lev <ofekmeister@gmail.com>
|
||||
|
||||
diff --git a/tests/cli/config/test_set.py b/tests/cli/config/test_set.py
|
||||
index cd576feb4..73bb9bc03 100644
|
||||
--- a/tests/cli/config/test_set.py
|
||||
+++ b/tests/cli/config/test_set.py
|
||||
@@ -184,6 +184,7 @@ def test_project_location_basic_set_first_project(hatch, config_file, helpers, t
|
||||
f"""
|
||||
New setting:
|
||||
project = "foo"
|
||||
+
|
||||
[projects]
|
||||
foo = "{path}"
|
||||
"""
|
||||
@@ -205,6 +206,7 @@ def test_project_location_complex_set_first_project(hatch, config_file, helpers,
|
||||
f"""
|
||||
New setting:
|
||||
project = "foo"
|
||||
+
|
||||
[projects.foo]
|
||||
location = "{path}"
|
||||
"""
|
||||
diff --git a/tests/cli/self/test_self.py b/tests/cli/self/test_self.py
|
||||
index cd1a4aed1..3059905f5 100644
|
||||
--- a/tests/cli/self/test_self.py
|
||||
+++ b/tests/cli/self/test_self.py
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
|
||||
def test(hatch):
|
||||
- result = hatch(os.environ['PYAPP_COMMAND_NAME'])
|
||||
+ result = hatch(os.environ['PYAPP_COMMAND_NAME'], '-h')
|
||||
|
||||
assert result.exit_code == 0, result.output
|
||||
@@ -3,6 +3,19 @@ From: Ofek Lev <ofekmeister@gmail.com>
|
||||
Date: Sat, 9 Nov 2024 11:35:16 -0500
|
||||
Subject: [PATCH] Bump `packaging` to 24.2 (#1788)
|
||||
|
||||
---
|
||||
hatch.toml | 4 -
|
||||
pyproject.toml | 2 +-
|
||||
src/hatch/template/default.py | 2 +-
|
||||
tests/backend/licenses/__init__.py | 0
|
||||
tests/backend/licenses/test_parse.py | 56 --
|
||||
tests/backend/licenses/test_supported.py | 31 -
|
||||
tests/backend/metadata/test_core.py | 2 +-
|
||||
15 files changed, 11 insertions(+), 974 deletions(-)
|
||||
delete mode 100644 tests/backend/licenses/__init__.py
|
||||
delete mode 100644 tests/backend/licenses/test_parse.py
|
||||
delete mode 100644 tests/backend/licenses/test_supported.py
|
||||
|
||||
Index: hatch-hatch-v1.14.0/hatch.toml
|
||||
===================================================================
|
||||
--- hatch-hatch-v1.14.0.orig/hatch.toml
|
||||
|
||||
BIN
hatch-v1.14.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
hatch-v1.14.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a32e3dff30f0ca4d510de38a248bcc6125dbd2dac7e8b6435e14a29d6dd3e018
|
||||
size 5275641
|
||||
@@ -1,28 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 17 08:20:59 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.15.1
|
||||
* Fix compatibility with cached default CPython distributions
|
||||
that were sourced from GitHub releases of the old owner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 10 01:24:10 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Use python-uv for Requires, so it explicitly matches the Python version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 16 07:47:48 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
- Update to 1.15.0
|
||||
* Drop support for Python 3.8
|
||||
* Support Python 3.14
|
||||
* Upgrade default CPython distributions to 20251014
|
||||
* Upgrade default PyPy distributions to 7.3.20
|
||||
- Update to 1.14.2
|
||||
* Fix compatibility with recent versions of Click
|
||||
- drop click-8.2.patch, fixed upstream
|
||||
- Add fix-tests.patch to fix tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 21 08:22:26 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-hatch
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -31,7 +31,7 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-hatch%{psuffix}
|
||||
Version: 1.15.1
|
||||
Version: 1.14.1
|
||||
Release: 0
|
||||
Summary: Modern, extensible Python project management
|
||||
License: MIT
|
||||
@@ -40,8 +40,8 @@ URL: https://hatch.pypa.io/latest/
|
||||
Source: https://github.com/pypa/hatch/archive/refs/tags/hatch-v%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM fix-with-latest-hatchling.patch gh#f8a2eaa gh#28f233c gh#fc25690
|
||||
Patch0: fix-with-latest-hatchling.patch
|
||||
# PATCH-FIX-UPSTREAM fix-tests.patch gh#79d3c15
|
||||
Patch1: fix-tests.patch
|
||||
# PATCH-FIX-UPSTREAM click-8.2.patch gh#pypa/hatch#2013
|
||||
Patch1: click-8.2.patch
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module hatch-vcs >= 0.3}
|
||||
BuildRequires: %{python_module hatchling >= 1.26.3}
|
||||
@@ -60,9 +60,9 @@ Requires: python-rich >= 11.2.0
|
||||
Requires: python-shellingham >= 1.4.0
|
||||
Requires: python-tomli-w >= 1.0
|
||||
Requires: python-tomlkit >= 0.11.1
|
||||
Requires: python-uv >= 0.5.23
|
||||
Requires: python-virtualenv >= 20.16.2
|
||||
Requires: python-zstandard < 1
|
||||
Requires: uv
|
||||
Requires: (python-pexpect >= 4.8 with python-pexpect < 5)
|
||||
Requires: (python-userpath >= 1.7 with python-userpath < 2)
|
||||
%if %{with libalternatives}
|
||||
@@ -82,6 +82,7 @@ BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module trustme}
|
||||
BuildRequires: cargo
|
||||
BuildRequires: uv
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user