commit python-hatch for openSUSE:Factory

2023-12-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hatch for openSUSE:Factory 
checked in at 2023-12-28 23:01:45

Comparing /work/SRC/openSUSE:Factory/python-hatch (Old)
 and  /work/SRC/openSUSE:Factory/.python-hatch.new.28375 (New)


Package is "python-hatch"

Thu Dec 28 23:01:45 2023 rev:12 rq:1135269 version:1.9.1

Changes:

--- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes
2023-12-19 23:16:24.422788933 +0100
+++ /work/SRC/openSUSE:Factory/.python-hatch.new.28375/python-hatch.changes 
2023-12-28 23:03:23.402667297 +0100
@@ -1,0 +2,46 @@
+Mon Dec 25 09:52:54 UTC 2023 - Ben Greiner 
+
+- Update to 1.9.1
+  * Ensure that the dependency_hash method of the environment
+interface is called after sync_dependencies for cases where the
+hash is only known at that point, such as for dependency
+lockers
+  * Only acknowledge the HATCH_PYTHON_VARIANT_* environment
+variables for Python resolution for supported platforms and
+architectures
+  * Fix Python resolution when there are metadata hooks with
+unsatisfied dependencies
+- Unskip default platform tests gh#pypa/hatch#1145, but skip
+  error checker
+
+---
+Sun Dec 24 15:05:54 UTC 2023 - Ben Greiner 
+
+- Update to 1.9.0
+  ## Changed:
+  * Environments prefixed by hatch- are now considered internal and
+used for special purposes such as configuration for static
+analysis
+  ## Added:
+  * Enable docstring formatting by default for static analysis
+  * Allow for overriding config of internal environments
+  * Concretely state the expected API contract for the environment
+interface methods find and check_compatibility
+  * Upgrade Ruff to 0.1.8
+  * Bump the minimum supported version of Hatchling to 1.21.0
+  ## Fixed:
+  * Ignore a project's Python requirement for environments where
+the project is not installed
+  * When not persisting config for static analysis, properly manage
+internal settings when Ruff's top level table already exists
+  * Ignore compatibility checks when environments have already been
+created, significantly improving performance of environment
+usage
+  * Properly allow overriding of the path option for the virtual
+environment type
+  * Fix nushell activation on non-Windows systems
+- Skip default platform tests on non x86_64
+- Stop using %{?python_enable_dependency_generator}: 15.x does
+  not generate the requirements and gloriously fails when testing
+
+---

Old:

  hatch-v1.8.1.tar.gz

New:

  hatch-v1.9.1.tar.gz



Other differences:
--
++ python-hatch.spec ++
--- /var/tmp/diff_new_pack.mwZJcH/_old  2023-12-28 23:03:24.210696829 +0100
+++ /var/tmp/diff_new_pack.mwZJcH/_new  2023-12-28 23:03:24.210696829 +0100
@@ -26,7 +26,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:   python-hatch%{psuffix}
-Version:1.8.1
+Version:1.9.1
 Release:0
 Summary:Modern, extensible Python project management
 License:MIT
@@ -39,11 +39,24 @@
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildArch:  noarch
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 Requires:   git-core
-%{?python_enable_dependency_generator}
+Requires:   python-click >= 8.0.6
+Requires:   python-hatchling >= 1.21.0
+Requires:   python-httpx >= 0.22.0
+Requires:   python-hyperlink >= 21.0.0
+Requires:   python-keyring >= 23.5.0
+Requires:   python-packaging >= 21.3
+Requires:   python-platformdirs >= 2.5.0
+Requires:   python-rich >= 11.2.0
+Requires:   python-shellingham >= 1.4.0
+Requires:   python-tomli-w >= 1.0
+Requires:   python-tomlkit >= 0.11.1
+Requires:   python-virtualenv >= 20.16.2
+Requires:   python-zstandard < 1
+Requires:   (python-pexpect >= 4.8 with python-pexpect < 5)
+Requires:   (python-userpath >= 1.7 with python-userpath < 2)
 %if %{with test}
 BuildRequires:  %{python_module filelock >= 3.7.1}
 BuildRequires:  %{python_module hatch = %{version}}
@@ -52,6 +65,8 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module trustme}
 BuildRequires:  cargo
+%else
+BuildArch:  noarch
 %endif
 %python_subpackages
 
@@ -69,11 +84,13 @@
 %prep
 %autosetup -p1 -n hatch-hatch-v%{version}
 
-%if !%{with test}
 %build
+%if !%{with test}
 %pyproject_wheel
+%endif
 
 %install
+%if !%{with test}
 %pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/hatch
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -89,7 +106,15 @@
 

commit python-hatch for openSUSE:Factory

2023-12-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hatch for openSUSE:Factory 
checked in at 2023-12-19 23:16:16

Comparing /work/SRC/openSUSE:Factory/python-hatch (Old)
 and  /work/SRC/openSUSE:Factory/.python-hatch.new.9037 (New)


Package is "python-hatch"

Tue Dec 19 23:16:16 2023 rev:11 rq:1133974 version:1.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes
2023-11-23 21:43:56.062753695 +0100
+++ /work/SRC/openSUSE:Factory/.python-hatch.new.9037/python-hatch.changes  
2023-12-19 23:16:24.422788933 +0100
@@ -1,0 +2,58 @@
+Mon Dec 18 20:27:19 UTC 2023 - Ben Greiner 
+
+- Update to 1.8.1
+  ## Fixed:
+  * Fix regression in calling subprocesses with updated PATH
+  * Fix automatic installation of environment plugins when running
+as a standalone binary
+  * Change default location of Python installations
+- Release 1.8.0
+  ## Changed:
+  * Drop support for Python 3.7
+  * The get_build_process method of the environment interface has
+been removed; plugins should use the new run_builder method
+instead
+  * Remove pyperclip dependency and the --copy flag of the config
+find command
+  * When running the build command all output from builders is now
+displayed as-is in real time without the stripping of ANSI
+codes
+  * Version information (for Hatch itself) is now derived from Git
+  ## Added:
+  * Support Python 3.12
+  * Add installers and standalone binaries
+  * Add the ability to manage Python installations
+  * Add fmt command
+  * The virtual environment type can now automatically download
+requested versions of Python that are not installed
+  * Add dependency_hash method to the environment interface
+  * The state of installed dependencies for environments is saved
+as metadata so if dependency definitions have not changed then
+no checking is performed, which can be computationally
+expensive
+  * The build command now supports backends other than Hatchling
+  * Allow the use of features for environments when skip-install is
+enabled
+  * The default is now __TOKEN__ when prompting for a username for
+the publish command
+  * Add a new run_builder method to the environment interface
+  * Bump the minimum supported version of Hatchling to 1.19.0
+  * Bump the minimum supported version of click to 8.0.6
+  ## Fixed:
+  * Fix nushell activation
+  * Better handling of flat storage directory hierarchies for the
+virtual environment type
+  * Display useful information when running the version command
+outside of a project rather than erroring
+  * Fix the project metadata command by only capturing stdout from
+the backend
+  * Properly support Google Artifact Registry
+  * Fix parsing dependencies for environments when warnings are
+emitted
+- Drop patches
+  * CI.patch
+  * fix-sdist-target.patch
+  * hatch-pr828-pth-tests.patch
+  * packaging232.patch
+
+---

Old:

  CI.patch
  fix-sdist-target.patch
  hatch-pr828-pth-tests.patch
  hatch-v1.7.0.tar.gz
  packaging232.patch

New:

  hatch-v1.8.1.tar.gz

BETA DEBUG BEGIN:
  Old:- Drop patches
  * CI.patch
  * fix-sdist-target.patch
  Old:  * CI.patch
  * fix-sdist-target.patch
  * hatch-pr828-pth-tests.patch
  Old:  * fix-sdist-target.patch
  * hatch-pr828-pth-tests.patch
  * packaging232.patch
  Old:  * hatch-pr828-pth-tests.patch
  * packaging232.patch
BETA DEBUG END:



Other differences:
--
++ python-hatch.spec ++
--- /var/tmp/diff_new_pack.jB56G6/_old  2023-12-19 23:16:25.418825204 +0100
+++ /var/tmp/diff_new_pack.jB56G6/_new  2023-12-19 23:16:25.422825349 +0100
@@ -26,23 +26,16 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:   python-hatch%{psuffix}
-Version:1.7.0
+Version:1.8.1
 Release:0
 Summary:Modern, extensible Python project management
 License:MIT
 URL:https://hatch.pypa.io/latest/
 # SourceRepository: https://github.com/pypa/hatch
 Source: 
https://github.com/pypa/hatch/archive/refs/tags/hatch-v%{version}.tar.gz
-# PATCH-FIX-UPSTREAM fix-sdist-target.patch -- gh#pypa/hatch@1b10663e645e
-Patch0: fix-sdist-target.patch
-# PATCH-FIX-UPSTREAM hatch-pr828-pth-tests.patch, gh#pypa/hatch#828
-Patch1: hatch-pr828-pth-tests.patch
-# PATCH-FIX-UPSTREAM CI.patch, gh#pypa/hatch#940
-Patch2: CI.patch
-# PATCH-FIX-UPSTREAM packaging232.patch gh#pypa/hatch#989
-Patch3: packaging232.patch
-BuildRequires:  %{python_module base >= 3.7}
-BuildRequires:  %{python_module hatchling >= 1.14}
+BuildRequires:  %{python_module base >= 3.8}
+BuildRequires:  %{python_module hatch-vcs >= 

commit python-hatch for openSUSE:Factory

2023-10-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hatch for openSUSE:Factory 
checked in at 2023-10-08 12:18:45

Comparing /work/SRC/openSUSE:Factory/python-hatch (Old)
 and  /work/SRC/openSUSE:Factory/.python-hatch.new.28202 (New)


Package is "python-hatch"

Sun Oct  8 12:18:45 2023 rev:9 rq:1116198 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes
2023-09-20 13:33:05.647038296 +0200
+++ /work/SRC/openSUSE:Factory/.python-hatch.new.28202/python-hatch.changes 
2023-10-08 12:22:15.718664593 +0200
@@ -1,0 +2,5 @@
+Sat Oct  7 11:16:12 UTC 2023 - Matej Cepl 
+
+- Remove superflous BR pytest plugins: randomly rerunfailures
+
+---



Other differences:
--
++ python-hatch.spec ++
--- /var/tmp/diff_new_pack.c3q66e/_old  2023-10-08 12:22:16.894706875 +0200
+++ /var/tmp/diff_new_pack.c3q66e/_new  2023-10-08 12:22:16.894706875 +0200
@@ -55,8 +55,6 @@
 # Due to Patch1, gh#pypa/hatch#828
 BuildRequires:  %{python_module hatchling >= 1.17.1}
 BuildRequires:  %{python_module pytest-mock}
-BuildRequires:  %{python_module pytest-randomly}
-BuildRequires:  %{python_module pytest-rerunfailures}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module trustme}


commit python-hatch for openSUSE:Factory

2023-09-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hatch for openSUSE:Factory 
checked in at 2023-09-20 13:29:54

Comparing /work/SRC/openSUSE:Factory/python-hatch (Old)
 and  /work/SRC/openSUSE:Factory/.python-hatch.new.16627 (New)


Package is "python-hatch"

Wed Sep 20 13:29:54 2023 rev:8 rq:1112252 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes
2023-06-21 22:41:26.138940424 +0200
+++ /work/SRC/openSUSE:Factory/.python-hatch.new.16627/python-hatch.changes 
2023-09-20 13:33:05.647038296 +0200
@@ -1,0 +2,5 @@
+Tue Sep 19 11:01:55 UTC 2023 - Markéta Machová 
+
+- Add CI.patch to fix tests
+
+---

New:

  CI.patch



Other differences:
--
++ python-hatch.spec ++
--- /var/tmp/diff_new_pack.TB3t97/_old  2023-09-20 13:33:06.863081862 +0200
+++ /var/tmp/diff_new_pack.TB3t97/_new  2023-09-20 13:33:06.863081862 +0200
@@ -37,6 +37,8 @@
 Patch0: fix-sdist-target.patch
 # PATCH-FIX-UPSTREAM hatch-pr828-pth-tests.patch, gh#pypa/hatch#828
 Patch1: hatch-pr828-pth-tests.patch
+# PATCH-FIX-UPSTREAM CI.patch, gh#pypa/hatch#940
+Patch2: CI.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module hatchling >= 1.14}
 BuildRequires:  %{python_module pip}

++ CI.patch ++
>From 4ddbf0a9a720caed18d19c083ff88427c9d2a993 Mon Sep 17 00:00:00 2001
From: Maximilian Hils 
Date: Thu, 24 Aug 2023 05:30:00 +0200
Subject: [PATCH] Fix CI (#940)

fix unrelated ci issue
---
 tests/cli/config/test_set.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/cli/config/test_set.py b/tests/cli/config/test_set.py
index 73bb9bc03..cd576feb4 100644
--- a/tests/cli/config/test_set.py
+++ b/tests/cli/config/test_set.py
@@ -184,7 +184,6 @@ def test_project_location_basic_set_first_project(hatch, 
config_file, helpers, t
 f"""
 New setting:
 project = "foo"
-
 [projects]
 foo = "{path}"
 """
@@ -206,7 +205,6 @@ def test_project_location_complex_set_first_project(hatch, 
config_file, helpers,
 f"""
 New setting:
 project = "foo"
-
 [projects.foo]
 location = "{path}"
 """


commit python-hatch for openSUSE:Factory

2023-06-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hatch for openSUSE:Factory 
checked in at 2023-06-21 22:40:34

Comparing /work/SRC/openSUSE:Factory/python-hatch (Old)
 and  /work/SRC/openSUSE:Factory/.python-hatch.new.15902 (New)


Package is "python-hatch"

Wed Jun 21 22:40:34 2023 rev:7 rq:1094474 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes
2023-05-11 12:34:07.642892143 +0200
+++ /work/SRC/openSUSE:Factory/.python-hatch.new.15902/python-hatch.changes 
2023-06-21 22:41:26.138940424 +0200
@@ -1,0 +2,11 @@
+Wed Jun 21 08:39:40 UTC 2023 - Ben Greiner 
+
+- Add hatch-pr828-pth-tests.patch, gh#pypa/hatch#828 fixing
+  test failure with hatchling >= 1.17.1
+
+---
+Sun Jun 11 08:38:31 UTC 2023 - ecsos 
+
+- Add %{?sle15_python_module_pythons}
+
+---

New:

  hatch-pr828-pth-tests.patch



Other differences:
--
++ python-hatch.spec ++
--- /var/tmp/diff_new_pack.1o1OKU/_old  2023-06-21 22:41:26.722943939 +0200
+++ /var/tmp/diff_new_pack.1o1OKU/_new  2023-06-21 22:41:26.726943962 +0200
@@ -24,7 +24,7 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-
+%{?sle15_python_module_pythons}
 Name:   python-hatch%{psuffix}
 Version:1.7.0
 Release:0
@@ -35,6 +35,8 @@
 Source: 
https://github.com/pypa/hatch/archive/refs/tags/hatch-v%{version}.tar.gz
 # PATCH-FIX-UPSTREAM fix-sdist-target.patch -- gh#pypa/hatch@1b10663e645e
 Patch0: fix-sdist-target.patch
+# PATCH-FIX-UPSTREAM hatch-pr828-pth-tests.patch, gh#pypa/hatch#828
+Patch1: hatch-pr828-pth-tests.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module hatchling >= 1.14}
 BuildRequires:  %{python_module pip}
@@ -48,6 +50,8 @@
 %if %{with test}
 BuildRequires:  %{python_module filelock >= 3.7.1}
 BuildRequires:  %{python_module hatch = %{version}}
+# Due to Patch1, gh#pypa/hatch#828
+BuildRequires:  %{python_module hatchling >= 1.17.1}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest-randomly}
 BuildRequires:  %{python_module pytest-rerunfailures}

++ hatch-pr828-pth-tests.patch ++
>From d07463ea6afcecd83fd55bdac975516de6f3bc10 Mon Sep 17 00:00:00 2001
From: Ryan Morshead 
Date: Mon, 17 Apr 2023 22:02:59 -0700
Subject: [PATCH 1/3] Name .pth file so it loads first

Users adding their own .pth files likely need to be loaded after the one 
inserted by hatchling. The only way to do this is by naming it so the hatchling 
.pth file comes first alphabetically.
---
 backend/src/hatchling/builders/wheel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: hatch-hatch-v1.7.0/backend/src/hatchling/builders/wheel.py
===
--- hatch-hatch-v1.7.0.orig/backend/src/hatchling/builders/wheel.py
+++ hatch-hatch-v1.7.0/backend/src/hatchling/builders/wheel.py
@@ -438,6 +438,9 @@ class WheelBuilder(BuilderInterface):
 
editable_project.add_to_path(os.path.dirname(relative_path))
 
 for filename, content in sorted(editable_project.files()):
+if filename.endswith('.pth') and not filename.startswith('_'):
+filename = f'_{filename}'
+
 record = archive.write_file(filename, content)
 records.write(record)
 
@@ -475,7 +478,7 @@ class WheelBuilder(BuilderInterface):
 for relative_directory in self.config.dev_mode_dirs
 )
 
