Skip to content

verify_release hangs #1981

Closed
Closed

Description

@jku

verify_release uses pip in a way that currently leads to downloading all build dependencies as source and building them (twice): this is a bug and looks like the script has hung.

Activity

  1. self-assigned this
    on Apr 27, 2022
  2. jku commented on Apr 27, 2022

    @jku
    MemberAuthor

    more details:

    • the script downloads the source package twice: once to figure out what version pip thinks is current and once to download the artifacts we are comparing our built artifacts to. The former could be changed if there was a smarter way to ask pip what it thinks is current tuf version...
    • pip seems to have a bug in --no-deps when used with download (it would not be the first time): it seems to download and install all build dependencies even with that flag
    • the bug is made much worse because we specify --no-binary :all: which makes pip download everything as source and building it

    A workaround is to use --no-binary tuf instead: then pip will still install all build-dependencies (into a temp environment) but at least it will not build them from source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions