Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: multirun produce error with pdm 2.16 #11

Closed
natir opened this issue Jul 2, 2024 · 1 comment · Fixed by #12
Closed

bug: multirun produce error with pdm 2.16 #11

natir opened this issue Jul 2, 2024 · 1 comment · Fixed by #12
Assignees
Labels
bug Something isn't working

Comments

@natir
Copy link
Contributor

natir commented Jul 2, 2024

Description of the bug

After update pdm to version 2.16.1 run pdm generate this error:

ERROR: Failed to load plugin multirun=pdm_multirun.plugin:multirun: cannot import name 'Project'
from 'pdm.cli.commands.run'

To Reproduce

Just add pdm-multirun in tool.pdm.plugins

Environment information

- __System__: Linux-6.9.5-100.fc39.x86_64-x86_64-with-glibc2.38
- __Python__: cpython 3.12.3
- __Environment variables__:
  - `PYTHONPATH`: `$HOME/.local/pipx/venvs/pdm/lib/python3.11/site-packages/pdm/pep582`
- __Installed packages__:
  - `pdm-multirun` v0.0.0
@natir natir added the unconfirmed This bug was not reproduced yet label Jul 2, 2024
@pawamoy
Copy link
Owner

pawamoy commented Jul 2, 2024

Hi @natir, thanks for the report! Would you like to send a PR? I suppose it's just a matter of importing Project from somewhere else.

@pawamoy pawamoy added bug Something isn't working and removed unconfirmed This bug was not reproduced yet labels Jul 2, 2024
pawamoy pushed a commit that referenced this issue Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants