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 2026-01-07 16:01:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hatch (Old)
 and      /work/SRC/openSUSE:Factory/.python-hatch.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hatch"

Wed Jan  7 16:01:04 2026 rev:23 rq:1325640 version:1.16.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes        
2025-11-18 15:43:28.088625032 +0100
+++ /work/SRC/openSUSE:Factory/.python-hatch.new.1928/python-hatch.changes      
2026-01-07 16:01:21.954995394 +0100
@@ -1,0 +2,50 @@
+Fri Jan  2 17:06:04 UTC 2026 - Ben Greiner <[email protected]>
+
+- Update to 1.16.2
+  * Properly send informational output to stderr instead of stdout
+  * Implement documented support for sbom-files as build data for
+    the wheel build target
+  * Fix regression where environments no longer acknowledged the
+    project.optional-dependencies field
+- Release 1.16.1
+  * Handle special characters correctly in path for editable
+    installs.
+  * Fix multiple calls to install on sync_dependencies to become a
+    single call.
+  * Fix context variable formatting in project dependencies to
+    prevent crashes when using variables like {root:parent:uri} in
+    the [project] section.
+  * Fix environment overrides for dependency-groups field to
+    properly support matrix and conditional configurations.
+- Release 1.16.0
+  ## Changed:
+  * Drop support for 3.9
+  * Environment type plugins are now no longer expected to support
+    a pseudo-build environment as any environment now may be used
+    for building. The following methods have been removed:
+    build_environment, build_environment_exists, run_builder,
+    construct_build_command
+  ## Added:
+  * Support for workspaces inspired by Cargo Workspaces
+  * Dependency group support.
+  * The version and project metadata commands now support projects
+    that do not use Hatchling as the build backend
+  * The version command accepts a --force option, allowing for
+    downgrades when an explicit version number is given.
+  * Build environments can now be configured, the default build
+    environment is hatch-build
+  * The environment interface now has the following methods and
+    properties in order to better support builds on remote
+    machines: project_root, sep, pathsep, fs_context
+  * Bump the minimum supported version of packaging to 24.2
+  * Upgrade Ruff to 0.13.2
+  ## Fixed:
+  * All HTTP requests now set an identifiable User-Agent header.
+  * Fix issue where terminal output would be out of sync during
+    build.
+  * Fix for Click Sentinel value when using run command
+- Drop fix-with-latest-hatchling.patch
+- Drop fix-tests.patch
+- Provide some wheels for the test suite gh#pypa/hatch#2123
+
+-------------------------------------------------------------------

Old:
----
  fix-tests.patch
  fix-with-latest-hatchling.patch
  hatch-v1.15.1.tar.gz

New:
----
  binary-1.0.2-py3-none-any.whl
  certifi-2025.11.12-py3-none-any.whl
  charset_normalizer-3.4.4-py3-none-any.whl
  click-8.3.1-py3-none-any.whl
  flit_core-3.10.1-py3-none-any.whl
  hatch-v1.16.2.tar.gz
  hatchling-1.28.0-py3-none-any.whl
  idna-3.11-py3-none-any.whl
  packaging-25.0-py3-none-any.whl
  pathspec-0.12.1-py3-none-any.whl
  pluggy-1.6.0-py3-none-any.whl
  requests-2.32.5-py3-none-any.whl
  setuptools-80.9.0-py3-none-any.whl
  trove_classifiers-2025.12.1.14-py3-none-any.whl
  urllib3-2.6.2-py3-none-any.whl

----------(Old B)----------
  Old:- Drop fix-with-latest-hatchling.patch
- Drop fix-tests.patch
- Provide some wheels for the test suite gh#pypa/hatch#2123
  Old:  * Fix for Click Sentinel value when using run command
- Drop fix-with-latest-hatchling.patch
- Drop fix-tests.patch
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-hatch.spec ++++++
--- /var/tmp/diff_new_pack.FDePv7/_old  2026-01-07 16:01:22.747028360 +0100
+++ /var/tmp/diff_new_pack.FDePv7/_new  2026-01-07 16:01:22.747028360 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-hatch
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,38 +31,50 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-hatch%{psuffix}
-Version:        1.15.1
+Version:        1.16.2
 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-with-latest-hatchling.patch gh#f8a2eaa gh#28f233c 
gh#fc25690
-Patch0:         fix-with-latest-hatchling.patch
-# PATCH-FIX-UPSTREAM fix-tests.patch gh#79d3c15
-Patch1:         fix-tests.patch
-BuildRequires:  %{python_module base >= 3.8}
+Source0:        
https://github.com/pypa/hatch/archive/refs/tags/hatch-v%{version}.tar.gz
+# For the tests gh#pypa/hatch#2123
+Source11:       
https://files.pythonhosted.org/packages/py3/b/binary/binary-1.0.2-py3-none-any.whl
+Source12:       
https://files.pythonhosted.org/packages/py3/c/certifi/certifi-2025.11.12-py3-none-any.whl
+Source13:       
https://files.pythonhosted.org/packages/py3/c/charset_normalizer/charset_normalizer-3.4.4-py3-none-any.whl
+Source14:       
https://files.pythonhosted.org/packages/py3/c/click/click-8.3.1-py3-none-any.whl
+Source15:       
https://files.pythonhosted.org/packages/py3/f/flit_core/flit_core-3.10.1-py3-none-any.whl
+Source16:       
https://files.pythonhosted.org/packages/py3/h/hatchling/hatchling-1.28.0-py3-none-any.whl
+Source17:       
https://files.pythonhosted.org/packages/py3/i/idna/idna-3.11-py3-none-any.whl
+Source18:       
https://files.pythonhosted.org/packages/py3/p/packaging/packaging-25.0-py3-none-any.whl
+Source19:       
https://files.pythonhosted.org/packages/py3/p/pathspec/pathspec-0.12.1-py3-none-any.whl
+Source20:       
https://files.pythonhosted.org/packages/py3/p/pluggy/pluggy-1.6.0-py3-none-any.whl
+Source21:       
https://files.pythonhosted.org/packages/py3/r/requests/requests-2.32.5-py3-none-any.whl
+Source22:       
https://files.pythonhosted.org/packages/py3/s/setuptools/setuptools-80.9.0-py3-none-any.whl
+Source23:       
https://files.pythonhosted.org/packages/py3/t/trove_classifiers/trove_classifiers-2025.12.1.14-py3-none-any.whl
+Source24:       
https://files.pythonhosted.org/packages/py3/u/urllib3/urllib3-2.6.2-py3-none-any.whl
+BuildRequires:  %{python_module base >= 3.10}
 BuildRequires:  %{python_module hatch-vcs >= 0.3}
