-
-
Notifications
You must be signed in to change notification settings - Fork 398
Version restriction for installing library #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can install a specific version of a library with:
|
Thanks @phd . That's an interesting improvement of arduino-cli. |
@silvanocerza do we support this? |
I like this, would be something nice to have. I think it would be feasible but I'd have to investigate a bit first just to be sure. |
Hello,
I noticed in doc:
install latest "registered" library named
WiFi101
.I wonder if it's currently possible to restrict version of library to install a library using a command line like
or simply
Such a command could install latest version between 5.0.0 (include) and 6.0.0 (exclude)
ie, currently 5.13.4.
This is quite similar to Python requirements.txt syntax.
See https://www.python.org/dev/peps/pep-0440/#compatible-release and https://stackoverflow.com/questions/8795617/how-to-pip-install-a-package-with-min-and-max-version-range
Installing a given version should also be considered (or documented)
Specifying an "unregistered" library could also be supported (with care) ( #128 )
https://stackoverflow.com/questions/16584552/how-to-state-in-requirements-txt-a-direct-github-source
Kind regards
PS : related issue arduino/Arduino#5795
PS2 : installing several differents versions of a library could be done using environments #108
The text was updated successfully, but these errors were encountered: