Poetry fails with "No module named 'packaging.licenses'" #10707
Unanswered
KamilPacanek
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have AzureDev Pipeline running
poetry, the details looks like this:It works fine with
v2.1.4and starts to fail withv2.2.0andv2.3.1(latest) on the export step:As you can see the

poetryis configured to run without virtual environment (poetry config virtualenvs.create false). When I shell into the DevOps Agent that runs the pipeline I can see the python3.11 is installed yet thewhichcommand returns the old version.That's said
python3 -m pip show packagingreturns some error about pip not being a module, andpython3.11 -m pip show packagingreturns information thatv26.0is installed (and required bypoetry, among others).I see in the changelog that version
v2.2.0bumped the requirement forpackaging(#10413).I suspect that the issue is somewhere along here - the python version conflict.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions