Skip to content

Commit

Permalink
Fix Poetry unreachable git deps error
Browse files Browse the repository at this point in the history
Since python-poetry/poetry-core#202 poetry now
uses a slightly different (safer) git command, and this caused the
regex matching we do on the error output to now fail.

This fixes up the regex, and just to be safe ensures it'll keep working
with the old version as well.

The test that was failing was:
`python/spec/dependabot/python/update_checker/poetry_version_resolver_spec.rb:179`
  • Loading branch information
jurre committed Oct 7, 2021
1 parent 18785ae commit ce25b64
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class PoetryVersionResolver
'\['git',
\s+'clone',
\s+'--recurse-submodules',
\s+'(--)?',
\s+'(?<url>.+?)'.*
\s+exit\s+status\s+128
/mx.freeze
Expand Down

0 comments on commit ce25b64

Please sign in to comment.