Closed griff-rees closed 4 days ago
Think I need to find another way to uninstall, but got this far:
$ cd project
$ ls .pdm-plugins/lib/python3.12/site-packages/
__init__.py cli/ environments/ installers/ models/ resolver/ utils.py
__pycache__/ conda.py hooks.py mapping.py project/ resolvers.py
$ pdm add tqdm
ERROR: Failed to load plugin conda=pdm_conda:main: No module named 'pdm_conda'
Adding packages to default dependencies: tqdm
🔒 Lock successful
Changes are written to pyproject.toml.
Synchronizing working set with resolved packages: 0 to add, 1 to update, 0 to remove
✔ Update tqdm 4.66.2 -> 4.66.4 successful
Installing the project as an editable package...
✔ Update project 0.1.0 -> 0.1.0 successful
🎉 All complete!
Possibly related: https://github.com/pdm-project/pdm/issues/2820
Also needed to rm
pdm.toml
which set backend
to micromamba
:
[python]
use_venv = true
use_pyenv = false
[venv]
backend = "micromamba"
in_project = false
Hi! Related to this issue, it seems like pdm keeps finding the plugin (even after deleting it) and so it keeps falling into this issue, it might happen with every plugin, you should report it to the main package so it gets fixed
This other issue is related to how the plugin changes settings and will be fixed at the same time of this other one.
Ah thanks for the details. Am I right in thinking there's multiple components then? Can separate into different issues if that's useful for you.
Hi! This issue should be fixed since v0.18.0, could you try it to confirm it's working as expected?
Again nice work on the package. After getting stuck on #33, removing
pdm-conda
locally seems to fail. Figure I can force it, but FYI (usingproject
as the folder where I triedpdm-cond
withinpyproject.toml
):For completeness (after the uninstall above; annoyingly quote marks don't show up well hence no
console
/python
syntax highlighting):If I go to another folder, it doesn't show up as an installed plugin