-BuildRequires:  %{python_module hatchling >= 1.26.3}
+BuildRequires:  %{python_module hatchling >= 1.27}
 BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       git-core
 Requires:       python-click >= 8.0.6
-Requires:       python-hatchling >= 1.21.0
+Requires:       python-hatchling >= 1.27.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-packaging >= 24.2
 Requires:       python-platformdirs >= 2.5.0
+Requires:       python-pyproject-hooks
 Requires:       python-rich >= 11.2.0
 Requires:       python-shellingham >= 1.4.0
 Requires:       python-tomli-w >= 1.0
 Requires:       python-tomlkit >= 0.11.1
 Requires:       python-uv >= 0.5.23
-Requires:       python-virtualenv >= 20.16.2
-Requires:       python-zstandard < 1
+Requires:       python-virtualenv >= 20.26.1
+Requires:       (python-backports.zstd > 1 if python-base < 3.14)
 Requires:       (python-pexpect >= 4.8 with python-pexpect < 5)
 Requires:       (python-userpath >= 1.7 with python-userpath < 2)
 %if %{with libalternatives}
@@ -75,6 +87,7 @@
 %if %{with test}
 BuildRequires:  %{python_module editables}
 BuildRequires:  %{python_module filelock >= 3.7.1}
+BuildRequires:  %{python_module flit-core}
 BuildRequires:  %{python_module hatch = %{version}}
 BuildRequires:  %{python_module pyfakefs}
 BuildRequires:  %{python_module pytest-mock}
@@ -82,6 +95,9 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module trustme}
 BuildRequires:  cargo
+%if 0%{?suse_version} >= 1699
+BuildRequires:  python39-base
+%endif
 %else
 BuildArch:      noarch
 %endif
@@ -100,6 +116,11 @@
 
 %prep
 %autosetup -p1 -n hatch-hatch-v%{version}
+%if 0%{?suse_version} >= 1699
+sed -e 's/Source: pip$/Source: system/' \
+    -e 's/Source: Pyenv$/Source: system/' \
+    -i tests/cli/self/test_report.py
+%endif
 
 %build
 %if !%{with test}
@@ -119,6 +140,9 @@
 # tests expect this to be unset and use their own reproducible value. Nothing 
installed from here.
 # https://hatch.pypa.io/latest/config/build/#reproducible-builds
 unset SOURCE_DATE_EPOCH
+# Need to provide some wheels offline: gh#pypa/hatch#2123
+export UV_FIND_LINKS=%{_sourcedir}
+export UV_OFFLINE=1
 # finds bash instead of expected sh as default shell inside obs
 donttest="(test_install and test_already_installed_update_prompt)"
 donttest="$donttest or (test_install and test_already_installed_update_flag)"
@@ -126,22 +150,29 @@
 # platform distribution selection errors: 
https://github.com/pypa/hatch/issues/1145
 %ifnarch x86_64
 donttest="$donttest or (test_resolve and test_resolution_error)"
-donttest+=" or test_custom_source or test_pypy_custom"
+donttest="$donttest or (test_resolve and test_legacy_option)"
+donttest="$donttest or (test_resolve and test_compatib)"
+donttest="$donttest or test_custom_source or test_pypy_custom"
 %endif
 %ifarch s390x
 # Console width different
 donttest="$donttest or test_context_formatting"
 %endif
-
-# Requires network
-donttest+=" or test_uv_env"
-# Fails with python 3.12
-donttest+=" or test_pyenv or test_no_open or test_open"
-# Fails with hatchling >= 1.26
-
-# Ignore test_build.py it fails because output format difference.
-# https://github.com/pypa/hatch/commit/e843c42da2e71468b519a3aacdfeab31b14985a3
-%pytest -v -k "not ($donttest)" --ignore tests/cli/build/test_build.py
+# This requires a hatchling not released yet (hatchling > 1.28)
+donttest+=" or test_sbom_from_build_data"
+%if 0%{?suse_version} < 1699
+# Wants to create a Python 3.9 environment and would download the interpreter
+donttest+=" or test_workspace_overrides_matrix_conditional_members"
+donttest+=" or test_workspace_overrides_combined_conditions"
+%endif
+# Would need to provide too many offline wheels
+donttest+=" or test_workspace_member_features"
+donttest+=" or test_workspace_library_with_plugins"
+donttest+=" or test_workspace_multi_service_application"
+donttest+=" or test_workspace_documentation_generation"
+donttest+=" or test_workspace_development_workflow"
+donttest+=" or test_workspace_overrides_matrix_conditional_members"
+%pytest -n auto -v -k "not ($donttest)"
 %endif
 
 %post

++++++ hatch-v1.15.1.tar.gz -> hatch-v1.16.2.tar.gz ++++++
++++ 72309 lines of diff (skipped)

Reply via email to