commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2024-06-25 23:06:35 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.18349 (New) Package is "python-hatchling" Tue Jun 25 23:06:35 2024 rev:27 rq:1183018 version:1.25.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2024-05-14 13:37:12.776073369 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.18349/python-hatchling.changes 2024-06-25 23:06:53.997040111 +0200 @@ -1,0 +2,16 @@ +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 + +--- Old: hatchling-1.24.2.tar.gz New: hatchling-1.25.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.zRh1Nz/_old 2024-06-25 23:06:55.193084200 +0200 +++ /var/tmp/diff_new_pack.zRh1Nz/_new 2024-06-25 23:06:55.193084200 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version:1.24.2 +Version:1.25.0 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.24.2.tar.gz -> hatchling-1.25.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.24.2/PKG-INFO new/hatchling-1.25.0/PKG-INFO --- old/hatchling-1.24.2/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.25.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.3 Name: hatchling -Version: 1.24.2 +Version: 1.25.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.24.2/src/hatchling/__about__.py new/hatchling-1.25.0/src/hatchling/__about__.py --- old/hatchling-1.24.2/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.25.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.24.2' +__version__ = '1.25.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.24.2/src/hatchling/builders/macos.py new/hatchling-1.25.0/src/hatchling/builders/macos.py --- old/hatchling-1.24.2/src/hatchling/builders/macos.py1970-01-01 01:00:00.0 +0100 +++ new/hatchling-1.25.0/src/hatchling/builders/macos.py2020-02-02 01:00:00.0 +0100 @@ -0,0 +1,58 @@ +from __future__ import annotations + +import os +import platform +import re + +__all__ = ['process_macos_plat_tag'] + + +def process_macos_plat_tag(plat: str, /, *, compat: bool) -> str: +""" +Process the macOS platform tag. This will normalize the macOS version to +10.16 if compat=True. If the MACOSX_DEPLOYMENT_TARGET environment variable +is set, then it will be used instead for the target version. If archflags +is set, then the archs will be respected, including a universal build. +""" +# Default to a native build +current_arch = platform.machine() +arm = current_arch == 'arm64' + +# Look for cross-compiles +archflags = os.environ.get('ARCHFLAGS', '') +if archflags and (archs := re.findall(r'-arch (\S+)', archflags)): +new_arch = 'universal2' if set(archs) == {'x86_64', 'arm64'} else archs[0] +arm = archs == ['arm64'] +plat = f'{plat[: plat.rfind(current_arch)]}{new_arch}' + +# Process macOS version +if sdk_match := re.search(r'macosx_(\d+_\d+)', plat): +macos_version = sdk_match.group(1) +target = os.environ.get('MACOSX_DEPLOYMENT_TARGET', None) + +try: +new_version = normalize_macos_version(target or macos_version, arm=arm, compat=compat) +except ValueError: +new_version = normalize_macos_version(macos_version, arm=arm, compat=compat) + +return plat.replace(macos_version,
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2024-03-25 21:07:04 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1905 (New) Package is "python-hatchling" Mon Mar 25 21:07:04 2024 rev:24 rq:1161120 version:1.22.4 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2024-03-20 21:11:14.207096058 +0100 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1905/python-hatchling.changes 2024-03-25 21:08:29.629834300 +0100 @@ -1,0 +2,7 @@ +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 + +--- Old: hatchling-1.22.3.tar.gz New: hatchling-1.22.4.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.KsXkVR/_old 2024-03-25 21:08:31.189891580 +0100 +++ /var/tmp/diff_new_pack.KsXkVR/_new 2024-03-25 21:08:31.205892167 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version:1.22.3 +Version:1.22.4 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.22.3.tar.gz -> hatchling-1.22.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.22.3/PKG-INFO new/hatchling-1.22.4/PKG-INFO --- old/hatchling-1.22.3/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.22.4/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.3 Name: hatchling -Version: 1.22.3 +Version: 1.22.4 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.22.3/src/hatchling/__about__.py new/hatchling-1.22.4/src/hatchling/__about__.py --- old/hatchling-1.22.3/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.22.4/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.22.3' +__version__ = '1.22.4' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.22.3/src/hatchling/metadata/core.py new/hatchling-1.22.4/src/hatchling/metadata/core.py --- old/hatchling-1.22.3/src/hatchling/metadata/core.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.22.4/src/hatchling/metadata/core.py 2020-02-02 01:00:00.0 +0100 @@ -93,8 +93,10 @@ pkg_info_contents = f.read() base_metadata = project_metadata_from_core_metadata(pkg_info_contents) -core_raw_metadata.pop('dynamic', None) -core_raw_metadata.update(base_metadata) +defined_dynamic = core_raw_metadata.pop('dynamic', []) +for field in defined_dynamic: +if field in base_metadata: +core_raw_metadata[field] = base_metadata[field] self._core_raw_metadata = core_raw_metadata
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2024-03-20 21:10:40 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1905 (New) Package is "python-hatchling" Wed Mar 20 21:10:40 2024 rev:23 rq:1159684 version:1.22.3 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2024-01-26 22:46:17.858102922 +0100 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1905/python-hatchling.changes 2024-03-20 21:11:14.207096058 +0100 @@ -1,0 +2,53 @@ +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 + +--- Old: hatchling-1.21.1.tar.gz New: hatchling-1.22.3.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.V0p5Ux/_old 2024-03-20 21:11:15.355138245 +0100 +++ /var/tmp/diff_new_pack.V0p5Ux/_new 2024-03-20 21:11:15.355138245 +0100 @@ -18,14 +18,13 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version:1.21.1 +Version:1.22.3 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 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 ++ hatchling-1.21.1.tar.gz -> hatchling-1.22.3.tar.gz ++ 1824 lines of diff (skipped)
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2024-01-26 22:46:14 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1815 (New) Package is "python-hatchling" Fri Jan 26 22:46:14 2024 rev:22 rq:1141699 version:1.21.1 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2023-12-28 22:54:58.824227182 +0100 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1815/python-hatchling.changes 2024-01-26 22:46:17.858102922 +0100 @@ -1,0 +2,7 @@ +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 + +--- Old: hatchling-1.21.0.tar.gz New: hatchling-1.21.1.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.SolSk8/_old 2024-01-26 22:46:19.530163137 +0100 +++ /var/tmp/diff_new_pack.SolSk8/_new 2024-01-26 22:46:19.534163281 +0100 @@ -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,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version:1.21.0 +Version:1.21.1 Release:0 Summary:Build backend used by Hatch License:MIT @@ -40,7 +40,7 @@ Requires: python-pluggy >= 1.0.0 Requires: python-trove-classifiers 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 ++ hatchling-1.21.0.tar.gz -> hatchling-1.21.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.21.0/PKG-INFO new/hatchling-1.21.1/PKG-INFO --- old/hatchling-1.21.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.21.1/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.21.0 +Version: 1.21.1 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.21.0/src/hatchling/__about__.py new/hatchling-1.21.1/src/hatchling/__about__.py --- old/hatchling-1.21.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.21.1/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.21.0' +__version__ = '1.21.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.21.0/src/hatchling/builders/wheel.py new/hatchling-1.21.1/src/hatchling/builders/wheel.py --- old/hatchling-1.21.0/src/hatchling/builders/wheel.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.21.1/src/hatchling/builders/wheel.py2020-02-02 01:00:00.0 +0100 @@ -192,7 +192,6 @@ module_file = f'{project_name}.py' if os.path.isfile(os.path.join(self.root, module_file)): -normalized_project_name = self.get_raw_fs_path_name(self.root, module_file) return FileSelectionOptions([], exclude, [], [module_file]) from glob import glob diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.21.0/src/hatchling/plugin/utils.py new/hatchling-1.21.1/src/hatchling/plugin/utils.py --- old/hatchling-1.21.0/src/hatchling/plugin/utils.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.21.1/src/hatchling/plugin/utils.py 2020-02-02 01:00:00.0 +0100 @@ -11,11 +11,11 @@ def load_plugin_from_script(path: str, script_name: str, plugin_class: type[T], plugin_id: str) -> type[T]: -import importlib +from importlib.util import module_from_spec, spec_from_file_location -spec = importlib.util.spec_from_file_location(script_name, path) # type: ignore -module = importlib.util.module_from_spec(spec) # type: ignore -spec.loader.exec_module(module) +spec = spec_from_file_location(script_name, path) +module = module_from_spec(spec) # type: ignore +spec.loader.exec_module(module) # type:
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2023-12-28 22:54:51 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.28375 (New) Package is "python-hatchling" Thu Dec 28 22:54:51 2023 rev:21 rq:1135288 version:1.21.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2023-12-15 21:46:52.877277335 +0100 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.28375/python-hatchling.changes 2023-12-28 22:54:58.824227182 +0100 @@ -1,0 +2,6 @@ +Thu Dec 21 14:30:24 UTC 2023 - Benoît Monin + +- update to 1.21.0: + * Add parent context modifier for path fields + +--- Old: hatchling-1.20.0.tar.gz New: hatchling-1.21.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.t5tYpT/_old 2023-12-28 22:54:59.308244851 +0100 +++ /var/tmp/diff_new_pack.t5tYpT/_new 2023-12-28 22:54:59.312244998 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version:1.20.0 +Version:1.21.0 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.20.0.tar.gz -> hatchling-1.21.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.20.0/PKG-INFO new/hatchling-1.21.0/PKG-INFO --- old/hatchling-1.20.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.21.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.20.0 +Version: 1.21.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.20.0/src/hatchling/__about__.py new/hatchling-1.21.0/src/hatchling/__about__.py --- old/hatchling-1.20.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.21.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.20.0' +__version__ = '1.21.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.20.0/src/hatchling/cli/build/__init__.py new/hatchling-1.21.0/src/hatchling/cli/build/__init__.py --- old/hatchling-1.20.0/src/hatchling/cli/build/__init__.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.21.0/src/hatchling/cli/build/__init__.py2020-02-02 01:00:00.0 +0100 @@ -86,7 +86,7 @@ app.display_info(artifact) -def build_command(subparsers: argparse._SubParsersAction, defaults: Any) -> None: # noqa: SLF001 +def build_command(subparsers: argparse._SubParsersAction, defaults: Any) -> None: parser = subparsers.add_parser('build') parser.add_argument( '-d', '--directory', dest='directory', help='The directory in which to build artifacts', **defaults diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.20.0/src/hatchling/cli/dep/__init__.py new/hatchling-1.21.0/src/hatchling/cli/dep/__init__.py --- old/hatchling-1.20.0/src/hatchling/cli/dep/__init__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.21.0/src/hatchling/cli/dep/__init__.py 2020-02-02 01:00:00.0 +0100 @@ -23,14 +23,14 @@ sys.exit(0 if dependencies_in_sync(list(map(Requirement, dependencies)), sys_path) else 1) -def synced_command(subparsers: argparse._SubParsersAction, defaults: Any) -> None: # noqa: SLF001 +def synced_command(subparsers: argparse._SubParsersAction, defaults: Any) -> None: parser = subparsers.add_parser('synced') parser.add_argument('dependencies', nargs='+') parser.add_argument('-p', '--python', dest='python', **defaults) parser.set_defaults(func=synced_impl) -def dep_command(subparsers: argparse._SubParsersAction, defaults: Any) -> None: # noqa: SLF001 +def dep_command(subparsers: argparse._SubParsersAction, defaults: Any) -> None: parser = subparsers.add_parser('dep') subparsers = parser.add_subparsers() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.20.0/src/hatchling/cli/metadata/__init__.py new/hatchling-1.21.0/src/hatchling/cli/metadata/__init__.py --- old/hatchling-1.20.0/src/hatchling/cli/metadata/__init__.py 2020-02-02 01:00:00.0 +0100
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2023-06-22 23:24:45 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.15902 (New) Package is "python-hatchling" Thu Jun 22 23:24:45 2023 rev:19 rq:1094471 version:1.18.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2023-06-06 19:55:43.202281454 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.15902/python-hatchling.changes 2023-06-22 23:24:48.393688247 +0200 @@ -1,0 +2,8 @@ +Wed Jun 21 08:25:58 UTC 2023 - Ben Greiner + +- Update to 1.18.0 + * Drop support for Python 3.7 + * Update the list of directories that are always excluded for +builds + +--- Old: hatchling-1.17.1.tar.gz New: hatchling-1.18.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.5YVxuF/_old 2023-06-22 23:24:49.517685395 +0200 +++ /var/tmp/diff_new_pack.5YVxuF/_new 2023-06-22 23:24:49.533685354 +0200 @@ -18,15 +18,14 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version:1.17.1 +Version:1.18.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.7} +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module editables >= 0.3} -BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} BuildRequires: %{python_module packaging >= 21.3} BuildRequires: %{python_module pathspec >= 0.10.1} BuildRequires: %{python_module pip} @@ -43,9 +42,6 @@ Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch -%if 0%{?python_version_nodots} < 38 -Requires: python-importlib-metadata -%endif %if 0%{?python_version_nodots} < 311 Requires: python-tomli >= 1.2.2 %endif ++ hatchling-1.17.1.tar.gz -> hatchling-1.18.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.17.1/.gitignore new/hatchling-1.18.0/.gitignore --- old/hatchling-1.17.1/.gitignore 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.18.0/.gitignore 2020-02-02 01:00:00.0 +0100 @@ -14,6 +14,7 @@ /.idea/ /.mypy_cache/ /.pytest_cache/ +/.ruff_cache/ /.vscode/ /backend/dist/ /dist/ @@ -21,3 +22,6 @@ # Root files /.coverage* + +# Auto-generated during builds +/src/hatch/_version.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.17.1/PKG-INFO new/hatchling-1.18.0/PKG-INFO --- old/hatchling-1.17.1/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.18.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.17.1 +Version: 1.18.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek @@ -16,7 +16,6 @@ Classifier: License :: OSI Approved :: MIT License Classifier: Natural Language :: English Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 @@ -25,9 +24,8 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Build Tools Classifier: Topic :: Software Development :: Libraries :: Python Modules -Requires-Python: >=3.7 +Requires-Python: >=3.8 Requires-Dist: editables>=0.3 -Requires-Dist: importlib-metadata; python_version < '3.8' Requires-Dist: packaging>=21.3 Requires-Dist: pathspec>=0.10.1 Requires-Dist: pluggy>=1.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.17.1/pyproject.toml new/hatchling-1.18.0/pyproject.toml --- old/hatchling-1.17.1/pyproject.toml 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.18.0/pyproject.toml 2020-02-02 01:00:00.0 +0100 @@ -9,7 +9,7 @@ description = "Modern, extensible Python build backend" readme = "README.md" license = "MIT" -requires-python = ">=3.7" +requires-python = ">=3.8" keywords = [ "build", "hatch", @@ -24,7 +24,6 @@ "License :: OSI Approved :: MIT
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2023-06-06 19:55:04 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.15902 (New) Package is "python-hatchling" Tue Jun 6 19:55:04 2023 rev:18 rq:1090791 version:1.17.1 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2023-05-13 17:17:41.954401127 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.15902/python-hatchling.changes 2023-06-06 19:55:43.202281454 +0200 @@ -1,0 +2,9 @@ +Sat Jun 3 18:21:13 UTC 2023 - Benoît Monin + +- update to version 1.17.1: + * Fix dev mode when the project has symlinks and file inclusion is + defined with the packages or only-include options + * Change the name of generated PTH files for dev mode so they come + first lexicographically and therefore load first + +--- Old: hatchling-1.17.0.tar.gz New: hatchling-1.17.1.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.npuzEZ/_old 2023-06-06 19:55:43.914285675 +0200 +++ /var/tmp/diff_new_pack.npuzEZ/_new 2023-06-06 19:55:43.922285724 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version:1.17.0 +Version:1.17.1 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.17.0.tar.gz -> hatchling-1.17.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.17.0/PKG-INFO new/hatchling-1.17.1/PKG-INFO --- old/hatchling-1.17.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.17.1/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.17.0 +Version: 1.17.1 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.17.0/src/hatchling/__about__.py new/hatchling-1.17.1/src/hatchling/__about__.py --- old/hatchling-1.17.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.17.1/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.17.0' +__version__ = '1.17.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.17.0/src/hatchling/builders/plugin/interface.py new/hatchling-1.17.1/src/hatchling/builders/plugin/interface.py --- old/hatchling-1.17.0/src/hatchling/builders/plugin/interface.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.17.1/src/hatchling/builders/plugin/interface.py 2020-02-02 01:00:00.0 +0100 @@ -176,13 +176,15 @@ - `relative_path` - the path relative to the project root; will be an empty string for external files - `distribution_path` - the path to be distributed as """ +yield from self.recurse_selected_project_files() +yield from self.recurse_forced_files(self.config.get_force_include()) + +def recurse_selected_project_files(self) -> Iterable[IncludedFile]: if self.config.only_include: yield from self.recurse_explicit_files(self.config.only_include) else: yield from self.recurse_project_files() -yield from self.recurse_forced_files(self.config.get_force_include()) - def recurse_project_files(self) -> Iterable[IncludedFile]: for root, dirs, files in safe_walk(self.root): relative_path = get_relative_path(root, self.root) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.17.0/src/hatchling/builders/wheel.py new/hatchling-1.17.1/src/hatchling/builders/wheel.py --- old/hatchling-1.17.0/src/hatchling/builders/wheel.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.17.1/src/hatchling/builders/wheel.py2020-02-02 01:00:00.0 +0100 @@ -396,7 +396,7 @@ self.artifact_project_id, reproducible=self.config.reproducible ) as archive, RecordFile() as records: exposed_packages = {} -for included_file in self.recurse_project_files(): +for included_file in self.recurse_selected_project_files(): if not included_file.path.endswith('.py'): continue @@ -438,6 +438,9 @@
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2023-05-13 17:17:27 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1533 (New) Package is "python-hatchling" Sat May 13 17:17:27 2023 rev:17 rq:1086981 version:1.17.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2023-05-10 16:17:19.574549419 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1533/python-hatchling.changes 2023-05-13 17:17:41.954401127 +0200 @@ -1,0 +2,18 @@ +Sat May 13 08:25:01 UTC 2023 - Benoît Monin + +- update to version 1.17.0: + * The app build target now embeds the project version in the name +of binaries + +--- +Thu May 11 18:48:27 UTC 2023 - Benoît Monin + +- update to version 1.16.1: + * Fix determining the built executable path for the app build +target option when using a local copy of PyApp when there is +an explicit target triple set +- additional changes from version 1.16.0: + * Add app build target option to build using a local copy of +the PyApp repository + +--- Old: hatchling-1.15.0.tar.gz New: hatchling-1.17.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.VGF9oL/_old 2023-05-13 17:17:42.422403819 +0200 +++ /var/tmp/diff_new_pack.VGF9oL/_new 2023-05-13 17:17:42.426403842 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version:1.15.0 +Version:1.17.0 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.15.0.tar.gz -> hatchling-1.17.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.15.0/PKG-INFO new/hatchling-1.17.0/PKG-INFO --- old/hatchling-1.15.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.17.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.15.0 +Version: 1.17.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.15.0/src/hatchling/__about__.py new/hatchling-1.17.0/src/hatchling/__about__.py --- old/hatchling-1.15.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.17.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.15.0' +__version__ = '1.17.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.15.0/src/hatchling/builders/app.py new/hatchling-1.17.0/src/hatchling/builders/app.py --- old/hatchling-1.15.0/src/hatchling/builders/app.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.17.0/src/hatchling/builders/app.py 2020-02-02 01:00:00.0 +0100 @@ -125,27 +125,49 @@ # https://doc.rust-lang.org/cargo/reference/config.html#buildtarget build_target = os.environ.get('CARGO_BUILD_TARGET', '') -with tempfile.TemporaryDirectory() as temp_dir: -temp_exe_path = os.path.join(temp_dir, 'bin', 'pyapp.exe' if on_windows else 'pyapp') +# This will determine whether we install from crates.io or build locally and is currently required for +# cross compilation: https://github.com/cross-rs/cross/issues/1215 +repo_path = os.environ.get('PYAPP_REPO', '') -install_command = [cargo_path, 'install', 'pyapp', '--force', '--root', temp_dir] -if self.config.pyapp_version: -install_command.extend(['--version', self.config.pyapp_version]) +with tempfile.TemporaryDirectory() as temp_dir: +exe_name = 'pyapp.exe' if on_windows else 'pyapp' +if repo_path: +context_dir = repo_path +target_dir = os.path.join(temp_dir, 'build') +if build_target: +temp_exe_path = os.path.join(target_dir, build_target, 'release', exe_name) +else: +temp_exe_path = os.path.join(target_dir, 'release', exe_name) +install_command = [cargo_path, 'build', '--release', '--target-dir', target_dir] +else: +context_dir = temp_dir +temp_exe_path =
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2023-05-10 16:17:16 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1533 (New) Package is "python-hatchling" Wed May 10 16:17:16 2023 rev:16 rq:1085808 version:1.15.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2023-05-03 12:56:17.491484979 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1533/python-hatchling.changes 2023-05-10 16:17:19.574549419 +0200 @@ -1,0 +2,6 @@ +Tue May 9 19:19:08 UTC 2023 - Benoît Monin + +- update to version 1.15.0: + * Add app build target + +--- Old: hatchling-1.14.1.tar.gz New: hatchling-1.15.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.6zPftw/_old 2023-05-10 16:17:20.046552211 +0200 +++ /var/tmp/diff_new_pack.6zPftw/_new 2023-05-10 16:17:20.050552234 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-hatchling -Version:1.14.1 +Version:1.15.0 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.14.1.tar.gz -> hatchling-1.15.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.14.1/PKG-INFO new/hatchling-1.15.0/PKG-INFO --- old/hatchling-1.14.1/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.15.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.14.1 +Version: 1.15.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.14.1/src/hatchling/__about__.py new/hatchling-1.15.0/src/hatchling/__about__.py --- old/hatchling-1.14.1/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.15.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.14.1' +__version__ = '1.15.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.14.1/src/hatchling/bridge/app.py new/hatchling-1.15.0/src/hatchling/bridge/app.py --- old/hatchling-1.14.1/src/hatchling/bridge/app.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.15.0/src/hatchling/bridge/app.py2020-02-02 01:00:00.0 +0100 @@ -7,6 +7,13 @@ class InvokedApplication: +def __init__(self) -> None: +self.__verbosity = int(os.environ.get('HATCH_VERBOSE', '0')) - int(os.environ.get('HATCH_QUIET', '0')) + +@property +def verbosity(self) -> int: +return self.__verbosity + def display(self, *args: Any, **kwargs: Any) -> None: send_app_command('display', *args, **kwargs) @@ -51,6 +58,13 @@ def __init__(self) -> None: self.__verbosity = int(os.environ.get('HATCH_VERBOSE', '0')) - int(os.environ.get('HATCH_QUIET', '0')) +@property +def verbosity(self) -> int: +""" +The verbosity level of the application, with 0 as the default. +""" +return self.__verbosity + def display(self, message: str = '', **kwargs: Any) -> None: # Do not document print(message) @@ -121,6 +135,7 @@ class SafeApplication: def __init__(self, app: InvokedApplication | Application) -> None: self.abort = app.abort +self.verbosity = app.verbosity self.display = app.display self.display_info = app.display_info self.display_error = app.display_error diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.14.1/src/hatchling/builders/app.py new/hatchling-1.15.0/src/hatchling/builders/app.py --- old/hatchling-1.14.1/src/hatchling/builders/app.py 1970-01-01 01:00:00.0 +0100 +++ new/hatchling-1.15.0/src/hatchling/builders/app.py 2020-02-02 01:00:00.0 +0100 @@ -0,0 +1,171 @@ +from __future__ import annotations + +import os +import sys +from typing import Any, Callable + +from hatchling.builders.config import BuilderConfig +from hatchling.builders.plugin.interface import BuilderInterface + + +class AppBuilderConfig(BuilderConfig): +SUPPORTED_VERSIONS = ('3.11', '3.10', '3.9', '3.8', '3.7') + +def __init__(self, *args: Any, **kwargs: Any) -> None: +
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2023-05-03 12:56:15 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1533 (New) Package is "python-hatchling" Wed May 3 12:56:15 2023 rev:15 rq:1083114 version:1.14.1 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2023-02-11 21:55:52.651082429 +0100 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1533/python-hatchling.changes 2023-05-03 12:56:17.491484979 +0200 @@ -1,0 +2,22 @@ +Mon Apr 24 16:30:48 UTC 2023 - Benoît Monin + +- update to 1.14.1: + * Fix internal archive root naming for the sdist target when +strict-naming is disabled to match the file name in order to +support the expectation of some frontends + +--- +Fri Apr 21 12:26:11 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +--- +Mon Apr 3 16:22:45 UTC 2023 - Benoît Monin + +- update to 1.14.0: + * Added: Add trove-classifiers as a dependency + * Fixed: Properly normalize metadata descriptions that contain +line breaks +- requires python-trove-classifiers + +--- Old: hatchling-1.13.0.tar.gz New: hatchling-1.14.1.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.cSxusg/_old 2023-05-03 12:56:18.035488176 +0200 +++ /var/tmp/diff_new_pack.cSxusg/_new 2023-05-03 12:56:18.039488199 +0200 @@ -16,8 +16,9 @@ # +%{?sle15_python_module_pythons} Name: python-hatchling -Version:1.13.0 +Version:1.14.1 Release:0 Summary:Build backend used by Hatch License:MIT @@ -31,12 +32,14 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module pluggy >= 1.0.0} 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(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch ++ hatchling-1.13.0.tar.gz -> hatchling-1.14.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.13.0/PKG-INFO new/hatchling-1.14.1/PKG-INFO --- old/hatchling-1.13.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.14.1/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.13.0 +Version: 1.14.1 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek @@ -32,6 +32,7 @@ Requires-Dist: pathspec>=0.10.1 Requires-Dist: pluggy>=1.0.0 Requires-Dist: tomli>=1.2.2; python_version < '3.11' +Requires-Dist: trove-classifiers Description-Content-Type: text/markdown # Hatchling diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.13.0/pyproject.toml new/hatchling-1.14.1/pyproject.toml --- old/hatchling-1.13.0/pyproject.toml 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.14.1/pyproject.toml 2020-02-02 01:00:00.0 +0100 @@ -41,6 +41,7 @@ "pathspec>=0.10.1", "pluggy>=1.0.0", "tomli>=1.2.2; python_version < '3.11'", + "trove-classifiers", ] [project.urls] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.13.0/scripts/update_classifiers.py new/hatchling-1.14.1/scripts/update_classifiers.py --- old/hatchling-1.13.0/scripts/update_classifiers.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.14.1/scripts/update_classifiers.py 1970-01-01 01:00:00.0 +0100 @@ -1,28 +0,0 @@ -import pathlib -from contextlib import closing -from importlib.metadata import version -from io import StringIO - -import trove_classifiers - - -def main(): -project_root = pathlib.Path(__file__).resolve().parent.parent -data_file = project_root / 'src' / 'hatchling' / 'metadata' / 'classifiers.py' - -with closing(StringIO()) as file_contents: -file_contents.write(f'VERSION = {version("trove-classifiers")!r}\n\nSORTED_CLASSIFIERS = [\n') - -for
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2023-02-11 21:55:50 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1848 (New) Package is "python-hatchling" Sat Feb 11 21:55:50 2023 rev:14 rq:1064172 version:1.13.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2023-01-09 17:23:23.427018522 +0100 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1848/python-hatchling.changes 2023-02-11 21:55:52.651082429 +0100 @@ -1,0 +2,6 @@ +Thu Feb 9 17:13:34 UTC 2023 - Benoît Monin + +- update to 1.13.0: + * Update the set of known trove classifiers to version 2023.2.8 + +--- Old: hatchling-1.12.2.tar.gz New: hatchling-1.13.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.gpnnaD/_old 2023-02-11 21:55:53.743089227 +0100 +++ /var/tmp/diff_new_pack.gpnnaD/_new 2023-02-11 21:55:53.747089252 +0100 @@ -17,7 +17,7 @@ Name: python-hatchling -Version:1.12.2 +Version:1.13.0 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.12.2.tar.gz -> hatchling-1.13.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.12.2/PKG-INFO new/hatchling-1.13.0/PKG-INFO --- old/hatchling-1.12.2/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.13.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.12.2 +Version: 1.13.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.12.2/src/hatchling/__about__.py new/hatchling-1.13.0/src/hatchling/__about__.py --- old/hatchling-1.12.2/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.13.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.12.2' +__version__ = '1.13.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.12.2/src/hatchling/bridge/app.py new/hatchling-1.13.0/src/hatchling/bridge/app.py --- old/hatchling-1.12.2/src/hatchling/bridge/app.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.13.0/src/hatchling/bridge/app.py2020-02-02 01:00:00.0 +0100 @@ -95,7 +95,7 @@ Meant to be used for messages that are not useful for most user experiences. The `level` option must be between 1 and 3 (inclusive). """ -if not 1 <= level <= 3: +if not 1 <= level <= 3: # noqa: PLR2004 error_message = 'Debug output can only have verbosity levels between 1 and 3 (inclusive)' raise ValueError(error_message) elif self.__verbosity >= level: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.12.2/src/hatchling/builders/plugin/interface.py new/hatchling-1.13.0/src/hatchling/builders/plugin/interface.py --- old/hatchling-1.12.2/src/hatchling/builders/plugin/interface.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.13.0/src/hatchling/builders/plugin/interface.py 2020-02-02 01:00:00.0 +0100 @@ -3,7 +3,7 @@ import os import re from abc import ABC, abstractmethod -from typing import TYPE_CHECKING, Any, Callable, Generator, Generic, cast +from typing import TYPE_CHECKING, Any, Callable, Generator, Generic, Iterable, cast from hatchling.builders.config import BuilderConfig, BuilderConfigBound, env_var_enabled from hatchling.builders.constants import EXCLUDED_DIRECTORIES, BuildEnvVars @@ -93,10 +93,11 @@ self.metadata.validate_fields() if directory is None: -if BuildEnvVars.LOCATION in os.environ: -directory = self.config.normalize_build_directory(os.environ[BuildEnvVars.LOCATION]) -else: -directory = self.config.directory +directory = ( + self.config.normalize_build_directory(os.environ[BuildEnvVars.LOCATION]) +if BuildEnvVars.LOCATION in os.environ +else self.config.directory +) if not os.path.isdir(directory): os.makedirs(directory) @@ -166,7 +167,7 @@ yield artifact
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2023-01-09 17:23:21 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.32243 (New) Package is "python-hatchling" Mon Jan 9 17:23:21 2023 rev:13 rq:1056910 version:1.12.2 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2023-01-04 17:50:40.561500239 +0100 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.32243/python-hatchling.changes 2023-01-09 17:23:23.427018522 +0100 @@ -1,0 +2,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 + +--- Old: hatchling-1.12.1.tar.gz New: hatchling-1.12.2.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.5Ni59s/_old 2023-01-09 17:23:24.135022529 +0100 +++ /var/tmp/diff_new_pack.5Ni59s/_new 2023-01-09 17:23:24.143022574 +0100 @@ -17,7 +17,7 @@ Name: python-hatchling -Version:1.12.1 +Version:1.12.2 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.12.1.tar.gz -> hatchling-1.12.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.12.1/PKG-INFO new/hatchling-1.12.2/PKG-INFO --- old/hatchling-1.12.1/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.12.2/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.12.1 +Version: 1.12.2 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek @@ -43,7 +43,7 @@ | | | | --- | --- | | Package | [![PyPI - Version](https://img.shields.io/pypi/v/hatchling.svg?logo=pypi=PyPI=gold)](https://pypi.org/project/hatchling/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/hatchling.svg?color=blue=Downloads=pypi=gold)](https://pypi.org/project/hatchling/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hatchling.svg?logo=python=Python=gold)](https://pypi.org/project/hatchling/) | -| Meta | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) [![code style - black](https://img.shields.io/badge/code%20style-black-00.svg)](https://github.com/psf/black) [![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/python/mypy) [![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ofek?logo=GitHub%20Sponsors=social)](https://github.com/sponsors/ofek) | +| Meta | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json)](https://github.com/charliermarsh/ruff) [![code style - Black](https://img.shields.io/badge/code%20style-black-00.svg)](https://github.com/psf/black) [![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/python/mypy) [![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ofek?logo=GitHub%20Sponsors=social)](https://github.com/sponsors/ofek) | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.12.1/README.md new/hatchling-1.12.2/README.md --- old/hatchling-1.12.1/README.md 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.12.2/README.md 2020-02-02 01:00:00.0 +0100 @@ -7,7 +7,7 @@ | | | | --- | --- | | Package | [![PyPI - Version](https://img.shields.io/pypi/v/hatchling.svg?logo=pypi=PyPI=gold)](https://pypi.org/project/hatchling/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/hatchling.svg?color=blue=Downloads=pypi=gold)](https://pypi.org/project/hatchling/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hatchling.svg?logo=python=Python=gold)](https://pypi.org/project/hatchling/) | -| Meta | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) [![code style -
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2023-01-04 17:50:35 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1563 (New) Package is "python-hatchling" Wed Jan 4 17:50:35 2023 rev:12 rq:1046167 version:1.12.1 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-10-22 14:12:09.840606752 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1563/python-hatchling.changes 2023-01-04 17:50:40.561500239 +0100 @@ -1,0 +2,30 @@ +Mon Jan 2 10:31:58 UTC 2023 - Benoît Monin + +- update to version 1.12.1: + * Fixed: ++ Fix minor regression in the PEP 517/660 function signatures + that was discovered by Fedora +- additional changes from version 1.12.0: + * Added: ++ Improve readability of exceptions ++ Add extra_metadata build data to the wheel target ++ Retroactively support License-Expression core metadata + starting at version 2.1 ++ Add more type hints ++ Update the set of known trove classifiers to version + 2022.12.22 ++ Update SPDX license information to version 3.19 ++ Store Hatchling's metadata in pyproject.toml + * Fixed: ++ Acknowledge the ARCHFLAGS environment variable on macOS for + the wheel target when build hooks set the infer_tag build + data to true ++ Fix dependency checking when encountering broken + distributions ++ Remove unnecessary encoding declaration in the default + template for the version build hook +- remove skip_python2: python >= 3.7 is already required +- drop python_module macro definition: provided by + python-rpm-macros + +--- Old: hatchling-1.11.1.tar.gz New: hatchling-1.12.1.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.27mrga/_old 2023-01-04 17:50:41.553506086 +0100 +++ /var/tmp/diff_new_pack.27mrga/_new 2023-01-04 17:50:41.557506110 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-hatchling # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,8 @@ # -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.11.1 +Version:1.12.1 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.11.1.tar.gz -> hatchling-1.12.1.tar.gz ++ 6413 lines of diff (skipped)
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-10-22 14:12:03 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.2275 (New) Package is "python-hatchling" Sat Oct 22 14:12:03 2022 rev:11 rq:1030248 version:1.11.1 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-10-12 18:24:04.409571832 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.2275/python-hatchling.changes 2022-10-22 14:12:09.840606752 +0200 @@ -1,0 +2,7 @@ +Thu Oct 20 19:55:11 UTC 2022 - Beno??t Monin + +- update to version 1.11.1: + * Fixed: Fix default file selection behavior of the wheel target +when there is a single top-level module + +--- Old: hatchling-1.11.0.tar.gz New: hatchling-1.11.1.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.fU0x0w/_old 2022-10-22 14:12:10.320607889 +0200 +++ /var/tmp/diff_new_pack.fU0x0w/_new 2022-10-22 14:12:10.336607927 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.11.0 +Version:1.11.1 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.11.0.tar.gz -> hatchling-1.11.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.11.0/PKG-INFO new/hatchling-1.11.1/PKG-INFO --- old/hatchling-1.11.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.11.1/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.11.0 +Version: 1.11.1 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.11.0/src/hatchling/__about__.py new/hatchling-1.11.1/src/hatchling/__about__.py --- old/hatchling-1.11.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.11.1/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.11.0' +__version__ = '1.11.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.11.0/src/hatchling/builders/config.py new/hatchling-1.11.1/src/hatchling/builders/config.py --- old/hatchling-1.11.0/src/hatchling/builders/config.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.11.1/src/hatchling/builders/config.py 2020-02-02 01:00:00.0 +0100 @@ -699,7 +699,7 @@ only_include_config = self.build_config only_include_location = 'tool.hatch.build.only-include' -only_include = only_include_config.get('only-include', []) or self.packages +only_include = only_include_config.get('only-include', self.default_only_include()) or self.packages if not isinstance(only_include, list): raise TypeError(f'Field `{only_include_location}` must be an array') @@ -786,6 +786,9 @@ def default_packages(self): return [] +def default_only_include(self): +return [] + def default_global_exclude(self): patterns = ['*.py[cdo]', f'/{DEFAULT_BUILD_DIRECTORY}'] patterns.sort() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.11.0/src/hatchling/builders/wheel.py new/hatchling-1.11.1/src/hatchling/builders/wheel.py --- old/hatchling-1.11.0/src/hatchling/builders/wheel.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.11.1/src/hatchling/builders/wheel.py2020-02-02 01:00:00.0 +0100 @@ -147,6 +147,7 @@ self.__include = [] self.__exclude = [] self.__packages = [] +self.__only_include = [] self.__core_metadata_constructor = None self.__shared_data = None @@ -154,7 +155,7 @@ self.__strict_naming = None def set_default_file_selection(self): -if self.__include or self.__exclude or self.__packages: +if self.__include or self.__exclude or self.__packages or self.__only_include: return for project_name in ( @@ -168,7 +169,7 @@ self.__packages.append(f'src/{project_name}') break
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-10-12 18:23:11 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.2275 (New) Package is "python-hatchling" Wed Oct 12 18:23:11 2022 rev:10 rq:1009265 version:1.11.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-09-25 15:34:39.447529635 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.2275/python-hatchling.changes 2022-10-12 18:24:04.409571832 +0200 @@ -1,0 +2,17 @@ +Sun Oct 9 19:49:17 UTC 2022 - Beno??t Monin + +- update to version 1.11.0: + * Added: ++ Add env version source to retrieve the version from an + environment variable ++ Add validate-bump option to the standard version scheme + * Fixed: ++ Use proper CSV formatting for the RECORD metadata file of the + wheel target to avoid warnings during installation by pip if, + for example, file names contain commas ++ Fix installations with pip for build hooks that modify + runtime dependencies ++ Decreasing verbosity now has no affect on output that should + always be displayed + +--- Old: hatchling-1.10.0.tar.gz New: hatchling-1.11.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.buCRYs/_old 2022-10-12 18:24:06.021575859 +0200 +++ /var/tmp/diff_new_pack.buCRYs/_new 2022-10-12 18:24:06.029575879 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.10.0 +Version:1.11.0 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.10.0.tar.gz -> hatchling-1.11.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.10.0/PKG-INFO new/hatchling-1.11.0/PKG-INFO --- old/hatchling-1.10.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.11.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.10.0 +Version: 1.11.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.10.0/src/hatchling/__about__.py new/hatchling-1.11.0/src/hatchling/__about__.py --- old/hatchling-1.10.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.11.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.10.0' +__version__ = '1.11.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.10.0/src/hatchling/bridge/app.py new/hatchling-1.11.0/src/hatchling/bridge/app.py --- old/hatchling-1.10.0/src/hatchling/bridge/app.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.11.0/src/hatchling/bridge/app.py2020-02-02 01:00:00.0 +0100 @@ -4,6 +4,9 @@ class InvokedApplication: +def display_always(self, *args, **kwargs): +send_app_command('display_always', *args, **kwargs) + def display_info(self, *args, **kwargs): send_app_command('display_info', *args, **kwargs) @@ -45,6 +48,10 @@ def __init__(self): self.__verbosity = int(os.environ.get('HATCH_VERBOSE', '0')) - int(os.environ.get('HATCH_QUIET', '0')) +def display_always(self, message='', **kwargs): +# Do not document +print(message) + def display_info(self, message='', **kwargs): """ Meant to be used for messages conveying basic information. @@ -110,6 +117,7 @@ class SafeApplication: def __init__(self, app): self.abort = app.abort +self.display_always = app.display_always self.display_info = app.display_info self.display_error = app.display_error self.display_success = app.display_success diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.10.0/src/hatchling/build.py new/hatchling-1.11.0/src/hatchling/build.py --- old/hatchling-1.10.0/src/hatchling/build.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.11.0/src/hatchling/build.py 2020-02-02 01:00:00.0 +0100 @@ -31,24 +31,6 @@ return builder.config.dependencies -def
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-09-25 15:34:36 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.2275 (New) Package is "python-hatchling" Sun Sep 25 15:34:36 2022 rev:9 rq:1005754 version:1.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-09-16 13:32:21.673272665 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.2275/python-hatchling.changes 2022-09-25 15:34:39.447529635 +0200 @@ -1,0 +2,13 @@ +Fri Sep 23 19:56:00 UTC 2022 - Beno??t Monin + +- update to version 1.10.0: + * Added: ++ Add the following to the list of directories that cannot be + traversed: __pypackages__, .hg, .hatch, .tox, .nox ++ Add deprecated option to allow ambiguous features + * Fixed: ++ Improve tracking of dynamic metadata ++ Fix core metadata for entries in + project.optional-dependencies that use direct references + +--- Old: hatchling-1.9.0.tar.gz New: hatchling-1.10.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.bzfBta/_old 2022-09-25 15:34:40.699532650 +0200 +++ /var/tmp/diff_new_pack.bzfBta/_new 2022-09-25 15:34:40.707532670 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.9.0 +Version:1.10.0 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.9.0.tar.gz -> hatchling-1.10.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.9.0/PKG-INFO new/hatchling-1.10.0/PKG-INFO --- old/hatchling-1.9.0/PKG-INFO2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.10.0/PKG-INFO 2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.9.0 +Version: 1.10.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.9.0/src/hatchling/__about__.py new/hatchling-1.10.0/src/hatchling/__about__.py --- old/hatchling-1.9.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.10.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.9.0' +__version__ = '1.10.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.9.0/src/hatchling/builders/config.py new/hatchling-1.10.0/src/hatchling/builders/config.py --- old/hatchling-1.9.0/src/hatchling/builders/config.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.10.0/src/hatchling/builders/config.py 2020-02-02 01:00:00.0 +0100 @@ -787,7 +787,7 @@ return [] def default_global_exclude(self): -patterns = ['*.py[cdo]', *EXCLUDED_DIRECTORIES] +patterns = ['*.py[cdo]', f'/{DEFAULT_BUILD_DIRECTORY}'] patterns.sort() return patterns diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.9.0/src/hatchling/builders/constants.py new/hatchling-1.10.0/src/hatchling/builders/constants.py --- old/hatchling-1.9.0/src/hatchling/builders/constants.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.10.0/src/hatchling/builders/constants.py2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,23 @@ DEFAULT_BUILD_DIRECTORY = 'dist' -EXCLUDED_DIRECTORIES = frozenset(('.git', '__pycache__')) +EXCLUDED_DIRECTORIES = frozenset( +( +# Python bytecode +'__pycache__', +# PEP 582 +'__pypackages__', +# Git +'.git', +# Mercurial +'.hg', +# Hatch +'.hatch', +# tox +'.tox', +# nox +'.nox', +) +) class BuildEnvVars: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.9.0/src/hatchling/metadata/core.py new/hatchling-1.10.0/src/hatchling/metadata/core.py --- old/hatchling-1.9.0/src/hatchling/metadata/core.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.10.0/src/hatchling/metadata/core.py 2020-02-02 01:00:00.0 +0100 @@ -28,6 +28,7 @@ self._hatch = None self._core_raw_metadata =
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-09-16 13:32:02 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.2083 (New) Package is "python-hatchling" Fri Sep 16 13:32:02 2022 rev:8 rq:1003720 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-08-27 11:48:19.453615463 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.2083/python-hatchling.changes 2022-09-16 13:32:21.673272665 +0200 @@ -1,0 +2,25 @@ +Tue Sep 13 20:05:14 UTC 2022 - Beno??t Monin + +- update to version 1.9.0: + * Changed: ++ File pattern matching now more closely resembles Git's + behavior + * Added: ++ Implement a minimal version of + prepare_metadata_for_build_wheel and + prepare_metadata_for_build_editable for non-frontend tools + that only need to inspect a project's metadata ++ Add metadata command to view PEP 621 project metadata ++ Improve error messages for SPDX license errors ++ Retroactively support License-File for core metadata starting + at version 2.1 ++ Bump the minimum supported version of pathspec to 0.10.1 + * Fixed: ++ Allow the valid non-SPDX license values + LicenseRef-Public-Domain and LicenseRef-Proprietary ++ Show the help text of the CLI when no subcommand is selected +- requires python-base to set the minimum python version, -devel is + not needed +- requires pathspec >= 0.10.1 + +--- Old: hatchling-1.8.1.tar.gz New: hatchling-1.9.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.JAfiJI/_old 2022-09-16 13:32:22.117274099 +0200 +++ /var/tmp/diff_new_pack.JAfiJI/_new 2022-09-16 13:32:22.121274112 +0200 @@ -19,17 +19,17 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.8.1 +Version:1.9.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 devel >= 3.7} +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module editables >= 0.3} BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} BuildRequires: %{python_module packaging >= 21.3} -BuildRequires: %{python_module pathspec >= 0.9} +BuildRequires: %{python_module pathspec >= 0.10.1} BuildRequires: %{python_module pip} BuildRequires: %{python_module pluggy >= 1.0.0} BuildRequires: %{python_module tomli >= 1.2.2 if %python-base < 3.11} @@ -37,7 +37,7 @@ BuildRequires: python-rpm-macros Requires: python-editables >= 0.3 Requires: python-packaging >= 21.3 -Requires: python-pathspec >= 0.9 +Requires: python-pathspec >= 0.10.1 Requires: python-pluggy >= 1.0.0 Requires(post): update-alternatives Requires(postun):update-alternatives ++ hatchling-1.8.1.tar.gz -> hatchling-1.9.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.8.1/PKG-INFO new/hatchling-1.9.0/PKG-INFO --- old/hatchling-1.8.1/PKG-INFO2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.9.0/PKG-INFO2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.8.1 +Version: 1.9.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek @@ -8,6 +8,7 @@ Project-URL: Tracker, https://github.com/pypa/hatch/issues Project-URL: Source, https://github.com/pypa/hatch/tree/master/backend Author-email: Ofek Lev +License-File: LICENSE.txt Keywords: build,hatch,packaging Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers @@ -27,7 +28,7 @@ Requires-Dist: editables>=0.3 Requires-Dist: importlib-metadata; python_version < '3.8' Requires-Dist: packaging>=21.3 -Requires-Dist: pathspec>=0.9 +Requires-Dist: pathspec>=0.10.1 Requires-Dist: pluggy>=1.0.0 Requires-Dist: tomli>=1.2.2; python_version < '3.11' Description-Content-Type: text/markdown diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.8.1/src/hatchling/__about__.py new/hatchling-1.9.0/src/hatchling/__about__.py ---
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-08-27 11:48:17 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.2083 (New) Package is "python-hatchling" Sat Aug 27 11:48:17 2022 rev:7 rq:999362 version:1.8.1 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-08-20 20:27:49.869214222 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.2083/python-hatchling.changes 2022-08-27 11:48:19.453615463 +0200 @@ -1,0 +2,9 @@ +Thu Aug 25 18:52:11 UTC 2022 - Beno??t Monin + +- update to version 1.8.1: + * Fixed: ++ Fix default file inclusion for wheel build targets when both + the project name and package directory name are not + normalized + +--- Old: hatchling-1.8.0.tar.gz New: hatchling-1.8.1.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.GwrC3t/_old 2022-08-27 11:48:19.897616417 +0200 +++ /var/tmp/diff_new_pack.GwrC3t/_new 2022-08-27 11:48:19.901616425 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.8.0 +Version:1.8.1 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.8.0.tar.gz -> hatchling-1.8.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.8.0/PKG-INFO new/hatchling-1.8.1/PKG-INFO --- old/hatchling-1.8.0/PKG-INFO2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.8.1/PKG-INFO2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.8.0 +Version: 1.8.1 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.8.0/src/hatchling/__about__.py new/hatchling-1.8.1/src/hatchling/__about__.py --- old/hatchling-1.8.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.8.1/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.8.0' +__version__ = '1.8.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.8.0/src/hatchling/builders/wheel.py new/hatchling-1.8.1/src/hatchling/builders/wheel.py --- old/hatchling-1.8.0/src/hatchling/builders/wheel.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.8.1/src/hatchling/builders/wheel.py 2020-02-02 01:00:00.0 +0100 @@ -142,24 +142,31 @@ if self.__include or self.__exclude or self.__packages: return -project_name = self.builder.normalize_file_name_component(self.builder.metadata.core.name) -if os.path.isfile(os.path.join(self.root, project_name, '__init__.py')): -self.__packages.append(project_name) -elif os.path.isfile(os.path.join(self.root, 'src', project_name, '__init__.py')): -self.__packages.append(f'src/{project_name}') -elif os.path.isfile(os.path.join(self.root, f'{project_name}.py')): -self.__packages.append(f'{project_name}.py') -else: -from glob import glob - -possible_namespace_packages = glob(os.path.join(self.root, '*', project_name, '__init__.py')) -if len(possible_namespace_packages) == 1: -relative_path = os.path.relpath(possible_namespace_packages[0], self.root) -namespace = relative_path.split(os.sep)[0] -self.__packages.append(namespace) +for project_name in ( + self.builder.normalize_file_name_component(self.builder.metadata.core.raw_name), + self.builder.normalize_file_name_component(self.builder.metadata.core.name), +): +if os.path.isfile(os.path.join(self.root, project_name, '__init__.py')): +self.__packages.append(project_name) +break +elif os.path.isfile(os.path.join(self.root, 'src', project_name, '__init__.py')): +self.__packages.append(f'src/{project_name}') +break +elif os.path.isfile(os.path.join(self.root, f'{project_name}.py')): +self.__packages.append(f'{project_name}.py') +break else:
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-08-20 20:27:43 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.2083 (New) Package is "python-hatchling" Sat Aug 20 20:27:43 2022 rev:6 rq:998088 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-08-16 17:07:02.279751478 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.2083/python-hatchling.changes 2022-08-20 20:27:49.869214222 +0200 @@ -1,0 +2,10 @@ +Thu Aug 18 15:44:17 UTC 2022 - Beno??t Monin + +- update to version 1.8.0: + * Added: ++ Add get_known_classifiers method to metadata hooks + * Fixed: ++ Fix check for updating static versions with the version + command when metadata hooks are in use + +--- Old: hatchling-1.7.1.tar.gz New: hatchling-1.8.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.5sxvN4/_old 2022-08-20 20:27:50.345215543 +0200 +++ /var/tmp/diff_new_pack.5sxvN4/_new 2022-08-20 20:27:50.353215565 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.7.1 +Version:1.8.0 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.7.1.tar.gz -> hatchling-1.8.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.7.1/PKG-INFO new/hatchling-1.8.0/PKG-INFO --- old/hatchling-1.7.1/PKG-INFO2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.8.0/PKG-INFO2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.7.1 +Version: 1.8.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.7.1/src/hatchling/__about__.py new/hatchling-1.8.0/src/hatchling/__about__.py --- old/hatchling-1.7.1/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.8.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.7.1' +__version__ = '1.8.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.7.1/src/hatchling/cli/version/__init__.py new/hatchling-1.8.0/src/hatchling/cli/version/__init__.py --- old/hatchling-1.7.1/src/hatchling/cli/version/__init__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.8.0/src/hatchling/cli/version/__init__.py 2020-02-02 01:00:00.0 +0100 @@ -14,7 +14,7 @@ plugin_manager = PluginManager() metadata = ProjectMetadata(root, plugin_manager) -if metadata.core.version is not None: +if 'version' in metadata.config.get('project', {}): if desired_version: app.abort('Cannot set version when it is statically defined by the `project.version` field') else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.7.1/src/hatchling/metadata/core.py new/hatchling-1.8.0/src/hatchling/metadata/core.py --- old/hatchling-1.7.1/src/hatchling/metadata/core.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.8.0/src/hatchling/metadata/core.py 2020-02-02 01:00:00.0 +0100 @@ -100,6 +100,7 @@ for metadata_hook in metadata_hooks.values(): metadata_hook.update(core_metadata) + metadata.add_known_classifiers(metadata_hook.get_known_classifiers()) new_fields = set(core_metadata) - static_fields for new_field in new_fields: @@ -269,6 +270,7 @@ self._maintainers_data = None self._keywords = None self._classifiers = None +self._extra_classifiers = set() self._urls = None self._scripts = None self._gui_scripts = None @@ -799,6 +801,8 @@ https://peps.python.org/pep-0621/#classifiers """ if self._classifiers is None: +import bisect + from hatchling.metadata.classifiers import KNOWN_CLASSIFIERS, SORTED_CLASSIFIERS, is_private if 'classifiers' in self.config: @@ -814,17 +818,24 @@ if not isinstance(classifiers, list):
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-08-16 17:06:53 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1521 (New) Package is "python-hatchling" Tue Aug 16 17:06:53 2022 rev:5 rq:995126 version:1.7.1 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-08-04 13:23:35.728521131 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1521/python-hatchling.changes 2022-08-16 17:07:02.279751478 +0200 @@ -1,0 +2,25 @@ +Sat Aug 13 19:23:18 UTC 2022 - Beno??t Monin + +- update to version 1.7.1: + * Fixed: ++ Fix the value the relative_path attribute of included files, + that some build plugins may use, when selecting explicit + paths + +--- +Sat Aug 13 14:17:00 UTC 2022 - Beno??t Monin + +- update to version 1.7.0: + * Added: ++ Add require-runtime-features option for builders and build + hooks ++ Check for unknown trove classifiers ++ Update SPDX license information to version 3.18 + * Fixed: ++ Add better error message for wheel target dev mode + installations that define path rewrites with the sources + option ++ Note the allow-direct-references option in the relevant error + messages + +--- Old: hatchling-1.6.0.tar.gz New: hatchling-1.7.1.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.NdwEtO/_old 2022-08-16 17:07:03.355754696 +0200 +++ /var/tmp/diff_new_pack.NdwEtO/_new 2022-08-16 17:07:03.359754707 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.6.0 +Version:1.7.1 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.6.0.tar.gz -> hatchling-1.7.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.6.0/PKG-INFO new/hatchling-1.7.1/PKG-INFO --- old/hatchling-1.6.0/PKG-INFO2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.7.1/PKG-INFO2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.6.0 +Version: 1.7.1 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek @@ -14,11 +14,11 @@ Classifier: License :: OSI Approved :: MIT License Classifier: Natural Language :: English Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python :: 3.10 -Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Build Tools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.6.0/scripts/update_classifiers.py new/hatchling-1.7.1/scripts/update_classifiers.py --- old/hatchling-1.6.0/scripts/update_classifiers.py 1970-01-01 01:00:00.0 +0100 +++ new/hatchling-1.7.1/scripts/update_classifiers.py 2020-02-02 01:00:00.0 +0100 @@ -0,0 +1,28 @@ +import pathlib +from contextlib import closing +from importlib.metadata import version +from io import StringIO + +import trove_classifiers + + +def main(): +project_root = pathlib.Path(__file__).resolve().parent.parent +data_file = project_root / 'src' / 'hatchling' / 'metadata' / 'classifiers.py' + +with closing(StringIO()) as file_contents: +file_contents.write(f'VERSION = {version("trove-classifiers")!r}\n\nSORTED_CLASSIFIERS = [\n') + +for classifier in trove_classifiers.sorted_classifiers: +file_contents.write(f'{classifier!r},\n') + +file_contents.write(']\nKNOWN_CLASSIFIERS = set(SORTED_CLASSIFIERS)\n\n\n') +file_contents.write('def is_private(classifier):\n') +file_contents.write("return classifier.lower().startswith('private ::')\n") + +with data_file.open('w', encoding='utf-8') as f: +
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-08-04 13:23:22 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1521 (New) Package is "python-hatchling" Thu Aug 4 13:23:22 2022 rev:4 rq:991960 version:1.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-07-09 16:58:55.532426015 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1521/python-hatchling.changes 2022-08-04 13:23:35.728521131 +0200 @@ -1,0 +2,35 @@ +Sat Jul 30 20:38:56 UTC 2022 - Beno??t Monin + +- update to version 1.6.0: + * Changed: ++ When no build targets are specified on the command line, now + default to sdist and wheel targets rather than what happens + to be defined in config ++ The code version source now only supports files with known + extensions ++ Global build hooks now run before target-specific build hooks + to better match expected behavior + * Added: ++ The code version source now supports loading extension + modules ++ Add search-paths option for the code version source + * Fixed: ++ Fix removing sources using an empty string value in the + mapping ++ The strict-naming option now also applies to the metadata + directory of wheel targets + +--- +Fri Jul 15 12:19:55 UTC 2022 - Beno??t Monin + +- update to version 1.5.0: + * Added: ++ Support the final draft of PEP 639 ++ Add strict-naming option for sdist and wheel targets + * Fixed: Project names are now stored in sdist and wheel target +core metadata exactly as defined in pyproject.toml without +normalization to allow control of how PyPI displays them +- require python 3.7 as minimum version to match upstream + requirement + +--- Old: hatchling-1.4.1.tar.gz New: hatchling-1.6.0.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.50OD4y/_old 2022-08-04 13:23:36.200522471 +0200 +++ /var/tmp/diff_new_pack.50OD4y/_new 2022-08-04 13:23:36.204522481 +0200 @@ -19,12 +19,13 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.4.1 +Version:1.6.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 devel >= 3.7} BuildRequires: %{python_module editables >= 0.3} BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} BuildRequires: %{python_module packaging >= 21.3} ++ hatchling-1.4.1.tar.gz -> hatchling-1.6.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.4.1/PKG-INFO new/hatchling-1.6.0/PKG-INFO --- old/hatchling-1.4.1/PKG-INFO2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.6.0/PKG-INFO2020-02-02 01:00:00.0 +0100 @@ -1,9 +1,9 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.4.1 +Version: 1.6.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ -Project-URL: Funding, https://github.com/sponsors/ofek +Project-URL: Sponsor, https://github.com/sponsors/ofek Project-URL: History, https://hatch.pypa.io/dev/history/ Project-URL: Tracker, https://github.com/pypa/hatch/issues Project-URL: Source, https://github.com/pypa/hatch/tree/master/backend diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.4.1/src/hatchling/__about__.py new/hatchling-1.6.0/src/hatchling/__about__.py --- old/hatchling-1.4.1/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.6.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.4.1' +__version__ = '1.6.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.4.1/src/hatchling/builders/config.py new/hatchling-1.6.0/src/hatchling/builders/config.py --- old/hatchling-1.4.1/src/hatchling/builders/config.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.6.0/src/hatchling/builders/config.py2020-02-02 01:00:00.0 +0100 @@ -231,6 +231,16 @@ if self.__hook_config is None:
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-07-09 16:58:54 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1523 (New) Package is "python-hatchling" Sat Jul 9 16:58:54 2022 rev:3 rq:986978 version:1.4.1 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-06-17 21:18:15.402634889 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1523/python-hatchling.changes 2022-07-09 16:58:55.532426015 +0200 @@ -1,0 +2,39 @@ +Tue Jul 5 18:00:11 UTC 2022 - Beno??t Monin + +- update to version 1.4.1: + * Fixed: ++ Fix forced inclusion of important files like licenses for + sdist targets when using the explicit selection options ++ Don't sort project URL metadata so that the rendered order + on PyPI can be controlled + +--- +Mon Jul 4 16:13:37 UTC 2022 - Beno??t Monin + +- update to version 1.4.0: + * Changed: The packages option uses the new only-include option +to provide targeted inclusion, since that is desired most of +the time + * Added: ++ Support PEP 561 type hinting ++ Add version build hook ++ Add only-include option ++ The editable version of wheel targets now respects the + force-include option by default ++ The force-include option now supports path rewriting with the + sources option ++ The wheel target shared-data and extra-metadata options now + respect file selection options ++ The wheel target now auto-detects single module layouts ++ Improve performance by never entering directories that are + guaranteed to be undesirable like __pycache__ rather than + excluding individual files within ++ Update SPDX license information to version 3.17 + * Fixed: ++ Don't write empty entry points file for wheel targets if + there are no entry points defined ++ Allow metadata hooks to set the version in all cases ++ Prevent duplicate file entries from inclusion when using the + force-include option + +--- Old: hatchling-1.3.1.tar.gz New: hatchling-1.4.1.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.h6eUpv/_old 2022-07-09 16:58:56.120426898 +0200 +++ /var/tmp/diff_new_pack.h6eUpv/_new 2022-07-09 16:58:56.124426905 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.3.1 +Version:1.4.1 Release:0 Summary:Build backend used by Hatch License:MIT ++ hatchling-1.3.1.tar.gz -> hatchling-1.4.1.tar.gz ++ 1737 lines of diff (skipped)
commit python-hatchling for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatchling for openSUSE:Factory checked in at 2022-06-17 21:18:14 Comparing /work/SRC/openSUSE:Factory/python-hatchling (Old) and /work/SRC/openSUSE:Factory/.python-hatchling.new.1548 (New) Package is "python-hatchling" Fri Jun 17 21:18:14 2022 rev:2 rq:982494 version:1.3.1 Changes: --- /work/SRC/openSUSE:Factory/python-hatchling/python-hatchling.changes 2022-05-28 22:16:44.440993981 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatchling.new.1548/python-hatchling.changes 2022-06-17 21:18:15.402634889 +0200 @@ -1,0 +2,9 @@ +Sun Jun 12 13:54:32 UTC 2022 - Beno??t Monin + +- update to version 1.3.1: + * Fixed: Better populate global variables for the code version +source +- add a comment explaining why the tests are skipped in obs + because they need internet access + +--- Old: hatchling-1.3.0.tar.gz New: hatchling-1.3.1.tar.gz Other differences: -- ++ python-hatchling.spec ++ --- /var/tmp/diff_new_pack.WrQZaG/_old 2022-06-17 21:18:16.090635262 +0200 +++ /var/tmp/diff_new_pack.WrQZaG/_new 2022-06-17 21:18:16.094635264 +0200 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hatchling -Version:1.3.0 +Version:1.3.1 Release:0 Summary:Build backend used by Hatch License:MIT @@ -63,6 +63,11 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/hatchling +%check +# The tests provided in the tarball relies on internet access to run +# (git clone, pip install ...), so they cannot work on obs +# see tests/downstream/integrate.py for details + %post %python_install_alternative hatchling ++ hatchling-1.3.0.tar.gz -> hatchling-1.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.3.0/PKG-INFO new/hatchling-1.3.1/PKG-INFO --- old/hatchling-1.3.0/PKG-INFO2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.3.1/PKG-INFO2020-02-02 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.3.0 +Version: 1.3.1 Summary: Modern, extensible Python build backend Project-URL: History, https://hatch.pypa.io/dev/history/ Project-URL: Homepage, https://hatch.pypa.io/latest/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.3.0/src/hatchling/__about__.py new/hatchling-1.3.1/src/hatchling/__about__.py --- old/hatchling-1.3.0/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.3.1/src/hatchling/__about__.py 2020-02-02 01:00:00.0 +0100 @@ -1 +1 @@ -__version__ = '1.3.0' +__version__ = '1.3.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hatchling-1.3.0/src/hatchling/version/source/code.py new/hatchling-1.3.1/src/hatchling/version/source/code.py --- old/hatchling-1.3.0/src/hatchling/version/source/code.py2020-02-02 01:00:00.0 +0100 +++ new/hatchling-1.3.1/src/hatchling/version/source/code.py2020-02-02 01:00:00.0 +0100 @@ -24,7 +24,9 @@ with open(path, 'r', encoding='utf-8') as f: contents = f.read() -global_variables = {} +# Ensure predefined module attributes are available. +# https://docs.python.org/3/reference/datamodel.html#the-standard-type-hierarchy. +global_variables = {'__file__': path, '__annotations__': dict()} # Load the file exec(contents, global_variables)