python3-pdm: upgrade 2.22.1 -> 2.22.2

Changelog:
============
- Write installer metadata like INSTALLER and REQUESTED to dist-info directory
  when installing packages.
- Respect .python-version file in the project root directory when selecting the
  Python interpreter. By default, it will be written when running pdm use command.
- Fix a problem of missing dependencies when adding to dev dependencies if both
  editable and non-editable dependencies exist.
- Use stdlib for URL <-> Path conversions.
- shellingham.detect_shell() returns ('tcsh', '/bin/tcsh') for tcsh on FreeBSD,
  so the current code tries to use the Bash venv activation script and fails due
  to syntax error. This change fixes the issue.
- Fix a performance issue because pypi source credentials were being queried
  many times from keyring.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2025-01-14 16:28:41 +08:00
committed by Khem Raj
parent a00b7df732
commit 220d5ec1ae

View File

@@ -0,0 +1,16 @@
SUMMARY = "A modern Python package and dependency manager supporting the latest PEP standards"
HOMEPAGE = "https://pdm-project.org/latest/"
LICENSE = "MIT"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2"
SRC_URI[sha256sum] = "907dbaa1659f07c763902f8429c1573aa32b5ef2d99b3b123b5f1e38015c917b"
inherit pypi python_setuptools_build_meta
DEPENDS += " \
python3-pdm-backend-native \
python3-pdm-build-locked-native \
"
BBCLASSEXTEND = "native nativesdk"