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
When the same smuggle command is multiple times in the same interpreter session, davos avoids re-checking the file system for a local, satisfactory package version, unless something about the command has been changed since it was last run (e.g., the requested version, installer program, VCS URL, etc.). This is done by storing a dict item for each smuggled package in davos.config.smuggled, where the key is the package name and the value is a string made by ';'.join()ing the name of the installer program and all arguments supplied in the onion comment (no onion comment results in just <installer_name>;).
This is quick and simple, but ideally it would treat variations in argument order & short/long form as matches.
i.e., running:
smugglefoo# pip: -v foo==0.0.1
stores:
davos.config.smuggled['foo'] ='pip;-v;foo==0.0.1'
However, neither of the following would be recognized as previously run, despite being equivalent to the existing cached value:
smugglefoo# pip: foo==0.0.1 -v # new value would be 'pip;foo==0.0.1;-v'smugglefoo# pip: --verbose foo==0.0.1 # new value would be 'pip;--verbose;foo==0.0.1'
The text was updated successfully, but these errors were encountered:
it should also resolve relative paths so they're considered the same as absolute paths, though this might be better done in either davos.core.core.Onion.parse_onion() or davos.core.core.parse_line()
When the same
smuggle
command is multiple times in the same interpreter session,davos
avoids re-checking the file system for a local, satisfactory package version, unless something about the command has been changed since it was last run (e.g., the requested version, installer program, VCS URL, etc.). This is done by storing a dict item for each smuggled package indavos.config.smuggled
, where the key is the package name and the value is a string made by';'.join()
ing the name of the installer program and all arguments supplied in the onion comment (no onion comment results in just<installer_name>;
).This is quick and simple, but ideally it would treat variations in argument order & short/long form as matches.
i.e., running:
stores:
However, neither of the following would be recognized as previously run, despite being equivalent to the existing cached value:
The text was updated successfully, but these errors were encountered: