← Back to issue list

snap build installing old pypi version of argparse

View original Launchpad issue

Metadata

Project
snapcraft
Number
#2028303
Type
issue
State
open
Author
~kenneth-loafman
Labels
Created
2023-07-20 17:54:18.104882+00:00
Updated
2023-07-20 18:10:38.327983+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When building for core20 the python extension seems to be loading pypi modules not in requirements.txt. The snapcraft.yaml attached shows the fix (lines 57-60) for the old argparse in pypi being substituted for the newer argparse in the py38. Without the uninstall, argparse is included from pypi, and that version is way too old for us to use. This is suspicious because normally pip would not install anything not in requirements.txt, but in this case argparse from pypi is installed. Normal operation of pip install does not install extras. Do I need to look for more trouble spots? What else might be installed in error?

Evaluation history

No evaluation history available.