Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-meson-python for
openSUSE:Factory checked in at 2023-09-26 22:00:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-meson-python (Old)
and /work/SRC/openSUSE:Factory/.python-meson-python.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-meson-python"
Tue Sep 26 22:00:20 2023 rev:9 rq:1112687 version:0.14.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-meson-python/python-meson-python.changes
2023-08-23 14:56:57.861920442 +0200
+++
/work/SRC/openSUSE:Factory/.python-meson-python.new.1770/python-meson-python.changes
2023-09-26 22:10:09.482794277 +0200
@@ -1,0 +2,21 @@
+Thu Sep 21 06:01:08 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Update to 0.14.0:
+ * Do not run ``meson install`` to build a wheel.
+ * Obey the ``--skip-subprojects`` when specified for the ``meson
+ install`` command.
+ * Implement support for the ``exclude_directories`` and
+ ``exclude_files`` arguments to Meson ``install_subdir()`` function
+ and similar installation functions. This requires Meson version
+ 1.1.0 or later.
+ * Implement support for building wheels targeting the Python limited API.
+ * When ``pyproject.toml`` does not contain a ``version`` field and
+ ``version`` is not declared dynamic, raise an error instead of
+ silently using the version declared in ``meson.build``.
+ * Fix the mtime of source files in the sdist tarball.
+ * Add ``objc`` and ``objcpp`` compilers to the cross file generated
+ when the ``$ARCHFLAGS`` is set.
+- Add patch no-build-isolation-in-test.patch, don't use an isolated
+ environment.
+
+-------------------------------------------------------------------
Old:
----
meson_python-0.13.2.tar.gz
New:
----
meson_python-0.14.0.tar.gz
no-build-isolation-in-test.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-meson-python.spec ++++++
--- /var/tmp/diff_new_pack.7SMJwG/_old 2023-09-26 22:10:11.918882246 +0200
+++ /var/tmp/diff_new_pack.7SMJwG/_new 2023-09-26 22:10:11.918882246 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-meson-python
-Version: 0.13.2
+Version: 0.14.0
Release: 0
Summary: Meson Python build backend (PEP 517)
License: MIT
@@ -33,6 +33,8 @@
Patch11: mesonpy-trim-deps.patch
# PATCH-FEATURE-OPENSUSE mesonpy-no-wheel-rebuild.patch [email protected]
Patch12: mesonpy-no-wheel-rebuild.patch
+# PATCH-FEATURE-OPENSUSE
+Patch14: no-build-isolation-in-test.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyproject-metadata >= 0.7.1}
@@ -44,6 +46,9 @@
BuildRequires: python-rpm-macros
Requires: meson >= 0.63.3
Requires: python-pyproject-metadata >= 0.7.1
+%if 0%{python_version_nodots} >= 312
+Requires: python-setuptools
+%endif
%if 0%{python_version_nodots} < 311
Requires: python-tomli >= 1.0.0
%endif
@@ -57,6 +62,7 @@
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module setuptools-wheel}
BuildRequires: %{python_module wheel}
BuildRequires: patchelf
# /SECTION
@@ -78,6 +84,7 @@
%check
export MESONPY_FORCE_LOCAL_LIB=1
+export PIP_FIND_LINKS="%{python3_sitelib}/../wheels"
%python_expand cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} build/
%pytest
++++++ meson_python-0.13.2.tar.gz -> meson_python-0.14.0.tar.gz ++++++
++++ 4126 lines of diff (skipped)
++++++ no-build-isolation-in-test.patch ++++++
Index: meson_python-0.14.0/tests/test_pep518.py
===================================================================
--- meson_python-0.14.0.orig/tests/test_pep518.py
+++ meson_python-0.14.0/tests/test_pep518.py
@@ -27,4 +27,4 @@ def test_pep518(package, build_arg, tmp_
with chdir(package_dir / package), in_git_repo_context():
build_args = [build_arg] if build_arg else []
- subprocess.run([sys.executable, '-m', 'build', '--outdir', str(dist),
*build_args], check=True)
+ subprocess.run([sys.executable, '-m', 'build', '-n', '--outdir',
str(dist), *build_args], check=True)