-record = 
archive.write_file(f"{self.metadata.core.name.replace('-', '_')}.pth", 
'\n'.join(directories))
+record = 
archive.write_file(f"_{self.metadata.core.name.replace('-', '_')}.pth", 
'\n'.join(directories))
 records.write(record)
 
 for included_file in 
self.recurse_forced_files(self.get_forced_inclusion_map(build_data)):
Index: 
hatch-hatch-v1.7.0/tests/helpers/templates/wheel/standard_editable_exact.py
===
--- 
hatch-hatch-v1.7.0.orig/tests/helpers/templates/wheel/standard_editable_exact.py
+++ hatch-hatch-v1.7.0/tests/helpers/templates/wheel/standard_editable_exact.py
@@ -16,7 +16,7 @@ def get_files(**kwargs):
 if str(f.path) == 'LICENSE.txt':
 files.append(File(Path(metadata_directory, 'licenses', f.path), 
f.contents))
 
-pth_file_name = f"{kwargs['package_name']}.pth"
+pth_file_name = f"_{kwargs['package_name']}.pth"
 loader_file_name = f"_editable_impl_{kwargs['package_name']}.py"
 

commit python-hatch for openSUSE:Factory

2023-05-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hatch for openSUSE:Factory 
checked in at 2023-05-11 12:33:35

Comparing /work/SRC/openSUSE:Factory/python-hatch (Old)
 and  /work/SRC/openSUSE:Factory/.python-hatch.new.1533 (New)


Package is "python-hatch"

