-
My project tgcf has a But GitHub does not show a dependency graph. Some of my older projects used How can I have dependency graphs for projects with poetry? One obvious way is to generate a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
This is more GitHub issue really. There is a GitHub community discussion on this too (I suspect several). You could try what is specified by the OP at https://github.community/t/does-dependabot-native-support-poetry-for-python/133678/3. This actually configures dependabot, but I suspect this is what is being used to generate that. |
Beta Was this translation helpful? Give feedback.
-
For anyone else interested in achieving the dependabot graph, a decent-enough workaround can be accomplished by relying on a - repo: local
hooks:
- id: export-requirements
name: export-requirements
entry: poetry export
language: system
always_run: true
pass_filenames: false
args: ["-f", "requirements.txt", "--output", "requirements.txt"] This is still a little awkward depending on your workflow because if you don't already have an up-to-date See https://towardsdatascience.com/how-to-code-your-own-python-pre-commit-hooks-with-bash-171298c6ee05 for a cleaner approach if you have Edit: |
Beta Was this translation helpful? Give feedback.
This is more GitHub issue really. There is a GitHub community discussion on this too (I suspect several).
You could try what is specified by the OP at https://github.community/t/does-dependabot-native-support-poetry-for-python/133678/3. This actually configures dependabot, but I suspect this is what is being used to generate that.