]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
python3-pdm: upgrade 2.23.1 -> 2.24.1
authorWang Mingyu <wangmy@fujitsu.com>
Mon, 12 May 2025 09:03:28 +0000 (17:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 May 2025 09:29:17 +0000 (10:29 +0100)
commit01cacd208c7a3e1fa2923ef346d7a1c65a4005c0
tree3971aa80d53d0a13f160323103b7f830864e3337
parent1f6a72bf37297a362119375523750544a11a23ea
python3-pdm: upgrade 2.23.1 -> 2.24.1

Features & Improvements
------------------------
- New command pdm new that behaves like pdm init but creates a new project.
- Support use --name as project name for command pdm new e.g. pdm new hello --name world
- Support exporting to pylock.toml format as described by PEP 751.

Bug Fixes
---------
- Pass the --quiet option to pdm sync command.
- If a .python-version file is found and it contains multiple lines, the file
  will be ignored. The usage of the .python-version file can be disabled, if
  configuration value python.use_python_version (or environment variable PDM_USE_PYTHON_VERSION) is False.
- fix pdm config -e command to open read-only file under linux
- Replace project names and import names in both README.md and pyproject.toml when running pdm init <template>.
- Fix a bug that URL dependency hashes are not updated if running pdm lock --update-reuse.
- Install the project when using the BaseSynchronizer with install_self set
  to True. This fixes the bug that when calling pdm sync --quiet, it skips
  installing the project itself.
- Mark one additional test as requiring network, and fix another one
  not to require it anymore.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-pdm_2.24.1.bb [moved from meta/recipes-devtools/python/python3-pdm_2.23.1.bb with 82% similarity]