commit python-meson-python for openSUSE:Factory
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 2024-04-18 22:10:39 Comparing /work/SRC/openSUSE:Factory/python-meson-python (Old) and /work/SRC/openSUSE:Factory/.python-meson-python.new.26366 (New) Package is "python-meson-python" Thu Apr 18 22:10:39 2024 rev:10 rq:1168465 version:0.15.0 Changes: --- /work/SRC/openSUSE:Factory/python-meson-python/python-meson-python.changes 2023-09-26 22:10:09.482794277 +0200 +++ /work/SRC/openSUSE:Factory/.python-meson-python.new.26366/python-meson-python.changes 2024-04-18 22:11:19.822668346 +0200 @@ -1,0 +2,36 @@ +Tue Apr 16 19:27:36 UTC 2024 - Ben Greiner + +- Update to 0.15.0 + * Enable compression for wheel files. The may result in several +times smaller wheels. + * Require Meson 1.2.3 or later on Python 3.12 or later. Meson +1.2.3 does not require anymore ``distutils``, allowing to +remove the dependency on ``setuptools`` on Python 3.12 or +later. + * Unconditionally require ``patchelf`` on Linux. The +``patchelf`` package is added to the build dependencies if a +suitable ``patchelf`` executable is not find on the ``$PATH``. +This avoids cases where ``meson setup`` was run twice during +the build process to determine whether ``patchelf`` is +required. + * Allow to configure the ``meson`` executable to use for the +build process through the ``$MESON`` environment variable or +the ``meson`` key under ``[tool.meson-python]`` in +``pyproject.toml``. + * Fix wheel platform tag generation on FreeBSD. + * Extend support to other UNIX-like systems and make the tests +pass on FreeBSD. + * Fix package name normalization in package metadata and improve +package name validation. + * Fix ``RPATH`` handling when the build ``RPATH`` points to +subdirectories of the build directory. + * Fix support for the Python limited C API when compiling for +PyPy. + * Rename the ``builddir`` config-setting to ``build-dir``. For +backwards compatibility, the ``buildir`` config-setting remains +supported as an alias. +- Drop no longer needed test patches and test wheels + * no-build-isolation-in-test.patch + * mesonpy-no-wheel-rebuild.patch + +--- Old: meson_python-0.14.0.tar.gz mesonpy-no-wheel-rebuild.patch no-build-isolation-in-test.patch packaging-23.0-py3-none-any.whl pyproject_metadata-0.7.1-py3-none-any.whl tomli-2.0.1-py3-none-any.whl typing_extensions-4.4.0-py3-none-any.whl New: meson_python-0.15.0.tar.gz BETA DEBUG BEGIN: Old: * no-build-isolation-in-test.patch * mesonpy-no-wheel-rebuild.patch Old:- Drop no longer needed test patches and test wheels * no-build-isolation-in-test.patch * mesonpy-no-wheel-rebuild.patch BETA DEBUG END: Other differences: -- ++ python-meson-python.spec ++ --- /var/tmp/diff_new_pack.AWvHv6/_old 2024-04-18 22:11:20.654698922 +0200 +++ /var/tmp/diff_new_pack.AWvHv6/_new 2024-04-18 22:11:20.654698922 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-meson-python # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,43 +18,31 @@ %{?sle15_python_module_pythons} Name: python-meson-python -Version:0.14.0 +Version:0.15.0 Release:0 Summary:Meson Python build backend (PEP 517) License:MIT URL:https://github.com/mesonbuild/meson-python Source0: https://files.pythonhosted.org/packages/source/m/meson_python/meson_python-%{version}.tar.gz -# for the test suite -Source1: https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl -Source2: https://files.pythonhosted.org/packages/py3/p/pyproject_metadata/pyproject_metadata-0.7.1-py3-none-any.whl -Source3: https://files.pythonhosted.org/packages/py3/p/packaging/packaging-23.0-py3-none-any.whl -Source4: https://files.pythonhosted.org/packages/py3/t/typing_extensions/typing_extensions-4.4.0-py3-none-any.whl # PATCH-FEATURE-OPENSUSE mesonpy-trim-deps.patch c...@bnavigator.de Patch11:mesonpy-trim-deps.patch -# PATCH-FEATURE-OPENSUSE mesonpy-no-wheel-rebuild.patch c...@bnavigator.de -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}
commit python-meson-python for openSUSE:Factory
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 + +- 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 c...@bnavigator.de 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)
commit python-meson-python for openSUSE:Factory
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-08-23 14:56:48 Comparing /work/SRC/openSUSE:Factory/python-meson-python (Old) and /work/SRC/openSUSE:Factory/.python-meson-python.new.1766 (New) Package is "python-meson-python" Wed Aug 23 14:56:48 2023 rev:8 rq:1105266 version:0.13.2 Changes: --- /work/SRC/openSUSE:Factory/python-meson-python/python-meson-python.changes 2023-06-12 15:25:03.530557674 +0200 +++ /work/SRC/openSUSE:Factory/.python-meson-python.new.1766/python-meson-python.changes 2023-08-23 14:56:57.861920442 +0200 @@ -1,0 +2,42 @@ +Thu Aug 17 12:57:55 UTC 2023 - Markéta Machová + +- Update to 0.13.2 + * Add support for editable installs. + * Adjust the default build options passed to meson setup. + * Make sure that the directory where the wheel or sdist build artifacts are +created exists. Fixes building with PDM. + * Fix the specification of the C++ compiler for cross-compilation with +$ARCHFLAGS on macOS. + * Pass the --reconfigure option to meson setup if and only if the specified +build directory exists and is a valid Meson build directory. + * Pass the --no-rebuild option to meson install. + * Allow to select the files to be included in the wheel via Meson install +tags passing the --tags option to meson install via pyproject.toml or +config settings. + * Do not use the meson compile indirection to build the project, except on +Windows, where it is required to setup the Visual Studio environment. + * Do not add ninja to the build dependencies if $NINJA is set but it does not +point to a ninja executable with the required minimum version. + * Verify at run time that Meson satisfies the minimum required version. + * Place native and cross files in the build directory instead of in the source directory. + * Drop the typing-extensions package dependency. + * Add dependency on setuptools on Python 3.12 and later. This fixes build +error due to Meson depending on the distutils standard library module +removed in Python 3.12. + * Bump the required pyproject-metadata version to 0.7.1. + * Allows some more cross-compilation setups by not checking extension modules +filename suffixes against the suffixes accepted by the current interpreter. + * Raise an error when a file that would be installed by Meson cannot be +mapped to a wheel location. + * Raise an error when a package is split between platlib and purelib. + * Do not generate a warning when pyproject.toml does not contain a project +section and Python package metadata is derived from meson.build. + * Improve reporting of pyproject.toml validation errors. + * Fix validation of tool specific options in pyproject.toml. In particular, +allows to specify an incomplete set of options in the +tool.meson-python.args table. + * Add the --quiet option when invoking meson install. The installation paths +are a detail of the meson-python implementation and are generally not +interesting for the user. + +--- Old: meson_python-0.12.1.tar.gz pyproject_metadata-0.6.1-py3-none-any.whl New: meson_python-0.13.2.tar.gz pyproject_metadata-0.7.1-py3-none-any.whl Other differences: -- ++ python-meson-python.spec ++ --- /var/tmp/diff_new_pack.rhIvtA/_old 2023-08-23 14:56:59.073922609 +0200 +++ /var/tmp/diff_new_pack.rhIvtA/_new 2023-08-23 14:56:59.081922623 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-meson-python -Version:0.12.1 +Version:0.13.2 Release:0 Summary:Meson Python build backend (PEP 517) License:MIT @@ -26,7 +26,7 @@ Source0: https://files.pythonhosted.org/packages/source/m/meson_python/meson_python-%{version}.tar.gz # for the test suite Source1: https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl -Source2: https://files.pythonhosted.org/packages/py3/p/pyproject_metadata/pyproject_metadata-0.6.1-py3-none-any.whl +Source2: https://files.pythonhosted.org/packages/py3/p/pyproject_metadata/pyproject_metadata-0.7.1-py3-none-any.whl Source3: https://files.pythonhosted.org/packages/py3/p/packaging/packaging-23.0-py3-none-any.whl Source4: https://files.pythonhosted.org/packages/py3/t/typing_extensions/typing_extensions-4.4.0-py3-none-any.whl # PATCH-FEATURE-OPENSUSE mesonpy-trim-deps.patch c...@bnavigator.de @@ -35,7 +35,7 @@ Patch12:mesonpy-no-wheel-rebuild.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module
commit python-meson-python for openSUSE:Factory
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-06-12 15:24:42 Comparing /work/SRC/openSUSE:Factory/python-meson-python (Old) and /work/SRC/openSUSE:Factory/.python-meson-python.new.15902 (New) Package is "python-meson-python" Mon Jun 12 15:24:42 2023 rev:7 rq:1092244 version:0.12.1 Changes: --- /work/SRC/openSUSE:Factory/python-meson-python/python-meson-python.changes 2023-03-29 23:26:15.463190714 +0200 +++ /work/SRC/openSUSE:Factory/.python-meson-python.new.15902/python-meson-python.changes 2023-06-12 15:25:03.530557674 +0200 @@ -1,0 +2,5 @@ +Sat Jun 10 17:53:58 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +--- Other differences: -- ++ python-meson-python.spec ++ --- /var/tmp/diff_new_pack.IxusM3/_old 2023-06-12 15:25:04.322562359 +0200 +++ /var/tmp/diff_new_pack.IxusM3/_new 2023-06-12 15:25:04.326562383 +0200 @@ -16,6 +16,7 @@ # +%{?sle15_python_module_pythons} Name: python-meson-python Version:0.12.1 Release:0
commit python-meson-python for openSUSE:Factory
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-03-29 23:26:09 Comparing /work/SRC/openSUSE:Factory/python-meson-python (Old) and /work/SRC/openSUSE:Factory/.python-meson-python.new.31432 (New) Package is "python-meson-python" Wed Mar 29 23:26:09 2023 rev:6 rq:1074506 version:0.12.1 Changes: --- /work/SRC/openSUSE:Factory/python-meson-python/python-meson-python.changes 2023-01-18 13:08:14.079934239 +0100 +++ /work/SRC/openSUSE:Factory/.python-meson-python.new.31432/python-meson-python.changes 2023-03-29 23:26:15.463190714 +0200 @@ -1,0 +2,8 @@ +Sun Mar 26 19:49:50 UTC 2023 - Dirk Müller + +- update to 0.12.1: + * Fix regression where the ``MACOSX_DEPLOYMENT_TARGET`` +environment variable was accidentally renamed to +``MACOS_DEPLOYMENT_TARGET`` + +--- Old: meson_python-0.12.0.tar.gz New: meson_python-0.12.1.tar.gz Other differences: -- ++ python-meson-python.spec ++ --- /var/tmp/diff_new_pack.PflB8T/_old 2023-03-29 23:26:15.931192912 +0200 +++ /var/tmp/diff_new_pack.PflB8T/_new 2023-03-29 23:26:15.935192931 +0200 @@ -17,7 +17,7 @@ Name: python-meson-python -Version:0.12.0 +Version:0.12.1 Release:0 Summary:Meson Python build backend (PEP 517) License:MIT ++ meson_python-0.12.0.tar.gz -> meson_python-0.12.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/meson_python-0.12.0/CHANGELOG.rst new/meson_python-0.12.1/CHANGELOG.rst --- old/meson_python-0.12.0/CHANGELOG.rst 1970-01-01 01:00:00.0 +0100 +++ new/meson_python-0.12.1/CHANGELOG.rst 1970-01-01 01:00:00.0 +0100 @@ -3,6 +3,13 @@ + +0.12.1 (17-02-2023) +=== + +- Fix regression where the ``MACOSX_DEPLOYMENT_TARGET`` environment variable was + accidentally renamed to ``MACOS_DEPLOYMENT_TARGET`` + + 0.12.0 (22-12-2022) === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/meson_python-0.12.0/PKG-INFO new/meson_python-0.12.1/PKG-INFO --- old/meson_python-0.12.0/PKG-INFO1970-01-01 01:00:00.0 +0100 +++ new/meson_python-0.12.1/PKG-INFO1970-01-01 01:00:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: meson-python -Version: 0.12.0 +Version: 0.12.1 Summary: Meson Python build backend (PEP 517) Keywords: meson build backend pep517 package Home-page: https://github.com/mesonbuild/meson-python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/meson_python-0.12.0/docs/changelog.rst new/meson_python-0.12.1/docs/changelog.rst --- old/meson_python-0.12.0/docs/changelog.rst 1970-01-01 01:00:00.0 +0100 +++ new/meson_python-0.12.1/docs/changelog.rst 1970-01-01 01:00:00.0 +0100 @@ -3,6 +3,13 @@ + +0.12.1 (17-02-2023) +=== + +- Fix regression where the ``MACOSX_DEPLOYMENT_TARGET`` environment variable was + accidentally renamed to ``MACOS_DEPLOYMENT_TARGET`` + + 0.12.0 (22-12-2022) === diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/meson_python-0.12.0/meson.build new/meson_python-0.12.1/meson.build --- old/meson_python-0.12.0/meson.build 1970-01-01 01:00:00.0 +0100 +++ new/meson_python-0.12.1/meson.build 1970-01-01 01:00:00.0 +0100 @@ -1,4 +1,4 @@ -project('meson-python', version: '0.12.0') +project('meson-python', version: '0.12.1') py_mod = import('python') py = py_mod.find_installation() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/meson_python-0.12.0/mesonpy/__init__.py new/meson_python-0.12.1/mesonpy/__init__.py --- old/meson_python-0.12.0/mesonpy/__init__.py 1970-01-01 01:00:00.0 +0100 +++ new/meson_python-0.12.1/mesonpy/__init__.py 1970-01-01 01:00:00.0 +0100 @@ -63,7 +63,7 @@ cached_property = lambda x: property(functools.lru_cache(maxsize=None)(x)) # noqa: E731 -__version__ = '0.12.0' +__version__ = '0.12.1' _COLORS = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/meson_python-0.12.0/mesonpy/_tags.py new/meson_python-0.12.1/mesonpy/_tags.py --- old/meson_python-0.12.0/mesonpy/_tags.py1970-01-01 01:00:00.0 +0100 +++ new/meson_python-0.12.1/mesonpy/_tags.py1970-01-01 01:00:00.0 +0100 @@ -99,9 +99,9 @@ pass # Override the macOS version if one is provided via the -#
commit python-meson-python for openSUSE:Factory
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-01-18 13:08:11 Comparing /work/SRC/openSUSE:Factory/python-meson-python (Old) and /work/SRC/openSUSE:Factory/.python-meson-python.new.32243 (New) Package is "python-meson-python" Wed Jan 18 13:08:11 2023 rev:5 rq:1058761 version:0.12.0 Changes: --- /work/SRC/openSUSE:Factory/python-meson-python/python-meson-python.changes 2022-11-25 13:11:39.439846785 +0100 +++ /work/SRC/openSUSE:Factory/.python-meson-python.new.32243/python-meson-python.changes 2023-01-18 13:08:14.079934239 +0100 @@ -0,0 +1,11 @@ +--- +Fri Jan 13 14:35:33 UTC 2023 - Ben Greiner + +- Update to 0.12.0 + * Raise SystemExit on expected errors + * Revise error messages for consistency + * Support setuptools-style macOS cross compilation via ARCHFLAGS + * Allow to overwrite macOS platform tag via _PYTHON_HOST_PLATFORM + * Include (similar) allowed keys in error messages +- Refresh test wheels + Old: meson_python-0.11.0.tar.gz packaging-21.3-py3-none-any.whl pyparsing-3.0.9-py3-none-any.whl New: meson_python-0.12.0.tar.gz packaging-23.0-py3-none-any.whl typing_extensions-4.4.0-py3-none-any.whl Other differences: -- ++ python-meson-python.spec ++ --- /var/tmp/diff_new_pack.lRegAL/_old 2023-01-18 13:08:14.903938658 +0100 +++ /var/tmp/diff_new_pack.lRegAL/_new 2023-01-18 13:08:14.911938701 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-meson-python # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-meson-python -Version:0.11.0 +Version:0.12.0 Release:0 Summary:Meson Python build backend (PEP 517) License:MIT @@ -26,27 +26,27 @@ # for the test suite Source1: https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl Source2: https://files.pythonhosted.org/packages/py3/p/pyproject_metadata/pyproject_metadata-0.6.1-py3-none-any.whl -Source3: https://files.pythonhosted.org/packages/py3/p/packaging/packaging-21.3-py3-none-any.whl -Source4: https://files.pythonhosted.org/packages/py3/p/pyparsing/pyparsing-3.0.9-py3-none-any.whl +Source3: https://files.pythonhosted.org/packages/py3/p/packaging/packaging-23.0-py3-none-any.whl +Source4: https://files.pythonhosted.org/packages/py3/t/typing_extensions/typing_extensions-4.4.0-py3-none-any.whl # PATCH-FEATURE-OPENSUSE mesonpy-trim-deps.patch c...@bnavigator.de Patch11:mesonpy-trim-deps.patch # PATCH-FEATURE-OPENSUSE mesonpy-no-wheel-rebuild.patch c...@bnavigator.de Patch12:mesonpy-no-wheel-rebuild.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pyproject-metadata >= 0.5.0} +BuildRequires: %{python_module pyproject-metadata >= 0.6.1} BuildRequires: %{python_module tomli >= 1.0.0 if %python-base < 3.11} -BuildRequires: %{python_module typing-extensions >= 3.7.4 if %python-base < 3.8} +BuildRequires: %{python_module typing-extensions >= 3.7.4 if %python-base < 3.10} BuildRequires: fdupes BuildRequires: meson >= 0.63.3 BuildRequires: ninja BuildRequires: python-rpm-macros Requires: meson >= 0.63.3 -Requires: python-pyproject-metadata >= 0.5.0 +Requires: python-pyproject-metadata >= 0.6.1 %if 0%{python_version_nodots} < 311 Requires: python-tomli >= 1.0.0 %endif -%if 0%{python_version_nodots} < 38 +%if 0%{python_version_nodots} < 310 Requires: python-typing-extensions >= 3.7.4 %endif # SECTION test @@ -54,7 +54,6 @@ BuildRequires: %{python_module Cython} BuildRequires: %{python_module build} BuildRequires: %{python_module devel} -BuildRequires: %{python_module pyproject-metadata >= 0.6.1} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} @@ -79,11 +78,7 @@ %check export MESONPY_FORCE_LOCAL_LIB=1 %python_expand cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} build/ -# can test test_spam only once gh#mesonbuild/meson-python#169 -# this has benn fixed shortly after the release of 0.11 -%python_expand $python_ignore="--ignore tests/docs/examples/test_spam.py" -unset python310_ignore -%pytest ${$python_ignore} +%pytest %files %{python_files} %license LICENSE ++ meson_python-0.11.0.tar.gz -> meson_python-0.12.0.tar.gz ++
commit python-meson-python for openSUSE:Factory
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 2022-11-25 13:11:29 Comparing /work/SRC/openSUSE:Factory/python-meson-python (Old) and /work/SRC/openSUSE:Factory/.python-meson-python.new.1597 (New) Package is "python-meson-python" Fri Nov 25 13:11:29 2022 rev:4 rq:1037919 version:0.11.0 Changes: --- /work/SRC/openSUSE:Factory/python-meson-python/python-meson-python.changes 2022-10-18 12:44:12.437615465 +0200 +++ /work/SRC/openSUSE:Factory/.python-meson-python.new.1597/python-meson-python.changes 2022-11-25 13:11:39.439846785 +0100 @@ -0,0 +1,19 @@ +-- +Thu Nov 24 11:31:07 UTC 2022 - Ben Greiner + +- Update to 0.11.0 + * Project moved to the mesonbuild organization + * Determine wheel tags by introspecting the Python interpreter + * Allow users to pass options directly to Meson via the +tools.meson-python.args.{dist,setup,compile,install} +pyproject.toml keys, and the {dist,setup,compile,install}-args +frontend config options + * Use the system ninja dependency if possible + * Include files generated by mesonadd_dist_script to sdists + * Use tomllib on Python>=3.11 + * Drop wheel dependency in favor of in-house solution + * Fix bug where the entry_points.txt file wasn't being generated + * Fix bug where Cygwin Python extensions were not being noticed +- Drop meson-subdir-fix.patch fixed upstream +- Add mesonpy-no-wheel-rebuild.patch + Old: meson-subdir-fix.patch meson_python-0.10.0.tar.gz New: meson_python-0.11.0.tar.gz mesonpy-no-wheel-rebuild.patch packaging-21.3-py3-none-any.whl pyparsing-3.0.9-py3-none-any.whl pyproject_metadata-0.6.1-py3-none-any.whl tomli-2.0.1-py3-none-any.whl Other differences: -- ++ python-meson-python.spec ++ --- /var/tmp/diff_new_pack.CfqtCQ/_old 2022-11-25 13:11:40.059850248 +0100 +++ /var/tmp/diff_new_pack.CfqtCQ/_new 2022-11-25 13:11:40.063850270 +0100 @@ -17,42 +17,50 @@ Name: python-meson-python -Version:0.10.0 +Version:0.11.0 Release:0 Summary:Meson Python build backend (PEP 517) License:MIT -URL:https://github.com/FFY00/meson-python -Source: https://files.pythonhosted.org/packages/source/m/meson_python/meson_python-%{version}.tar.gz +URL:https://github.com/mesonbuild/meson-python +Source0: https://files.pythonhosted.org/packages/source/m/meson_python/meson_python-%{version}.tar.gz +# for the test suite +Source1: https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl +Source2: https://files.pythonhosted.org/packages/py3/p/pyproject_metadata/pyproject_metadata-0.6.1-py3-none-any.whl +Source3: https://files.pythonhosted.org/packages/py3/p/packaging/packaging-21.3-py3-none-any.whl +Source4: https://files.pythonhosted.org/packages/py3/p/pyparsing/pyparsing-3.0.9-py3-none-any.whl # PATCH-FEATURE-OPENSUSE mesonpy-trim-deps.patch c...@bnavigator.de -Patch1: mesonpy-trim-deps.patch -# PATCH-FIX-UPSTREAM https://github.com/FFY00/meson-python/commit/f51fcafb20e20a8a724a2b65f49670a74fe7d8f2 TST: update the test for install_subdir for fix in meson 0.63.3 -Patch2: meson-subdir-fix.patch +Patch11:mesonpy-trim-deps.patch +# PATCH-FEATURE-OPENSUSE mesonpy-no-wheel-rebuild.patch c...@bnavigator.de +Patch12:mesonpy-no-wheel-rebuild.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pyproject-metadata >= 0.6.1} -BuildRequires: %{python_module tomli >= 1.0.0} +BuildRequires: %{python_module pyproject-metadata >= 0.5.0} +BuildRequires: %{python_module tomli >= 1.0.0 if %python-base < 3.11} BuildRequires: %{python_module typing-extensions >= 3.7.4 if %python-base < 3.8} -BuildRequires: %{python_module wheel} BuildRequires: fdupes -BuildRequires: meson >= 0.63.0 +BuildRequires: meson >= 0.63.3 BuildRequires: ninja BuildRequires: python-rpm-macros -Requires: meson >= 0.62.0 -Requires: ninja +Requires: meson >= 0.63.3 Requires: python-pyproject-metadata >= 0.5.0 +%if 0%{python_version_nodots} < 311 Requires: python-tomli >= 1.0.0 -BuildArch: noarch +%endif %if 0%{python_version_nodots} < 38 Requires: python-typing-extensions >= 3.7.4 %endif # SECTION test BuildRequires: %{python_module GitPython} BuildRequires: %{python_module Cython} +BuildRequires: %{python_module build} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pyproject-metadata >= 0.6.1}
commit python-meson-python for openSUSE:Factory
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 2022-10-18 12:44:10 Comparing /work/SRC/openSUSE:Factory/python-meson-python (Old) and /work/SRC/openSUSE:Factory/.python-meson-python.new.2275 (New) Package is "python-meson-python" Tue Oct 18 12:44:10 2022 rev:3 rq:1010928 version:0.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-meson-python/python-meson-python.changes 2022-10-11 18:05:56.762123238 +0200 +++ /work/SRC/openSUSE:Factory/.python-meson-python.new.2275/python-meson-python.changes 2022-10-18 12:44:12.437615465 +0200 @@ -1,0 +2,11 @@ +Fri Oct 14 12:44:56 UTC 2022 - Daniel Garcia + +- Update meson-subdir-fix.patch to fix the failure for python3.8 and python3.9 + because the meson package is only available for python3.10 + +--- +Fri Oct 14 08:49:00 UTC 2022 - Mark??ta Machov?? + +- Add meson-subdir-fix.patch to fix the failure with new meson + +--- New: meson-subdir-fix.patch Other differences: -- ++ python-meson-python.spec ++ --- /var/tmp/diff_new_pack.p5FnYA/_old 2022-10-18 12:44:12.881616476 +0200 +++ /var/tmp/diff_new_pack.p5FnYA/_new 2022-10-18 12:44:12.885616485 +0200 @@ -25,6 +25,8 @@ Source: https://files.pythonhosted.org/packages/source/m/meson_python/meson_python-%{version}.tar.gz # PATCH-FEATURE-OPENSUSE mesonpy-trim-deps.patch c...@bnavigator.de Patch1: mesonpy-trim-deps.patch +# PATCH-FIX-UPSTREAM https://github.com/FFY00/meson-python/commit/f51fcafb20e20a8a724a2b65f49670a74fe7d8f2 TST: update the test for install_subdir for fix in meson 0.63.3 +Patch2: meson-subdir-fix.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module pyproject-metadata >= 0.6.1} ++ meson-subdir-fix.patch ++ >From f51fcafb20e20a8a724a2b65f49670a74fe7d8f2 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Thu, 6 Oct 2022 20:18:43 +0200 Subject: [PATCH] TST: update the test for `install_subdir` for fix in meson 0.63.3 We weren't sure if the fix we needed was getting backported, but it has been. --- tests/test_wheel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: meson_python-0.10.0/tests/test_wheel.py === --- meson_python-0.10.0.orig/tests/test_wheel.py +++ meson_python-0.10.0/tests/test_wheel.py @@ -107,7 +107,7 @@ def test_scipy_like(wheel_scipy_like): # 0.63.2: https://github.com/mesonbuild/meson/pull/10765 # A backport of the fix may land in 0.63.3, if so then remove the version # check here and add the two expected files unconditionally. -if meson_version and meson_version >= '0.63.99': +if meson_version and meson_version >= '0.63.3': expecting |= { 'mypkg/submod/__init__.py', 'mypkg/submod/unknown_filetype.npq', @@ -120,7 +120,15 @@ def test_scipy_like(wheel_scipy_like): for item in expecting: assert item in actual_files else: -assert wheel_contents(artifact) == expecting +# meson_version is None for python3.8 and python3.9 but the real +# version installed is > 0.63.3, so it's possible that these two +# files exists in the wheel_contents but not in the expecting: +# 'mypkg/submod/__init__.py', +# 'mypkg/submod/unknown_filetype.npq', +# So we need to compare just the expecting +actual_files = wheel_contents(artifact) +for item in expecting: +assert item in actual_files name = artifact.parsed_filename assert name.group('pyver') == PYTHON_TAG
commit python-meson-python for openSUSE:Factory
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 2022-10-11 18:03:31 Comparing /work/SRC/openSUSE:Factory/python-meson-python (Old) and /work/SRC/openSUSE:Factory/.python-meson-python.new.2275 (New) Package is "python-meson-python" Tue Oct 11 18:03:31 2022 rev:2 rq:1009788 version:0.10.0 Changes: --- /work/SRC/openSUSE:Factory/python-meson-python/python-meson-python.changes 2022-09-19 16:02:52.334075909 +0200 +++ /work/SRC/openSUSE:Factory/.python-meson-python.new.2275/python-meson-python.changes 2022-10-11 18:05:56.762123238 +0200 @@ -1,0 +2,18 @@ +Tue Oct 11 09:01:00 UTC 2022 - Ben Greiner + +- Update to 0.10.0 + * Ignore the macOS minor version on >=11, to match the behavior +with pypa/packaging + * More fixes on ABI tag detection + * Fix incorrect tag on 32-bit Python running on a x86_64 host + * Fix sdist permissions + * Fix incorrect PyPy tags + * Fix ``install_subdirs`` not being included in wheels + * Take ``MACOSX_DEPLOYMENT_TARGET`` into account for the platform +tag + * Don't set the rpath on binaries if unneeded +- Drop patches + * mesonpy-force-flavor.patch + * mesonpy-no-rpath.patch + +--- Old: meson_python-0.8.1.tar.gz mesonpy-force-flavor.patch mesonpy-no-rpath.patch New: meson_python-0.10.0.tar.gz Other differences: -- ++ python-meson-python.spec ++ --- /var/tmp/diff_new_pack.RT5nOx/_old 2022-10-11 18:05:57.146123859 +0200 +++ /var/tmp/diff_new_pack.RT5nOx/_new 2022-10-11 18:05:57.150123865 +0200 @@ -17,29 +17,25 @@ Name: python-meson-python -Version:0.8.1 +Version:0.10.0 Release:0 Summary:Meson Python build backend (PEP 517) License:MIT URL:https://github.com/FFY00/meson-python Source: https://files.pythonhosted.org/packages/source/m/meson_python/meson_python-%{version}.tar.gz -# PATCH-FIX-UPSTREAM mesonpy-force-flavor.patch gh#FY00/meson-python#51, gh#FY00/meson-python#127 -Patch0: mesonpy-force-flavor.patch # PATCH-FEATURE-OPENSUSE mesonpy-trim-deps.patch c...@bnavigator.de Patch1: mesonpy-trim-deps.patch -# PATCH-FIX-OPENSUSE mesonpy-no-rpath.patch c...@bnavigator.de -- https://github.com/FFY00/meson-python/issues/125#issuecomment-1243388061 -Patch2: mesonpy-no-rpath.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pyproject-metadata >= 0.5} +BuildRequires: %{python_module pyproject-metadata >= 0.6.1} BuildRequires: %{python_module tomli >= 1.0.0} BuildRequires: %{python_module typing-extensions >= 3.7.4 if %python-base < 3.8} BuildRequires: %{python_module wheel} BuildRequires: fdupes -BuildRequires: meson +BuildRequires: meson >= 0.63.0 BuildRequires: ninja BuildRequires: python-rpm-macros -Requires: meson +Requires: meson >= 0.62.0 Requires: ninja Requires: python-pyproject-metadata >= 0.5.0 Requires: python-tomli >= 1.0.0 @@ -49,6 +45,7 @@ %endif # SECTION test BuildRequires: %{python_module GitPython} +BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} @@ -63,8 +60,6 @@ %autosetup -p1 -n meson_python-%{version} %build -# until we have https://github.com/openSUSE/python-rpm-macros/pull/139, this will build -# a pure wheel three times. %pyproject_wheel %install @@ -73,7 +68,10 @@ %check export MESONPY_FORCE_LOCAL_LIB=1 -%pytest +# can test test_spam only once gh#FFY00/meson-python#169 +%python_expand $python_ignore="--ignore tests/docs/examples/test_spam.py" +unset python310_ignore +%pytest ${$python_ignore} %files %{python_files} %license LICENSE ++ meson_python-0.8.1.tar.gz -> meson_python-0.10.0.tar.gz ++ 2083 lines of diff (skipped)