Sync from SUSE:SLFO:Main python-hatchling revision 84464b5e86a85ab709b370b4aaea5717

This commit is contained in:
Adrian Schröter 2024-09-13 16:20:06 +02:00
parent 79884d449e
commit 9fc4d07550
4 changed files with 158 additions and 12 deletions

BIN
hatchling-1.18.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
hatchling-1.25.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,153 @@
-------------------------------------------------------------------
Sat Jun 22 18:36:39 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
- 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 <badshah400@gmail.com>
- 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 <benoit.monin@gmx.fr>
- 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 <dmueller@suse.com>
- 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 <mcepl@cepl.eu>
- Clean up the SPEC file
-------------------------------------------------------------------
Tue Mar 19 20:32:47 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
- 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 <benoit.monin@gmx.fr>
- 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 <benoit.monin@gmx.fr>
- 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 <benoit.monin@gmx.fr>
- update to 1.21.0:
* Add parent context modifier for path fields
-------------------------------------------------------------------
Wed Dec 13 20:28:22 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
- 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 <code@bnavigator.de>

View File

@ -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
BuildArch: noarch
%if 0%{?python_version_nodots} < 311
Requires: python-tomli >= 1.2.2
%endif
%python_subpackages
%description