Skip to content

Latest release is incompatible with latest pdm release #14

@sleiner

Description

@sleiner

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

  1. Run pdm plugin add pdm-packer and see the installation succeed
  2. Run pdm plugin list and 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)
    
  3. Install pdm-packer from the latest main branch in Git instead, e.g. with pipx: pipx inject pdm "git+https://github.com/frostming/pdm-packer.git@main"
  4. 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-packer version: 0.3
  • pdm version: 1.14.1
  • Python version: 3.8, 3.10
  • OS: Ubuntu 20.04, macOS 12.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions