-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi, your project euctr-tracker-code requires "dataset==1.0.1" in its dependency. After analyzing the source code, we found that some other versions of dataset can also be suitable without affecting your project, i.e., dataset 1.0.0, 1.0.2. Therefore, we suggest to loosen the dependency on dataset from "dataset==1.0.1" to "dataset>=1.0.0,<=1.0.2" to avoid any possible conflict for importing more packages or for downstream projects that may use euctr-tracker-code.
May I pull a request to loosen the dependency on dataset?
By the way, could you please tell us whether such dependency analysis may be potentially helpful for maintaining dependencies easier during your development?
For your reference, here are details in our analysis.
Your project euctr-tracker-code(commit id: 0e880fe) directly uses 1 APIs from package dataset.
dataset.__init__.connect
From which, 8 functions are then indirectly called, including 2 dataset's internal APIs and 6 outsider APIs, as follows (neglecting some repeated function occurrences).
[/ebmdatalab/euctr-tracker-code]
+--dataset.__init__.connect
We scan dataset's versions among [1.0.0, 1.0.2] and 1.0.1, the changing functions (diffs being listed below) have none intersection with any function or API we mentioned above (either directly or indirectly called by this project).
diff: 1.0.1(original) 1.0.0
['dataset.table.Table.create_column', 'dataset.table.Table']
diff: 1.0.1(original) 1.0.2
['dataset.table.Table', 'dataset.table.Table._sync_table']
As for other packages, the APIs of @outside_package_name are called by dataset in the call graph and the dependencies on these packages also stay the same in our suggested versions, thus avoiding any outside conflict.
Therefore, we believe that it is quite safe to loose your dependency on dataset from "dataset==1.0.1" to "dataset>=1.0.0,<=1.0.2". This will improve the applicability of euctr-tracker-code and reduce the possibility of any further dependency conflict with other projects/packages.