-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Note: This is just a template, so feel free to use/remove the unnecessary things
Description
- Type: Enhancement
- Related Issue: Travis CI: Bind remaining python modules mbed-os#9389, Version pinning in *requirements.txt files icetea#69
Enhancement
Reason to enhance/problem with existing solution
We're trying to make our python tools a little more consistent when they are installed when using Mbed OS. We've been bitten a lot recently by python packages not pinning major versions and then having the APIs change once a new major version is released.
Suggested enhancement
Please pin the major versions of packages that have APIs > 1.0.
For unstable packages (0.x.x), please pin the minor number. pyocd
in particular is going through many API changes right now, so the version needs to be pinned to the minor version or the dependency could be made optional (this is done in mbed-os-tools
, let me know if you need any assistance with this).
Pros
Reproducible installs
Cons
You need to really be aware of when you need to update dependency versions. This probably a pro, but it does take a little more maintenance effort.