The Python plugin doesn't always respect requirements.txt

Bug #1659234 reported by Björn Tillenius on 2017-01-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Björn Tillenius

Bug Description

In some Python projects high-level package dependencies are specified in, without specific version requirements. Then a requirements.txt file is used to pin down the packages to specific versions, in order to produce reproducable builds.

If you try to build such a project with Snapcraft, you get unexpected results. Snapcraft first download all the packages in the requirements.txt file, getting the versions you expect. But then it also downloads the same packages when processing the file, causing the latest versions of all the packages to be downloaded. The end result is that you get a snap with the latest version of all packages, and the requirements.text file being ignored.

Changed in snapcraft:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Sergio Schvezov (sergiusens)
milestone: none → 2.26
assignee: Sergio Schvezov (sergiusens) → Björn Tillenius (bjornt)
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers