Dear developers,
Your project doyoutrackid requires "chalice==1.26.0" in its dependency. After analyzing the source code, we found that the following versions of chalice can also be suitable without affecting your project, i.e., chalice 1.26.1, 1.26.2, 1.26.3, 1.26.4, 1.26.5, 1.26.6, 1.27.0. Therefore, we suggest to loosen the dependency on chalice from "chalice==1.26.0" to "chalice>=1.26.0,<=1.27.0" 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 chalice?
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: 8fd5813fc158b5fdac6abc9d83e8a0db2b211b84) directly uses 6 APIs from package chalice.
chalice.app.Chalice.__init__, chalice.app.DecoratorAPI.route, chalice.app.Cron.__init__, chalice.app.CORSConfig.__init__, chalice.app.DecoratorAPI.schedule, chalice.app.Response.__init__
Beginning fromwhich, 17 functions are then indirectly called, including 13 chalice's internal APIs and 4 outsider APIs as follows:
[/Rassibassi/doyoutrackid]
+--chalice.app.Chalice.__init__
| +--chalice.app._HandlerRegistration.__init__
| | +--collections.defaultdict
| | +--chalice.app.APIGateway.__init__
| +--chalice.app.WebsocketAPI.__init__
| +--logging.getLogger
| +--chalice.app.Chalice._initialize
| | +--chalice.app.Chalice._configure_logging
| | | +--chalice.app.Chalice._already_configured
| | | +--logging.StreamHandler
| | | +--logging.Formatter
| | | +--chalice.app.Chalice._configure_log_level
+--chalice.app.DecoratorAPI.route
| +--chalice.app.DecoratorAPI._create_registration_function
| | +--chalice.app.DecoratorAPI._wrap_handler
| | | +--chalice.app.EventSourceHandler.__init__
| | | +--chalice.app.PureLambdaWrapper.__init__
| | | +--chalice.app.DecoratorAPI._get_middleware_handlers
| | | +--chalice.app.WebsocketEventSourceHandler.__init__
| | | +--chalice.app.ChaliceAuthorizer.__init__
| | +--chalice.app.DecoratorAPI._register_handler
+--chalice.app.Cron.__init__
+--chalice.app.CORSConfig.__init__
+--chalice.app.DecoratorAPI.schedule
| +--chalice.app.DecoratorAPI._create_registration_function
+--chalice.app.Response.__init__
Since all these functions have not been changed between any version for package "chalice" from [1.26.1, 1.26.2, 1.26.3, 1.26.4, 1.26.5, 1.26.6, 1.27.0] and 1.26.0. Therefore, we believe it is safe to loosen the corresponding dependency.