Thu May 11 12:33:35 2023 rev:6 rq:1086107 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes
2023-01-11 14:37:23.962026225 +0100
+++ /work/SRC/openSUSE:Factory/.python-hatch.new.1533/python-hatch.changes  
2023-05-11 12:34:07.642892143 +0200
@@ -1,0 +2,38 @@
+Wed May 10 16:07:25 UTC 2023 - Daniel Garcia 
+
+- Add fix-sdist-target.patch to fix tests: gh#pypa/hatch@1b10663e645e
+
+---
+Fri May  5 10:45:53 UTC 2023 - Dirk Müller 
+
+- update to 1.7.0:
+  * The `src-layout` project template option is now enabled by
+default
+  * Non-critical output now goes to stderr
+  * Add `tool.hatch.env.requires` configuration to automatically
+install dependencies for environment and environment
+collector plugins
+  * Add `custom` environment collector
+  * Improve syncing of dependencies provided through Git direct
+references
+  * Add `isolated_data_directory` attribute to the environment
+interface
+  * Increase the timeout for and add retries to the `index`
+publisher
+  * Expand home and environment variables in configured cache and
+data directories
+  * Improve readability of exceptions
+  * Update project templates
+  * Bump the minimum supported version of Hatchling to 1.14.0
+  * Fix displaying the version with the `version` command when
+the version is static and build dependencies are unmet
+  * Fix build environments for the `virtual` environment type
+when storing within a relative path
+  * Allow setuptools metadata migration for projects without
+`setup.py` if `setup.cfg` is present
+  * Handle additional edge cases for setuptools metadata
+migration
+  * Support boolean values for the `config set` command
+- drop hatch-pr659-utf8.patch (upstream)
+
+---

Old:

  hatch-pr659-utf8.patch
  hatch-v1.6.3.tar.gz

New:

  fix-sdist-target.patch
  hatch-v1.7.0.tar.gz



Other differences:
--
++ python-hatch.spec ++
--- /var/tmp/diff_new_pack.ctDpyH/_old  2023-05-11 12:34:08.182894797 +0200
+++ /var/tmp/diff_new_pack.ctDpyH/_new  2023-05-11 12:34:08.182894797 +0200
@@ -26,17 +26,17 @@
 %endif
 
 Name:   python-hatch%{psuffix}
-Version:1.6.3
+Version:1.7.0
 Release:0
 Summary:Modern, extensible Python project management
 License:MIT
 URL:https://hatch.pypa.io/latest/
 # SourceRepository: https://github.com/pypa/hatch
 Source: 
https://github.com/pypa/hatch/archive/refs/tags/hatch-v%{version}.tar.gz
-# PATCH-FIX-UPSTREAM hatch-pr659-utf8.patch gh#pypa/hatch#659 required due to 
newer hatchling
-Patch1: hatch-pr659-utf8.patch
+# PATCH-FIX-UPSTREAM fix-sdist-target.patch -- gh#pypa/hatch@1b10663e645e
+Patch0: fix-sdist-target.patch
 BuildRequires:  %{python_module base >= 3.7}
-BuildRequires:  %{python_module hatchling >= 1.11.0}
+BuildRequires:  %{python_module hatchling >= 1.14}
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros

++ fix-sdist-target.patch ++
Index: hatch-hatch-v1.7.0/backend/src/hatchling/builders/sdist.py
===
--- hatch-hatch-v1.7.0.orig/backend/src/hatchling/builders/sdist.py
+++ hatch-hatch-v1.7.0/backend/src/hatchling/builders/sdist.py
@@ -161,7 +161,7 @@ class SdistBuilder(BuilderInterface):
 def build_standard(self, directory: str, **build_data: Any) -> str:
 found_packages = set()
 
-with SdistArchive(self.project_id, 
reproducible=self.config.reproducible) as archive:
+with SdistArchive(self.artifact_project_id, 
reproducible=self.config.reproducible) as archive:
 for included_file in self.recurse_included_files():
 if self.config.support_legacy:
 possible_package, file_name = 
os.path.split(included_file.relative_path)
@@ -170,7 +170,9 @@ class SdistBuilder(BuilderInterface):
 
 tar_info = archive.gettarinfo(
 included_file.path,
-
arcname=normalize_archive_path(os.path.join(self.project_id, 
included_file.distribution_path)),
+arcname=normalize_archive_path(
+os.path.join(self.artifact_project_id, 
included_file.distribution_path)
+ 

commit python-hatch for openSUSE:Factory

2023-01-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-hatch for openSUSE:Factory 
checked in at 2023-01-11 14:36:00

Comparing /work/SRC/openSUSE:Factory/python-hatch (Old)
 and  /work/SRC/openSUSE:Factory/.python-hatch.new.32243 (New)


Package is "python-hatch"

Wed Jan 11 14:36:00 2023 rev:5 rq:1057750 version:1.6.3

Changes:

--- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes
2020-06-09 00:10:23.734482732 +0200
+++ /work/SRC/openSUSE:Factory/.python-hatch.new.32243/python-hatch.changes 
2023-01-11 14:37:23.962026225 +0100
@@ -1,0 +2,193 @@
+Fri Jan  6 16:17:06 UTC 2023 - Ben Greiner 
+
+- Update to v1.6.3
+  ## Fixed:
+  * Fix version command when the version is dynamic and build
+dependencies are unmet
+- Release 1.6.2 - 2022-10-20
+  ## Fixed:
+  * Fix getting dynamic metadata from hooks for environments when
+dependencies are not dynamic
+- Release 1.6.1 - 2022-10-16
+  ## Fixed:
+  * Computing the path to the user's home directory now gracefully
+falls back to ~ when it cannot be determined
+- Release 1.6.0 - 2022-10-08
+  ## Changed:
+  * The run_shell_command environment interface method now accepts
+arbitrary subprocess.Popen keyword arguments. This is not
+strictly breaking, but will be utilized in upcoming features.
+  * The internal directory structure for storing virtual
+environments is now more nested. This is not breaking, but any
+local environments will be created anew.
+  ## Added:
+  * Add project command group to view details about the project
+like PEP 621 metadata
+  * Better support for auto-detection of environments by tools like
+Visual Studio Code now that the storage directory of virtual
+environments will be flat if Hatch's configured virtual
+environment directory resides somewhere within the project root
+or if it is set to a .virtualenvs directory within the user's
+home directory
+  * Build environments for the virtual environment type are now
+cached for improved performance
+  * Add build_environment_exists method to the environment
+interface for implementations that cache the build environment
+  * Add path option to the virtual environment type
+  * Add --initialize-auth flag to the index publisher to allow for
+the saving of authentication information before publishing
+  * Support Bash on Windows for the shell command
+  * The setuptools migration script no longer modifies the
+formatting of existing pyproject.toml configuration
+  * Bump the minimum supported version of Hatchling to 1.11.0
+  ## Fixed:
+  * Environments now respect dynamically defined project
+dependencies
+  * The dep hash and all dep show commands now respect dynamically
+defined project dependencies
+  * The env show, dep hash, and all dep show commands now honor
+context formatting
+  * Fix matrix variable inclusion filtering of the run and env run
+commands when there are multiple possible variables
+  * Build environment compatibility is now checked before use
+  * Decreasing verbosity now has no affect on output that should
+always be displayed
+  * Handle more edge cases in the setuptools migration script
+  * Environments now respect user defined environment variables for
+context formatting
+  * Update the scripts in the generated test environment template
+for new projects to reflect the documentation
+  * Allow extra-dependencies in environment overrides
+  * Depend on packaging explicitly rather than relying on it being
+a transitive dependency of Hatchling
+- Release 1.5.0 - 2022-08-28
+  ## Added:
+  * The index publisher now recognizes repository-specific options
+  * Add the --ignore-compat flag to the env run command
+  * Setting the HATCH_PYTHON environment variable to self will now
+force the use of the Python executable Hatch is running on for
+virtual environment creation
+  ## Fixed:
+  * Fix the --force-continue flag of the env run command
+  * Handle more edge cases in the setuptools migration script
+- Release 1.4.2 - 2022-08-16
+  ## Fixed:
+  * Fix check for updating static versions with the version command
+when metadata hooks are in use
+- Release 1.4.1 - 2022-08-13
+  ## Fixed:
+  * Fix non-detached inheritance disabling for environments
+- Release 1.4.0 - 2022-08-06
+  ## Added:
+  * The default Python for virtual environments now checks PATH
+before using the one Hatch is running on
+  * Values for environment env-vars now support context formatting
+  * Add name override for environments to allow for regular
+expression matching
+  * The index publisher now better supports non-PyPI indices
+  * Add certificate options to the index publisher
+  * Display waiting text when checking dependencies and removing
+