./devel/py-pdm, Modern Python package and dependency manager

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.12.4, Package name: py312-pdm-2.12.4, Maintainer: pkgsrc-users

PDM is meant to be a next generation Python package management tool. It was
originally built for personal use. If you feel you are going well with Pipenv
or Poetry and don't want to introduce another package manager, just stick to
it. But if you are missing something that is not present in those tools, you
can probably find some goodness in pdm.


Master sites:

Filesize: 2537.266 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-02 14:01:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pdm: updated to 2.12.4

Release v2.12.4 (2024-02-26)

Features & Improvements

- Use env PDM_NO_EDITABLE as the default value for --no-editable option.

Bug Fixes

- Reset project.environment when importing from setup.py, to fix resolution error.
- Do not fetch package hashes when `--frozen-lockfile` is passed.
- Make sure non-venv interpreters are used by venv creator.
- Don't cause a hard failure if the local directory doesn't exist.

Documentation

- Fix the default value for negative CLI flags.
- Auto-gen configuration reference documentation.
   2024-02-08 23:40:37 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pdm: updated to 2.12.3

Release v2.12.3 (2024-02-01)
----------------------------

Bug Fixes

- fix the package-type fixer won't update toml properly for "Nested Section \ 
Ordering Issue in TOML".
- Unable to force override a package if the package is required with extras.
- Failed to clone template repository if the URL contains the rev part.
- Handle legacy specifiers when converting from poetry project.

Documentation

- Fix typo in template docs

Release v2.12.2 (2024-01-21)
----------------------------

Bug Fixes

- Fix the auto fixer for package-type.
- Fix the wrong installation destination for header files when installing build \ 
requirements.
- Install header files into package namespace under `include` directory.

Release v2.12.1 (2024-01-17)
----------------------------

Bug Fixes

- Hotfix: missing `identifier` attribute for package type fixer.

Release v2.12.0 (2024-01-17)
----------------------------

Features & Improvements

- Allow excluding packages from the lockfile via `tool.pdm.resolution.excludes` \ 
setting, the dependencies will also be skipped.
- Rename `--no-lock` option to `--frozen-lockfile`.
- Add `--no-hashes` as the recommended option name in favor of \ 
`--without-hashes` for `pdm export` command.
- Add `--no-markers` to `export` command to exclude markers from the output.
- Allow initializing a project without extra project files, with a new builtin \ 
template "minimal". Run it with `pdm init minimal`.
- Change the warning category emitted by `deprecated_warning()` to \ 
`PDMDeprecationWarning`.
- Prereleases will be allowed if a prerelease version is pinned in the lockfile. \ 
This can be disabled by passing `--stable` option.
- Change `tracked_names` argument to keyword-only. Move `allow_prereleases` \ 
setting to `tool.pdm.resolution` table.
- Rename the `preferred_pins` argument of provider classes to \ 
`locked_candidates`, and deprecate the old name.
- Rename the `package-type` field under `tool.pdm` settings table to \ 
`distribution` to make it more clear.

Bug Fixes

- `tool.pdm.resolution` settings won't be honored when installing dependencies \ 
into the build environment.
- Fixed pdm list output containing full license text in some cases
- Fix the environment variable substitution for `cmd` scripts.
- Allow normal extension modules in wheel tags when the python is debug build.
- Don't use pypi.org when pypi.url is set.

Removals and Deprecations

- Remove deprecated methods from `Project`. Remove deprecated helper functions \ 
from `actions.py`.
   2023-11-24 06:29:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pdm: updated to 2.10.4

Release v2.10.4 (2023-11-24)
----------------------------

Bug Fixes

- Do not detect as requirements.txt if the file is a python script.
- Provide information of the original line when parsing requirement fails.
- Resolve `-r` requirements paths relative to the requirement file they are \ 
specified.
- Updating package now overwrites the old files instead of removing before \ 
installing.
   2023-11-17 22:24:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pdm: updated to 2.10.3

Release v2.10.3 (2023-11-16)
----------------------------

Bug Fixes

- Create virtualenv for conda base Python.

Release v2.10.2 (2023-11-16)
----------------------------

Features & Improvements

- Log the response text when `pdm publish` fails with HTTP error.

Bug Fixes

- Improve the error message when a specific package can't be found in the lockfile.
- prevent wrong project name (including space and illegal characters)
- Fix a bug that PDM cannot detect namespace packages correctly when creating \ 
symlinks. The package's `__init__.py` contains an unusual line.
- Fix template files created by `pdm init` being read-only when copied from a \ 
read-only PDM installation.
- Don't reset the build backend when asking for import.
- Never wrap the output of the `export` command.
- Forbid global project in conda base environment, since it may remove \ 
conda-managed packages.
   2023-11-09 09:52:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pdm: updated to 2.10.1

v2.10.1 (2023-11-07)

Bug Fixes

- Fix a bug preventing ctrl-c from interrupting program execution on 2nd \ 
invocation when using "pdm run" (Windows only).
- Fix list index out of range when build error message is empty.
- Fix find_link sources being exported as `--extra--index-url`
- Fix an installation failure when install.cache = true.
- Fix a resolution issue that extra dependencies are not resolved when the bare \ 
dependency has more specific version constraint.

Documentation

- Set up a chatbot powered by LLM on the doc page.
   2023-11-07 23:38:10 by Thomas Klausner | Files touched by this commit (112)
Log message:
*: latest py-sphinx only support Python 3.9+
   2023-10-29 17:51:23 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pdm: updated to 2.10.0

Release v2.10.0 (2023-10-26)
----------------------------

Features & Improvements

- Allow binding packages to specific sources with `include_packages` and \ 
`exclude_packages` config under `tool.pdm.source` table.
- Show warnings when a package is rejected by the resolve because of uncovered \ 
`requires-python` range. And provide a way to ignore them per-package.
- Add `-q/--quiet` option to suppress some warnings printed to the console. This \ 
option is mutually exclusive with `-v/--verbose`.
- Introduce a new `--strategy/-S` option for `lock` command, to specify one or \ 
more strategy flags for resolving dependencies. `--static-urls` and \ 
`--no-cross-platform` are deprecated at the same time.
- Add lock option to resolve direct dependencies to the minimal versions available.
- Report the progress of download and unpacking when installing packages.

Bug Fixes

- Change the venv backend clean function \ 
`pdm.cli.commands.venv.backend.Backend._ensure_clean` to empty the `.venv` \ 
folder instead of deleting it.
- Fix a bug that dependency groups from Poetry 1.2+ do not migrate properly to PDM.
- Fix a bug that build requirements are installed into wrong location when using \ 
`--venv` option.
- Fix a bug that global repository setting results in TypeError .
- Fix a credentials error when working with two indices on the same host

Miscellany

- Officially supports python3.12 now.
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.