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 2024-08-13 13:25:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hatch (Old)
 and      /work/SRC/openSUSE:Factory/.python-hatch.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hatch"

Tue Aug 13 13:25:25 2024 rev:14 rq:1193629 version:1.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hatch/python-hatch.changes        
2024-03-27 20:42:58.926037182 +0100
+++ /work/SRC/openSUSE:Factory/.python-hatch.new.7232/python-hatch.changes      
2024-08-13 13:25:48.124644283 +0200
@@ -1,0 +2,92 @@
+Thu Aug  8 11:20:24 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Add new patch to fix tests: fix-tests.patch
+- Remove upstreamed patch: support-hatchling-1.22.patch
+- update to 1.12.0:
+  - The run/env run and test commands now treat inclusion variable
+    options as an intersection rather than a union to allow for
+    specific targeting of environments
+  - Add ability to control the source of Python distributions
+  - Upgrade Ruff to 0.4.5
+  - Upgrade PyApp to 0.22.0 for binary builds
+  - The fmt command no longer hides the commands that are being
+    executed
+  - Add default timeout for network requests, useful when installing
+    Python distributions
+  - Fix syntax highlighting contrast for the config show command
+- 1.11.1:
+  - Add official GitHub Action for installing Hatch
+  - Fix terminal.styles.spinner configuration
+  - Fix entry points in the pre-built distributions that binaries use
+- 1.11.0:
+  - Upgrade PyApp to 0.21.1 for binary builds
+  - On Linux, install the highest compatible Python distribution
+    variant based on CPU architecture rather than assuming recent
+    hardware
+- 1.10.0:
+  - The run/env run, fmt and shell commands now only change the
+    current working directory to the project root if not already
+    inside the project
+  - The shell command now accepts a single argument to specify the
+    environment to enter which overrides the standard choice
+    mechanisms. The arguments determining shell options have been
+    converted to flags.
+  - Add test command
+  - The run command can now execute scripts that define inline
+    metadata for dependencies and Python version constraints
+  - The virtual environment type now supports the ability to use UV in
+    place of pip & virtualenv
+  - Add self report command for submitting pre-populated bug reports
+    to GitHub
+  - The reserved environment used for static analysis is now
+    completely configurable
+  - Add the following methods to the environment interface for
+    complete control over output during life cycle management:
+    app_status_creation, app_status_pre_installation,
+    app_status_post_installation, app_status_project_installation,
+    app_status_dependency_state_check,
+    app_status_dependency_installation_check,
+    app_status_dependency_synchronization
+  - Add binaries for 32-bit versions of Windows
+  - Read configuration from any ~/.pypirc file for the index publisher
+  - Use the Git user as the default username for new project URL
+    metadata
+  - Add HATCH_DEBUG environment variable that when enabled will show
+    local variables in the case of unhandled tracebacks
+  - The env show command now outputs data about all internal
+    environments when using the --json flag
+  - Upgrade default CPython distributions to 20240415
+  - Upgrade default PyPy distributions to 7.3.15
+  - Upgrade Ruff to 0.4.2
+  - Upgrade PyApp to 0.19.0 for binary builds
+  - Bump the minimum supported version of Hatchling to 1.24.2
+  - Bump the minimum supported version of virtualenv to 20.26.1
+  - Maintain consistent data paths for case insensitive file systems
+  - When projects derive dependencies from metadata hooks, there is
+    now by default a status indicator for when the hooks are executed
+    for better responsiveness
+  - Properly support projects with a pyproject.toml file but no
+    project table e.g. applications
+  - Fix the fmt command when automatically installing plugin
+    dependencies
+  - Fix dependency inheritance for the template of the types
+    environment for new projects
+  - Fix warnings related to tar file extraction on Python 3.12+ when
+    unpacking Python distributions for installation
+  - De-select Ruff rule E501 for the fmt command by default since it
+    conflicts with the formatter
+  - Fix colored output from build targets on the first run (build
+    environment creation status indicator issue)
+  - Set the packaging dependency version as >=23.2 to avoid its URL
+    validation which can conflict with context formatting
+  - Fix the exit code when there happens to be an unhandled exception
+  - No longer capture both stdout and stderr streams when parsing
+    metadata payloads from build environments
+  - Fix the README.md file template for new projects to avoid Markdown
+    linting issues
+- 1.9.7:
+  - Limit the maximum version of virtualenv due to a backward
+    incompatible change
+  - Upgrade PyApp to 0.12.0 for binary builds
+
+-------------------------------------------------------------------

Old:
----
  hatch-v1.9.4.tar.gz
  support-hatchling-1.22.patch

New:
----
  fix-tests.patch
  hatch-v1.12.0.tar.gz

BETA DEBUG BEGIN:
  Old:- Add new patch to fix tests: fix-tests.patch
- Remove upstreamed patch: support-hatchling-1.22.patch
- update to 1.12.0:
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:
- Add new patch to fix tests: fix-tests.patch
- Remove upstreamed patch: support-hatchling-1.22.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-hatch.spec ++++++
--- /var/tmp/diff_new_pack.VScDnU/_old  2024-08-13 13:25:48.704668530 +0200
+++ /var/tmp/diff_new_pack.VScDnU/_new  2024-08-13 13:25:48.704668530 +0200
@@ -26,17 +26,15 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-hatch%{psuffix}
-Version:        1.9.4
+Version:        1.12.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 Based on parts of the following commits:
-# gh#pypa/hatch#9a80ffc2567bb09160e97f1ade1dd4c768004089
-# gh#pypa/hatch#f3b2159a8c4221062692881774bc58dfed5aaa76
-Patch0:         support-hatchling-1.22.patch
+# PATCH-FIX-OPENSUSE fix-tests.patch
+Patch0:         fix-tests.patch
 BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module hatch-vcs >= 0.3}
 BuildRequires:  %{python_module hatchling >= 1.19}
@@ -59,17 +57,20 @@
 Requires:       python-tomlkit >= 0.11.1
 Requires:       python-virtualenv >= 20.16.2
 Requires:       python-zstandard < 1
+Requires:       uv
 Requires:       (python-pexpect >= 4.8 with python-pexpect < 5)
 Requires:       (python-userpath >= 1.7 with python-userpath < 2)
 %if %{with test}
 BuildRequires:  %{python_module editables}
 BuildRequires:  %{python_module filelock >= 3.7.1}
 BuildRequires:  %{python_module hatch = %{version}}
+BuildRequires:  %{python_module pyfakefs}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module trustme}
 BuildRequires:  cargo
+BuildRequires:  uv
 %else
 BuildArch:      noarch
 %endif
@@ -114,11 +115,18 @@
 # 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"
 %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"
+
 %pytest -v -k "not ($donttest)"
 %endif
 

++++++ fix-tests.patch ++++++
Index: hatch-hatch-v1.12.0/tests/conftest.py
===================================================================
--- hatch-hatch-v1.12.0.orig/tests/conftest.py
+++ hatch-hatch-v1.12.0/tests/conftest.py
@@ -95,11 +95,12 @@ def isolation(uv_on_path) -> Generator[P
             'GIT_AUTHOR_EMAIL': 'f...@bar.baz',
             'COLUMNS': '80',
             'LINES': '24',
+            'HATCH_ENV_TYPE_VIRTUAL_UV_PATH': '',
         }
         if PLATFORM.windows:
             default_env_vars['COMSPEC'] = 'cmd.exe'
         else:
-            default_env_vars['SHELL'] = 'sh'
+            default_env_vars['SHELL'] = 'bash'
 
         with d.as_cwd(default_env_vars):
             os.environ.pop(AppEnvVars.ENV_ACTIVE, None)

++++++ hatch-v1.9.4.tar.gz -> hatch-v1.12.0.tar.gz ++++++
++++ 20335 lines of diff (skipped)

Reply via email to