Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pdm-backend for openSUSE:Factory checked in at 2026-03-10 17:46:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pdm-backend (Old) and /work/SRC/openSUSE:Factory/.python-pdm-backend.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pdm-backend" Tue Mar 10 17:46:45 2026 rev:8 rq:1337523 version:2.4.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pdm-backend/python-pdm-backend.changes 2025-12-30 12:00:11.764145606 +0100 +++ /work/SRC/openSUSE:Factory/.python-pdm-backend.new.8177/python-pdm-backend.changes 2026-03-10 17:46:47.395390977 +0100 @@ -1,0 +2,7 @@ +Tue Mar 3 18:56:17 UTC 2026 - Dirk Müller <[email protected]> + +- update to 2.4.7: + * Allow user to override wheel with multiple plat tags + * Switch dev-dependencies to dependency-groups + +------------------------------------------------------------------- Old: ---- pdm_backend-2.4.6.tar.gz New: ---- pdm_backend-2.4.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pdm-backend.spec ++++++ --- /var/tmp/diff_new_pack.0TvQMi/_old 2026-03-10 17:46:48.319429121 +0100 +++ /var/tmp/diff_new_pack.0TvQMi/_new 2026-03-10 17:46:48.319429121 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pdm-backend # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pdm-backend -Version: 2.4.6 +Version: 2.4.7 Release: 0 Summary: Backend used by PDM License: MIT ++++++ pdm_backend-2.4.6.tar.gz -> pdm_backend-2.4.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdm_backend-2.4.6/PKG-INFO new/pdm_backend-2.4.7/PKG-INFO --- old/pdm_backend-2.4.6/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/pdm_backend-2.4.7/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: pdm-backend -Version: 2.4.6 +Version: 2.4.7 Summary: The build backend used by PDM that supports latest packaging standards Keywords: packaging,PEP 517,build Author-Email: Frost Ming <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdm_backend-2.4.6/pyproject.toml new/pdm_backend-2.4.7/pyproject.toml --- old/pdm_backend-2.4.6/pyproject.toml 2025-11-11 02:41:51.869625300 +0100 +++ new/pdm_backend-2.4.7/pyproject.toml 2026-01-29 11:52:04.033510700 +0100 @@ -29,7 +29,7 @@ dependencies = [ "importlib-metadata>=3.6; python_version < \"3.10\"", ] -version = "2.4.6" +version = "2.4.7" [project.urls] Homepage = "https://github.com/pdm-project/pdm-backend" @@ -106,26 +106,6 @@ "tests", ] -[tool.pdm.dev-dependencies] -test = [ - "pytest", - "pytest-cov", - "pytest-gitconfig", - "pytest-xdist", - "setuptools", -] -dev = [ - "editables>=0.3", - "pre-commit>=2.21.0", - "vendoring>=1.2.0; python_version ~= \"3.8\"", -] -docs = [ - "mkdocs>=1.4.2", - "mkdocstrings[python]>=0.19.0", - "mkdocs-material>=8.5.10", - "mkdocs-version-annotations>=1.0.0", -] - [tool.pdm.scripts] build = "python scripts/build.py" docs = "mkdocs serve" @@ -154,3 +134,23 @@ overrides = [ { module = "pdm.backend._vendor.*", ignore_errors = true }, ] + +[dependency-groups] +test = [ + "pytest", + "pytest-cov", + "pytest-gitconfig", + "pytest-xdist", + "setuptools", +] +dev = [ + "editables>=0.3", + "pre-commit>=2.21.0", + "vendoring>=1.2.0; python_version ~= \"3.8\"", +] +docs = [ + "mkdocs>=1.4.2", + "mkdocstrings[python]>=0.19.0", + "mkdocs-material>=8.5.10", + "mkdocs-version-annotations>=1.0.0", +] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdm_backend-2.4.6/src/pdm/backend/wheel.py new/pdm_backend-2.4.7/src/pdm/backend/wheel.py --- old/pdm_backend-2.4.6/src/pdm/backend/wheel.py 2025-11-11 02:41:41.257570000 +0100 +++ new/pdm_backend-2.4.7/src/pdm/backend/wheel.py 2026-01-29 11:51:55.060493200 +0100 @@ -81,7 +81,9 @@ ) return f"{self.name_version}.data/{name}/{relative}" - def _get_platform_tags(self) -> tuple[str | None, str | None, str | None]: + def _get_platform_tags( + self, + ) -> tuple[str | None, str | None, list[str] | str | None]: python_tag: str | None = None py_limited_api: str | None = None plat_name: str | None = None @@ -219,9 +221,14 @@ else: impl = "py3" - platform = platform.lower().replace("-", "_").replace(".", "_") # type: ignore + if isinstance(platform, str): + platform = [platform] + + platform = ".".join( + x.lower().replace("-", "_").replace(".", "_") for x in platform + ) tag = (impl, abi, platform) - return "-".join(tag) # type: ignore[arg-type] + return "-".join(tag) def _write_dist_info(self, parent: Path) -> Path: """write the dist-info directory and return the path to it""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdm_backend-2.4.6/tests/test_wheel.py new/pdm_backend-2.4.7/tests/test_wheel.py --- old/pdm_backend-2.4.6/tests/test_wheel.py 2025-11-11 02:41:41.263569800 +0100 +++ new/pdm_backend-2.4.7/tests/test_wheel.py 2026-01-29 11:51:55.066493300 +0100 @@ -1,3 +1,5 @@ +from __future__ import annotations + import sys from pathlib import Path @@ -13,10 +15,16 @@ [ ("cp36", "abi3", "win_amd64", "cp36-abi3-win_amd64"), ("py3", "none", "win_amd64", "py3-none-win_amd64"), + ( + "py3", + "none", + ["manylinux_2_12_x86", "musllinux_1_1_x86"], + "py3-none-manylinux_2_12_x86.musllinux_1_1_x86", + ), ], ) def test_override_tags_in_wheel_filename( - python_tag: str, py_limited_api: str, plat_name: str, tag: str + python_tag: str, py_limited_api: str, plat_name: str | list[str], tag: str ) -> None: project = FIXTURES / "projects/demo-cextension" with wheel.WheelBuilder(
