-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
Describe the bug
The latest released version of pdm-packer is not compatible with the latest version of pdm (currently 1.14.1).
This is indicated by an error message when calling pdm as well as the pdm pack not working.
Thankfully, the underlying problem is already fixed on main :-)
To Reproduce
- Run
pdm plugin add pdm-packerand see the installation succeed - Run
pdm plugin listand see this error:Failed to load plugin pdm-packer=pdm_packer:plugin: cannot import name 'get_architecture' from 'pdm.models.in_process' (/some/venv/pdm/lib/python3.10/site-packages/pdm/models/in_process/__init__.py) - Install
pdm-packerfrom the latestmainbranch in Git instead, e.g. with pipx:pipx inject pdm "git+https://github.com/frostming/pdm-packer.git@main" - Run
pdm plugin list: No error shows up
Expected behavior
The latest version of pdm-packer in PyPI should work with the latest version of pdm.
System
pdm-packerversion: 0.3pdmversion: 1.14.1- Python version: 3.8, 3.10
- OS: Ubuntu 20.04, macOS 12.3
Metadata
Metadata
Assignees
Labels
No labels