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

Hook not being fired on pdm install #1

Closed
mayteio opened this issue Aug 1, 2022 · 1 comment
Closed

Hook not being fired on pdm install #1

mayteio opened this issue Aug 1, 2022 · 1 comment

Comments

@mayteio
Copy link

mayteio commented Aug 1, 2022

Hey, thank you for creating this plugin. I've installed with;

pdm plugin add pdm-autoexport
> Installation succeeds.

and added the following config to my pyproject.toml file:

[[tool.pdm.autoexport]]
filename = "requirements.txt"
groups = ["default"]

[[tool.pdm.autoexport]]
filename = "requirements-test.txt"
groups = ["test"]

(for regular requirements and requirements installed with pdm add -dG test xyz)

then run pdm install

but nothing happens, my requirements.txt nor requirements-test.txt are updated.

Any help much appreciated.

Thanks!

@mayteio
Copy link
Author

mayteio commented Aug 1, 2022

Nevermind, I have to call pdm lock to make this work. pdm install wasn't re-locking the file. Cheers!

@mayteio mayteio changed the title What a timely project! It doesn't work though 😃 Hook not being fired on pdm install Aug 1, 2022
@mayteio mayteio closed this as completed Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant