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 <dmuel...@suse.com>
+
+- 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.000000000 +0100
+++ new/hatchling-1.22.4/PKG-INFO       2020-02-02 01:00:00.000000000 +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.000000000 +0100
+++ new/hatchling-1.22.4/src/hatchling/__about__.py     2020-02-02 
01:00:00.000000000 +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.000000000 +0100
+++ new/hatchling-1.22.4/src/hatchling/metadata/core.py 2020-02-02 
01:00:00.000000000 +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
 

Reply via email to