pdm-project / update-deps-action

A github action to update pdm lock file
MIT License
25 stars 6 forks source link

Feat: Add requirements.txt export capability #6

Closed ModeSevenIndustrialSolutions closed 10 months ago

ModeSevenIndustrialSolutions commented 10 months ago

Would be useful to have the option to export the requirements.txt file during dependency updates. This change needs testing, so please hold on comments/merge for the moment! ...and the documentation README will need updating.

frostming commented 10 months ago

It can be achieved with the help of pdm-autoexport and plugin system.

See https://github.com/frostming/marko/pull/183/files and https://github.com/frostming/marko/blob/master/.github/workflows/update.yml for how it works