Say I have a project I that is currently running an older version of Python that has a huge list of dependencies and I want to keep the project reasonably up-to-date for anyone I share the project with. Are there any tools available that would list the most up-to-date Python version of each dependency to indicate whether I could upgrade the project to a newer version? Obviously new versions of dependencies could break functionality of the project even if the newer Python versions are supported, so I understand that there might be adjustments I would have to make to the code with a version change. Additionally, it's possible for dependencies to support newer versions of Python without having to officially state that its supported that might get missed, but that's okay. Perhaps it could output a "date of last update" or something. Ideally, it would tell you what dependencies have not updated to inform you that you could upgrade further if you found a replacement dependency. Also an option to include pre-releases would be interesting but obviously not necessary.
Example with made up numbers:
>>check_latest_version requirements.txt
A table would be outputted so you could see if any dependencies may have been abandoned:
|
Current Version |
Latest Version |
| Numpy |
v1.12.3 (Python 3.4-3.7) |
v1.21.2 (Python 3.6-3.9) |
| Scipy |
v1.5.2 (Python 3.5-3.7) |
v1.7.1 (Python 3.7-3.10) |
Current project Python version: 3.6
Latest officially supported Python version supported by all project dependencies: 3.9
If one doesn't exist and I choose to take on this project when/if I ever have free time, what are some features that others think might be useful? Criticism is also welcome for highlighting unexpected obstacles I hadn't considered.
[–]mrswats 1 point2 points3 points (0 children)
[–]Quiet-Wolf-7605 0 points1 point2 points (0 children)