You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #1872 (comment) we realised get_bootstrap_from_recipes() was not always returning consistent result across setups.
This is an investigation task to determine if it's a bug or a feature and if it's a bug to fix it.
The text was updated successfully, but these errors were encountered:
Basically on my setup and in 0c9ef2e calling list(Bootstrap().list_bootstraps()) returns the following: ['webview', 'sdl2', 'service_only', 'empty'] I guess for @opacam and Travis it returned something with "service_only" being first.
@AndreMiraslistdir depends on inode ordering and is not alphabetically sorted:
@classmethoddeflist_bootstraps(cls):
'''Find all the available bootstraps and return them.'''forbidden_dirs= ('__pycache__', 'common')
bootstraps_dir=join(dirname(__file__), 'bootstraps')
fornameinlistdir(bootstraps_dir):
ifnameinforbidden_dirs:
continuefilen=join(bootstraps_dir, name)
ifisdir(filen):
yieldname
I think a simple sorted(listdir(bootstraps_dir)) may fix it and make it behave deterministically
In #1872 (comment) we realised get_bootstrap_from_recipes() was not always returning consistent result across setups.
This is an investigation task to determine if it's a bug or a feature and if it's a bug to fix it.
The text was updated successfully, but these errors were encountered: