Skip to content
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

Why do I need to run packages from separate virtualenvs #2763

Open
kantord opened this issue Mar 22, 2023 · 2 comments
Open

Why do I need to run packages from separate virtualenvs #2763

kantord opened this issue Mar 22, 2023 · 2 comments

Comments

@kantord
Copy link
Owner

kantord commented Mar 22, 2023

poetry install

cd apps/librelingo_yaml_loader
poetry install
cd ../..

cd apps/librelingo_json_export
poetry install
cd ../..

@ProtKsen
Copy link

Hello! I don't know where to discuss this better, so I'll write it here. I try to set up the project locally but I have a problem during installing dependencies. When I run

poetry install

in apps/librelingo_yaml_loader, poetry can't resolve dependencies during huge amount of time (I waited until 50000 sec). When I run

poetry install -vv

I see that the main problem is with nr-util
screenshot.
Are there any problems or am I doing something wrong?

@kantord
Copy link
Owner Author

kantord commented Apr 19, 2023

@ProtKsen this seems to be a problem with poetry itself, at least based on your screenshot I cannot think of a way it could be related to LibreLingo.

Also I think I have experienced something similar, maybe it solves itself after some time, or maybe you could try running poetry cache clear . --all to clear your poetry cache? Also you could check if you have the latest version of poetry

sublime-coleslaw added a commit to sublime-coleslaw/LibreLingo that referenced this issue Nov 20, 2023
Using local packages instead of versioned pypi packages allows for
instant updates to sub-packages without needing to create a new release.
Packages can now be installed with one `poetry install` command in the
root librelingo project.

Version drift between sub-packages is also stopped. It's impossible for
librelingo-json-export and librelingo-yaml-loader to depend on different
versions of librelingo-fakes.

kantord#3023
kantord#2763
sublime-coleslaw added a commit to sublime-coleslaw/LibreLingo that referenced this issue Nov 20, 2023
Using local packages instead of versioned pypi packages allows for
instant updates to sub-packages without needing to create a new release.
Packages can now be installed with one `poetry install` command in the
root librelingo project.

Version drift between sub-packages is also stopped. It's impossible for
librelingo-json-export and librelingo-yaml-loader to depend on different
versions of librelingo-fakes.

kantord#3023
kantord#2763
sublime-coleslaw added a commit to sublime-coleslaw/LibreLingo that referenced this issue Nov 20, 2023
Using local packages instead of versioned pypi packages allows for
instant updates to sub-packages without needing to create a new release.
Packages can now be installed with one `poetry install` command in the
root librelingo project.

Version drift between sub-packages is also stopped. It's impossible for
librelingo-json-export and librelingo-yaml-loader to depend on different
versions of librelingo-fakes.

kantord#3023

kantord#2763
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants