upip: allow == to specify exact version#70
upip: allow == to specify exact version#70chrisdecker1201 wants to merge 2 commits intopfalcon:masterfrom
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=upipBut 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.