Project

General

Profile

Actions

Bug #11583

open

rebuild wheelhouse if requirements.txt is more recent

Added by Loïc Dachary almost 9 years ago. Updated over 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Add to install-deps.sh a test that verifies none of the requirements.txt file are more recent than an existing wheelhouse directory. If that's the case, wipe out the wheelhouse directory and rebuild it.
At present if a new dependency is added to the requirements.txt file and a wheelhouse directory has been populated prior to this addition, it will not be updated and the dependency won't be available when running with --no-index.
This border case won't happen to developers because they never run with --no-index and the missing package will be collected from the network. It does not happen for the make check bot either because it removes the wheelhouse directories between two runs (and populate them with network before using them without network as a side effect of executing ./run-make-check.sh). It does not happen for jenkins either because jenkins never runs without network.
At the moment it's only a theoritical problem but it would be worth fixing before someone gets very confused.

Actions #1

Updated by Loïc Dachary almost 9 years ago

  • Project changed from Ceph to devops
Actions #2

Updated by Loïc Dachary almost 9 years ago

  • Priority changed from Normal to Low
Actions #3

Updated by Loïc Dachary over 8 years ago

  • Assignee deleted (Loïc Dachary)
Actions #4

Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF