Skip to content

Releases: pdm-project/pdm

v1.2.0

26 Jan 04:43
281373c
Compare
Choose a tag to compare

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 accepts requests==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(with python -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

18 Jan 03:16
f35bc7e
Compare
Choose a tag to compare

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

05 Jan 04:18
11b0fb9
Compare
Choose a tag to compare

Bug Fixes

  • Correctly build wheels for dependencies with build-requirements but without a specified build-backend #213

v1.0.0b2

29 Dec 09:50
Compare
Choose a tag to compare
v1.0.0b2 Pre-release
Pre-release

Features & Improvements

  • Fallback to pypi.org when /search endpoint is not available on given index. #211

Bug Fixes

  • Fix a bug that PDM fails to parse python version specifiers with more than 3 parts. #210

v1.0.0b0

24 Dec 02:42
Compare
Choose a tag to compare
v1.0.0b0 Pre-release
Pre-release

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 in pyproject.toml template for autogeneration. #209

Bug Fixes

  • Fix a bug that distributions are not removed clearly in parallel mode. #204
  • Fix a bug that python specifier is_subset() returns incorrect result. #206

v0.12.3

21 Dec 07:11
Compare
Choose a tag to compare
v0.12.3

v0.12.2

17 Dec 02:52
Compare
Choose a tag to compare

Features & Improvements

  • Update the lock file schema, move the file hashes to [metadata.files] table. #196
  • Retry failed jobs when syncing packages. #197

Removals and Deprecations

  • Drop pip-shims package as a dependency. #132

Miscellany

  • Fix the cache path for CI. #199

v0.12.1

14 Dec 05:29
Compare
Choose a tag to compare

Features & Improvements

  • Provide an option to export requirements from pyproject.toml #190
  • For Windows users, pdm --pep582 can enable PEP 582 globally by manipulating the WinReg. #191

Bug Fixes

  • Inject __pypackages__ into PATH env var during pdm run. #193

v0.12.0

08 Dec 04:51
Compare
Choose a tag to compare

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 not wheels for global projects #182
  • Write a sitecustomize.py instead of a .pth file to enable PEP 582. Thanks @Aloxaf.
    Update get_package_finder() to be compatible with pip 20.3. #185
  • Fix the help messages of commands "cache" and "remove" #187

v0.11.0

20 Nov 13:47
Compare
Choose a tag to compare

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
  • Patch the halo library to support parallel spinners.
  • Change the looking of pdm install. #169

Bug Fixes

  • Fix a bug that package's marker fails to propagate to its grandchildren if they have already been resolved. #170
  • Fix a bug that bare version specifiers in Poetry project can't be converted correctly. #172
  • Fix the build error that destination directory is not created automatically. #173