-
-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
It seems that the tdd theme seup is broken with pdm.
To Reproduce
Steps to reproduce the behavior:
mkdir foopdm && cd foopdm
pdm init -n --backend pdm-backend minimal
# add `pdm-polylith-workspace` hook
touch README.md
pdm add -d polylith-cli
pdm run poly create workspace --name poly
pdm run poly create component --name foo
pdm run poly sync
pdm install
pdm run python -c "from poly import foo"Results in:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'poly'
Expected behavior
The same behavior as poetry:
mkdir foopoe && cd foopoe
poetry init
poetry poly create workspace --name poly
poetry poly create component --name foo
poetry poly sync
poetry install
poetry run python -c "from poly import foo" # no errorDesktop (please complete the following information):
- OS: linux
- Python version: 3.12
- Poetry version: 1.7.1
- Pdm version: 2.12.3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working