storm
storm copied to clipboard
Project dependencies may have API risk issues
Hi, In storm, inappropriate dependency versioning constraints can cause risks.
Below are the dependencies and version constraints that the project is using
paramiko==1.13.0
termcolor*
Flask==0.10.1
six*
The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict. The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.
After further analysis, in this project, The version constraint of dependency Flask can be changed to >=0.10,<=0.12.5.
The above modification suggestions can reduce the dependency conflicts as much as possible, and introduce the latest version as much as possible without calling Error in the projects.
The invocation of the current project includes all the following methods.
The calling methods from the Flask
json.dumps json.loads
The calling methods from the all methods
re.compile subparser.add_argument sys.exit get_default storm_.delete_all_entries key.options.strip f.write argparse.ArgumentParser get_storm_instance host_entry.get.get self.get_last_index self._generate_command self.ssh_config_file.open.close os.path.abspath self.AliasedSubParsersAction.super.add_parser host.get arg_map.pop self.get_options arg.startswith app.run line.rstrip self.ssh_config.add_host self._config.append get_storm_config join item.get sorted host_item.update self._choices_actions.append json.dumps index.self.config_data.update re.sub self.execute app.route range name.split kwargs.update line.lower storm_.delete_entry izip_longest StormConfig Flask indexes.append line.lower.strip _web.run self.ssh_config.delete_host itemgetter storm_.clone_entry send_from_directory key.strip.lower key.strip ERRORS.format self._AliasedPseudoAction self._quote_options dirname request.args.get make_response inspect.getargspec i.line.lower parse i.line.lstrip self.defaults.update host.get.get six.iteritems line.rstrip.lstrip defaults.get Exception self.ssh_config.delete_all_hosts new_config_data.append reversed host_entry.get host_item.get list subparser.set_defaults argopts.get render ValueError config.__dict__.get self.parser.parse_args response fobj.read type uri.split option.split colored Response command self.dump getpass.getuser self.parser.add_subparsers storm_.update_entry chmod makedirs value.split ConfigParser host.update line.lower.strip.startswith match.group.lower self.ssh_config.write_to_ssh_config bool config.parse len key.host.append storm_.edit_entry self.ssh_config.update_host copyfile line.startswith sup.__init__ int self.get_default_ssh_config_file key.lower super setup open filter self.parser.register results.append i.line.isspace options.update self.ssh_config.load arg storm_.add_entry max value.get entry.get self.ssh_config.search_host getattr storm_.list_entries self._POSITIONAL jsonify func.__doc__.strip fixed_width custom_option.split storm_.backup format Storm json.loads message.replace self.config_data.append self.subparsers.add_parser print os.path.join host_.get app.get_storm self.write_to_ssh_config line.split options.pop formatted_results.append main storm_config.get content.replace match.group self.parser.add_argument storm_.search_host enumerate exists prog expanduser kwargs.pop config_file.open.read get_formatted_message re.match find_packages uri.strip self._choices_actions.pop isinstance os.path.dirname proxy_re.match self.is_host_in str
@developer Could please help me check this issue? May I pull a request to fix it? Thank you very much.