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 <benoit.mo...@gmx.fr> + +- 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-INFO 2020-02-02 01:00:00.000000000 +0100 +++ new/hatchling-1.3.1/PKG-INFO 2020-02-02 01:00:00.000000000 +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.000000000 +0100 +++ new/hatchling-1.3.1/src/hatchling/__about__.py 2020-02-02 01:00:00.000000000 +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.py 2020-02-02 01:00:00.000000000 +0100 +++ new/hatchling-1.3.1/src/hatchling/version/source/code.py 2020-02-02 01:00:00.000000000 +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)