poetry-plugin-export
poetry-plugin-export copied to clipboard
make use of locked markers in lock file version 2.1 and thereby avoid `dependency walk failed`
Resolves: #176 Resolves: #183 Requires: python-poetry/poetry#9427
With python-poetry/poetry#9427 we can fix dependency walk failed once and for all. The dependency walker becomes as simple as iterating over a flat list and doing some simple marker operations. There is no complicated erroneous logic anymore because the resulting markers for each locked package can be read from the lock file.
I adapted all tests so they are run with an old lock file without markers and with a new lock file with markers and added a test (at the end) that raises dependency walk failed for an old lock file and succeeds for a new lock file.
This does resolve the long-standing issue with urllib3 for us: https://github.com/meltano/sdk/actions/runs/9358298538/job/25759841162.
Very interested, we have been having issues with urllib3 as well
Hey! I'm not sure how this repository works. What would be needed to get this Pull Request going? It would be great to solve the longstanding #183
What would be needed to get this Pull Request going?
It requires a Poetry release that includes https://github.com/python-poetry/poetry/pull/9427. That will be https://github.com/python-poetry/poetry/issues/9448.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
18.9% Duplication on New Code
