Skip to content

versions of pip, setuptools, wheel used by dh_virtualenv during securedrop-app-code build are not pinned. #5109

@zenmonkeykstop

Description

@zenmonkeykstop

Description

While investigating #5108, it was noticed that setuptools and associated packages are installed by dh_virtualenv using the following command:

 Running command '/tmp/securedrop-app-code_1.3.0~rc1+xenial_amd64/debian/securedrop-app-code/opt/venvs/securedrop-app-code/bin/python' '/tmp/securedrop-app-code_1.3.0~rc1+xenial_amd64/debian/securedrop-app-code/opt/venvs/securedrop-app-code/lib/python3.5/site-packages/pip' install --ignore-installed --no-user --prefix /tmp/pip-build-env-tzw3qhas/overlay --no-warn-script-location -v --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=18.5' wheel 'cffi>=1.8,!=1.11.3; python_implementation != '\"'\"'PyPy'\"'\"''

Package versions are not pinned and hashes are not required. (wheel in particular is currently at version 0.34.1, which has a downstream issue that's breaking make build-debs.)

Steps to Reproduce

  • run make build-debs against current develop

Expected Behavior

  • build process uses pinned and reviewed packages

Actual Behavior

  • build process uses latest versions without checking hashes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions