-
Notifications
You must be signed in to change notification settings - Fork 68
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
upip: allow == to specify exact version #70
base: master
Are you sure you want to change the base?
upip: allow == to specify exact version #70
Conversation
Thanks for the patch, but for starters, what is the usecase for it? Then, it clearly has a mistake in the code. Also, see https://github.com/pfalcon/pycopy-lib#contributing for contribution guidelines (format of commit messages, etc.)
It's builtin. I.e., when you build https://github.com/pfalcon/pycopy/ binary, you have it. |
I really like to define the exact version of a package. So this change would be nice. If I write a script which installs all my packages, I'm not sure (at the moment) that I'll get the same or working program. If I can specify the exact version, I can make sure I've always the same outcome. I'll check for the error in the merge request. |
I've problem getting it all to run. Maybe you can help me. I've installed ssl, ussl and upip make install MOD=ssl
make install MOD=cpython-ussl
make install MOD=upip But I'm getting this error when I execute this script import sys
sys.path.append("")
from upip import install
packages = [
"micropython-uuid==0.1",
]
install(packages, "modules")
And when I look into ussl I don't find any SSLContext class only in ssl. But I'm sure that's all because I do not understand everything at the moment :) |
Yeah, https://www.chiark.greenend.org.uk/~sgtatham/bugs.html is dedicated to such matters ;-)
|
Okay. I'm getting closer :). I could not compile pycopy due to this error pfalcon/pycopy#59 |
It should work now :) |
As I wanted this feature in micropython (micropython/micropython#8033) I think It would be nice to have it here too.
I can't test it because I could not find out how to get the ussl library.
Maybe someone can test it for me or explain me how I get the ussl library.