Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pep517 for openSUSE:Factory 
checked in at 2021-10-25 15:17:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pep517 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pep517.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pep517"

Mon Oct 25 15:17:03 2021 rev:8 rq:925675 version:0.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pep517/python-pep517.changes      
2020-12-04 21:27:22.586029129 +0100
+++ /work/SRC/openSUSE:Factory/.python-pep517.new.1890/python-pep517.changes    
2021-10-25 15:17:34.613681015 +0200
@@ -1,0 +2,22 @@
+Sat Oct 16 09:50:50 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 0.11
+  * Support editable hooks (PEP 660).
+  * Use the TOML 1.0 compliant tomli parser module on Python 3.6
+    and above.
+  * Ensure TOML files are always read as UTF-8.
+  * Switch CI to Github actions.
+- Release 0.10
+  * Avoid shadowing imports such as colorlog in the backend, by
+    moving the _in_process.py script into a separate subpackage.
+  * Issue warnings when using the deprecated pep517.build and
+    pep517.check modules at the command line. See the PyPA build
+    project for a replacement.
+  * Allow building with flit_core 3.x.
+  * Prefer the standard library unittest.mock to mock for tests on
+    Python 3.6 and above.
+- Avoid possible bootstrap build depcycles with _multibuild
+- Use pep517 install instead of distutils in order to produce
+  proper dist-info
+
+-------------------------------------------------------------------

Old:
----
  pep517-0.9.1.tar.gz

New:
----
  _multibuild
  pep517-0.11.0.tar.gz

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

Other differences:
------------------
++++++ python-pep517.spec ++++++
--- /var/tmp/diff_new_pack.VhtJZh/_old  2021-10-25 15:17:35.097681317 +0200
+++ /var/tmp/diff_new_pack.VhtJZh/_new  2021-10-25 15:17:35.101681320 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-pep517
+# spec file
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,35 +16,45 @@
 #
 
 
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-pep517
-Version:        0.9.1
+Name:           python-pep517%{psuffix}
+Version:        0.11.0
 Release:        0
 Summary:        Wrappers to build Python packages using PEP 517 hooks
 License:        MIT
 URL:            https://github.com/takluyver/pep517
 Source:         
https://files.pythonhosted.org/packages/source/p/pep517/pep517-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-toml
-Recommends:     python-pip
-Recommends:     python-wheel >= 0.25
+BuildRequires:  python3-flit-core >= 2
 BuildArch:      noarch
-# SECTION test requirements
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pip}
+%if %{with test}
+BuildRequires:  %{python_module flit-core >= 2 if %python-base >= 3}
+BuildRequires:  %{python_module mock if %python-base < 3.6}
+BuildRequires:  %{python_module pep517 = %{version}}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools >= 30}
 BuildRequires:  %{python_module testpath}
-BuildRequires:  %{python_module toml}
-BuildRequires:  %{python_module wheel >= 0.25}
-%if 0%{?suse_version} >= 1550
-# necessary assumption: only TW has multiple python flavors and no python2 
flavor
-BuildRequires:  %{python_module flit-core}
+BuildRequires:  %{python_module wheel}
+%endif
+%if 0%{?python_version_nodots} < 36
+Requires:       python-toml
 %else
-BuildRequires:  python3-flit-core
+Requires:       python-tomli
+%endif
+%if 0%{?python_version_nodots} < 38
+Requires:       python-importlib-metadata
+Requires:       python-zipp
 %endif
-# /SECTION
 %python_subpackages
 
 %description
@@ -60,22 +70,37 @@
 # https://github.com/pypa/pep517/issues/101
 sed -i "s/'--ignore-installed',//" pep517/envbuild.py
 
-# Needed for test_meta to avoid pypi.org fetches
-sed -i 's/"flit_core >=2,<3"/"flit_core"/' pyproject.toml
-
+%if ! %{with test}
 %build
-%python_build
+# only build once for all flavors using python3-flit-core as backend
+# even usable by python2 if necessary
+mkdir dist
+python3 -m pip wheel \
+  --no-deps \
+  --disable-pip-version-check \
+  --use-pep517 \
+  --no-build-isolation \
+  --progress-bar off \
+  --verbose \
+  -w dist/ \
+  .
 
 %install
-%python_install
+%pyproject_install dist/pep517-%{version}-py2.py3-none-any.whl
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
 %pytest
+%endif
 
+%if ! %{with test}
 %files %{python_files}
 %doc README.rst doc/*.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/pep517
+%{python_sitelib}/pep517-%{version}*-info
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>
++++++ pep517-0.9.1.tar.gz -> pep517-0.11.0.tar.gz ++++++
++++ 1620 lines of diff (skipped)

Reply via email to