-
Notifications
You must be signed in to change notification settings - Fork 65
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
Installing Toqito #207
Comments
this is probably related to versioning syntax. #218 (comment) |
A non-editable install of toqito is also causing issues with missing modules: https://stackoverflow.com/questions/14295680/unable-to-import-a-module-that-is-definitely-installed |
Hmm. Wondering if we should just use a straight-up I'm still not entirely sure I understand the problem in its entirety (that is, I understand the pain point, but I'm not sure what's causing it). Perhaps this is something we can chat about during our next sync, but if you have any insights, let's keep the conversation going here as this seems like a fairly serious one from a usability perspective. |
Yeah, same here. I thought pinning the versions in the I did find a previous discussion on this: pypa/pip#4810 Seems like something in |
Hmm, yeah so |
So I think I know the problem. In package_dir={"": "toqito"},
packages=setuptools.find_packages(where="toqito"), Doing so, and running the |
Based on the struggle in #204, need to figure out how an editable installation of
toqito
should be packaged.Using
pip install -e.
did not install all the required packages. As this is a Python package and pip is popular, it would be good to figure this out especially where is pip getting the info from.One option would be to use
dev_requirements.txt
created from a working installation via poetry. Then usepip install dev_reqs
.Last comment in the above linked issue talks about using
poetry
as a better dependency resolver. But if changes are made topyproject.toml
before usingpoetry lock (in toqito), poetry install
, the newer version ofpyproject.toml
will not be used.https://python-poetry.org/docs/faq/#why-is-the-dependency-resolution-process-slow
https://stackoverflow.com/a/73499097/10241324
https://stackoverflow.com/questions/58961497/how-to-update-poetrys-lock-file-without-upgrading-dependencies
https://stackoverflow.com/questions/58708936/pythonpoetry-installation-is-getting-stuck
The text was updated successfully, but these errors were encountered: