From 9fc4d07550f68e215704f303860a97e50332b4b5cb0d062198960f703110a6ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Sep 2024 16:20:06 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-hatchling revision 84464b5e86a85ab709b370b4aaea5717 --- hatchling-1.18.0.tar.gz | 3 - hatchling-1.25.0.tar.gz | 3 + python-hatchling.changes | 152 ++++++++++++++++++++++++++++++++++++++- python-hatchling.spec | 12 ++-- 4 files changed, 158 insertions(+), 12 deletions(-) delete mode 100644 hatchling-1.18.0.tar.gz create mode 100644 hatchling-1.25.0.tar.gz diff --git a/hatchling-1.18.0.tar.gz b/hatchling-1.18.0.tar.gz deleted file mode 100644 index 39ba34d..0000000 --- a/hatchling-1.18.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:50e99c3110ce0afc3f7bdbadff1c71c17758e476731c27607940cfa6686489ca -size 57203 diff --git a/hatchling-1.25.0.tar.gz b/hatchling-1.25.0.tar.gz new file mode 100644 index 0000000..0c516df --- /dev/null +++ b/hatchling-1.25.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7064631a512610b52250a4d3ff1bd81551d6d1431c4eb7b72e734df6c74f4262 +size 64632 diff --git a/python-hatchling.changes b/python-hatchling.changes index 47e3dcf..30fc848 100644 --- a/python-hatchling.changes +++ b/python-hatchling.changes @@ -1,3 +1,153 @@ +------------------------------------------------------------------- +Sat Jun 22 18:36:39 UTC 2024 - Benoît Monin + +- update to version 1.25.0: + * Changed: + + The macos-max-compat option for the wheel target is now + disabled by default and will be removed in a future release + * Added: + + Artifacts for the wheel and sdist targets now have their + permission bits normalized + * Fixed: + + Ignore manylinux/musllinux tags for the wheel target artifact + name when enabling the infer_tag build data + + The wheel target build data infer_tag when enabled now + respects the MACOSX_DEPLOYMENT_TARGET environment variable + +------------------------------------------------------------------- +Sun May 12 11:35:32 UTC 2024 - Atri Bhattacharya + +- Update to version 1.24.2: + * Add .venv to the list of directories that cannot be traversed + * Output from the core Application utility now writes to stderr +- Changes from version 1.24.1: + * Maintain file permissions for shared-scripts + option/shared_scripts build data of the wheel target +- Changes from version 1.24.0: + * Add shared_data and shared_scripts build data for the wheel + target + +------------------------------------------------------------------- +Fri Apr 5 18:17:42 UTC 2024 - Benoît Monin + +- update to version 1.22.5: + * Fix reading metadata from source distributions when fields are + dynamic but not part of core metadata like entry points + +------------------------------------------------------------------- +Sun Mar 24 13:16:21 UTC 2024 - Dirk Müller + +- update to 1.22.4: + * Only read source distribution metadata for fields that are + explicitly defined as dynamic + +------------------------------------------------------------------- +Wed Mar 20 03:43:33 UTC 2024 - Matej Cepl + +- Clean up the SPEC file + +------------------------------------------------------------------- +Tue Mar 19 20:32:47 UTC 2024 - Benoît Monin + +- update to version 1.22.3: + * Fix the custom build hook when using dynamic dependencies + +------------------------------------------------------------------- +Sun Mar 17 21:05:34 UTC 2024 - Benoît Monin + +- update to 1.22.2: + * Fixed: + + Fix regression when loading metadata from source + distributions + + Fix metadata hooks when building wheels from source + distributions +- additional changes from version 1.22.1: + * Fixed: + + Update the default version of core metadata to 2.3 + +- additional changes from version 1.22.0: + * Deprecated: + + The app build target has been renamed to binary to reduce + ambiguity with the name of an upcoming feature. The former + name will still be usable for several minor releases. + * Added: + + Metadata for the wheel target now defaults to the PKG-INFO + metadata within source distributions + + Add dependencies method to the build hook interface so that + hooks can themselves dynamically define dependencies + + Update the default version of core metadata to 2.2 + + Update SPDX license information to version 3.23 + + Improve error message for when the default heuristics for + wheel file inclusion fail + * Fixed: + + Properly support core metadata version 2.2 + + Remove editables as a direct dependency + + Fix default wheel tag when the supported Python version + declaration is strict + + Load VCS ignore patterns first so that whitelisted patterns + can be excluded by project configuration + + Don't consider VCS ignore files that are outside of the VCS + boundary + + The sdist build target now gracefully ignores UNIX socket + files + + Begin ignoring certain files ubiquitously, like .DS_Store on + macOS +- remove editables from the required packages + +------------------------------------------------------------------- +Thu Jan 25 21:07:23 UTC 2024 - Benoît Monin + +- update to 1.21.1: + * Fix loading of local plugins to account for newly released + versions of a dependency + +------------------------------------------------------------------- +Thu Dec 21 14:30:24 UTC 2023 - Benoît Monin + +- update to 1.21.0: + * Add parent context modifier for path fields + +------------------------------------------------------------------- +Wed Dec 13 20:28:22 UTC 2023 - Benoît Monin + +- update to 1.20.0: + * Added: + + Add bypass-selection option to the wheel build target to + allow for empty (metadata-only) wheels + * Fixed: + + Fix regression in 1.19.1 that allowed exclude to count toward + inclusion selection, thus bypassing the default inclusion + selection heuristics + + Fix writing optional dependency core metadata in situations + where there are multiple environment markers +- additional changes from version 1.19.1: + * Fixed: + + Add better error message when the wheel build target cannot + determine what to ship + + Consider forced inclusion patterns and build-time artifacts + as file selection since some build hooks generate the entire + wheel contents without user configuration +- additional changes from version 1.19.0: + * Changed: + + An error will now be raised if a force-included path does not + exist + + An error will now be raised for the wheel build target if no + file selection options are defined + * Added: + + Officially support Python 3.12 + + Allow using an empty string for the sources option to add a + prefix to distribution paths + * Fixed: + + Properly handle non-zero version epoch for the standard + version scheme + + Fix the wheel build target for case insensitive file systems + when the project metadata name does not match the directory + name on disk + + The app build target no longer has suppressed output + + Prevent duplicate paths when projects require the sources + option while build hooks overwrite included paths + + Properly escape spaces for URI context formatting + ------------------------------------------------------------------- Wed Jun 21 08:25:58 UTC 2023 - Ben Greiner @@ -72,7 +222,7 @@ Sun Jan 8 17:46:56 UTC 2023 - Dirk Müller - update to 1.12.2: * Add macos-max-compat option to the wheel target that is enabled by default to - support the latest version 22.0 of the packaging library + support the latest version 22.0 of the packaging library ------------------------------------------------------------------- Mon Jan 2 10:31:58 UTC 2023 - Benoît Monin diff --git a/python-hatchling.spec b/python-hatchling.spec index 8962017..86c6cdd 100644 --- a/python-hatchling.spec +++ b/python-hatchling.spec @@ -1,7 +1,7 @@ # # spec file for package python-hatchling # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version: 1.18.0 +Version: 1.25.0 Release: 0 Summary: Build backend used by Hatch License: MIT URL: https://hatch.pypa.io/latest/ Source0: https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module editables >= 0.3} BuildRequires: %{python_module packaging >= 21.3} BuildRequires: %{python_module pathspec >= 0.10.1} BuildRequires: %{python_module pip} @@ -34,17 +33,14 @@ BuildRequires: %{python_module tomli >= 1.2.2 if %python-base < 3.11} BuildRequires: %{python_module trove-classifiers} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-editables >= 0.3 Requires: python-packaging >= 21.3 Requires: python-pathspec >= 0.10.1 Requires: python-pluggy >= 1.0.0 Requires: python-trove-classifiers +Requires: (python-tomli >= 1.2.2 if python-base < 3.11) Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch -%if 0%{?python_version_nodots} < 311 -Requires: python-tomli >= 1.2.2 -%endif %python_subpackages %description