Releases: pdm-project/pdm
Releases · pdm-project/pdm
v1.2.0
Features & Improvements
- Change the behavior of
--save-compatible
slightly. Now the version specifier saved is using the REAL compatible operator~=
as described in PEP 440. Before:requests<3.0.0,>=2.19.1
, After:requests~=2.19
. The new specifier acceptsrequests==2.19.0
as compatible version. #225 - Environment variable
${PROJECT_ROOT}
in the dependency specificaton can be expanded to refer to the project root in pyproject.toml.
The environment variables will be kept as they are in the lock file. #226 - Change the dependencies of a package in the lock file to a list of PEP 508 strings #236
Bug Fixes
- Ignore user's site and
PYTHONPATH
(withpython -I
mode) when executing pip commands. #231
Improved Documentation
- Document about how to activate and use a plugin. #227
Dependencies
- Test project on
pip 21.0
. #235
v1.1.0
Features & Improvements
- Allow users to hide secrets from the
pyproject.toml
.- Dynamically expand env variables in the URLs in dependencies and indexes.
- Ask whether to store the credentials provided by the user.
- A user-friendly error will show when credentials are not provided nor correct. #198
- Use a different package dir for 32-bit installation(Windows). #212
- Auto disable PEP 582 when a venv-like python is given as the interpreter path. #219
- Support specifying Python interpreter by
pdm use <path-to-python-root>
. #221
Bug Fixes
- Fix a bug of
PYTHONPATH
manipulation under Windows platform. #215
Removals and Deprecations
- Remove support of the old PEP 517 backend API path. #217
v1.0.0
v1.0.0b2
v1.0.0b0
Features & Improvements
- Fully support of PEP 621 specification.
- Old format is deprecated at the same time.
- PDM will migrate the project file for you when old format is detected.
- Other metadata formats(
Poetry
,Pipfile
,flit
) can also be imported as PEP 621 metadata. #175
- Re-implement the
pdm search
to query the/search
HTTP endpoint. #195 - Reuse the cached built wheels to accelerate the installation. #200
- Make update strategy and save strategy configurable in pdm config. #202
- Improve the error message to give more insight on what to do when resolution fails. #207
- Set
classifiers
dynamic inpyproject.toml
template for autogeneration. #209
Bug Fixes
v0.12.3
v0.12.2
v0.12.1
v0.12.0
Features & Improvements
- Improve the user experience of
pdm run
:- Add a special key in tool.pdm.scripts that holds configurations shared by all scripts.
- Support loading env var from a dot-env file.
- Add a flag
-s/--site-packages
to include system site-packages when running. #178
- Now PEP 582 can be enabled in the Python interperter directly! #181
Bug Fixes
- Ensure
setuptools
is installed before invoking editable install script. #174 - Require
wheel
notwheels
for global projects #182 - Write a
sitecustomize.py
instead of a.pth
file to enable PEP 582. Thanks @Aloxaf.
Updateget_package_finder()
to be compatible withpip 20.3
. #185 - Fix the help messages of commands "cache" and "remove" #187
v0.11.0
Features & Improvements
- Support custom script shortcuts in
pyproject.toml
.- Support custom script shortcuts defined in
[tool.pdm.scripts]
section. - Add
pdm run --list/-l
to show the list of script shortcuts. #168
- Support custom script shortcuts defined in
- Patch the halo library to support parallel spinners.
- Change the looking of
pdm install
. #169