-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Dear developers,
Your project Dynamic-Fairness requires "sacred==0.8.1" in its dependency. After analyzing the source code, we found that the following versions of sacred can also be suitable without affecting your project, i.e., sacred 0.8.0. Therefore, we suggest to loosen the dependency on sacred from "sacred==0.8.1" to "sacred>=0.8.0,<=0.8.1" to avoid any possible conflict for importing more packages or for downstream projects that may use ddos_script.
May I pull a request to further loosen the dependency on sacred?
By the way, could you please tell us whether such dependency analysis may be potentially helpful for maintaining dependencies easier during your development?
Details:
Your project (commit id: 2a02c64) directly uses 1 APIs from package sacred.
sacred.experiment.Experiment.__init__
Beginning fromwhich, 43 functions are then indirectly called, including 27 sacred's internal APIs and 16 outsider APIs as follows:
[/MarcoMorik/Dynamic-Fairness]
+--sacred.experiment.Experiment.__init__
| +--sacred.host_info.check_additional_host_info
| +--sacred.experiment.gather_command_line_options
| | +--sacred.utils.get_inheritors
| | +--warnings.warn
| +--inspect.stack
| +--os.path.basename
| +--sacred.ingredient.Ingredient.__init__
| | +--collections.OrderedDict
| | +--inspect.stack
| | +--os.path.dirname
| | +--os.path.abspath
| | +--sacred.dependencies.gather_sources_and_dependencies
| | | +--sacred.dependencies.get_main_file
| | | | +--os.path.abspath
| | | | +--sacred.dependencies.Source.create
| | | | | +--os.path.exists
| | | | | +--sacred.dependencies.get_py_file_if_possible
| | | | | | +--os.path.exists
| | | | | +--os.path.abspath
| | | | | +--sacred.dependencies.get_commit_if_possible
| | | | | | +--os.path.dirname
| | | | | | +--git.Repo
| | | | | | +--git.Repo.remote
| | | | | | +--git.Repo.is_dirty
| | | | | +--sacred.dependencies.Source.__init__
| | | | | +--sacred.dependencies.get_digest
| | | | | | +--hashlib.md5
| | | | +--os.path.dirname
| | | +--sacred.dependencies.PackageDependency.create
| | | | +--sacred.dependencies.PackageDependency.__init__
| +--sacred.ingredient.Ingredient.command
| | +--sacred.ingredient.Ingredient.capture
| | | +--sacred.config.captured_function.create_captured_function
| | | | +--sacred.config.signature.Signature.__init__
| | | | | +--sacred.config.signature.get_argspec
| | | | | | +--inspect.signature
| | | | | | +--collections.OrderedDict
| | | | +--sacred.config.captured_function.captured_function
| | | | | +--sacred.config.custom_containers.fallback_dict
| | | | | +--sacred.randomness.get_seed
| | | | | | +--random.randint
| | | | | +--sacred.randomness.create_rnd
| | | | | | +--random.Random
| | | | | +--time.time
| | | | | +--sacred.utils.ConfigError.track
| | | | | | +--sacred.utils.join_paths
| | | | | +--datetime.timedelta
| +--sacred.commands.print_named_configs
| | +--collections.OrderedDict
| | +--sacred.commands._format_named_configs
| | | +--sacred.commands._format_named_config
Since all these functions have not been changed between any version for package "sacred" from [0.8.0] and 0.8.1. Therefore, we believe it is safe to loosen the corresponding dependency.