Skip to content

Poetry and Python not available in postUpgradeTasks #28982

Discussion options

You must be logged in to vote

This was a great hint, now I understand why I don't have Poetry or Python installed, because the repo does not have a lock file since this project is a Python package and does not need one, only for testing. This means that instructions like

DEBUG: Executing command (repository=Bot/renovate-testing.7IYlBR, branch=renovate/my-package)
       "command": "install-tool poetry 1.8.2"

Are not executed during the upgrade.

This also means that I need to install it explicitly both Python and Poetry with something like:

{
      "postUpgradeTasks": {
        "commands": [
          "install-tool python 3.11.9",
          "install-tool poetry 1.8.2",
          "echo \"test\" >> CHANGELOG.md",
      …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@CCardosoDev
Comment options

Answer selected by CCardosoDev
Comment options

You must be logged in to vote
1 reply
@CCardosoDev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants