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

Poetry 1.0.6 fails to install another poetry project from a sub-folder #2501

Closed
3 tasks done
graffic opened this issue Jun 5, 2020 · 5 comments · Fixed by #2505
Closed
3 tasks done

Poetry 1.0.6 fails to install another poetry project from a sub-folder #2501

graffic opened this issue Jun 5, 2020 · 5 comments · Fixed by #2505
Labels
kind/bug Something isn't working as expected

Comments

@graffic
Copy link

graffic commented Jun 5, 2020

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

The pyproject.toml file has a dependency on another poetry project. But it seems after poetry install, it fails to install. This was working with 1.0.5. If I go to the schemas folder and execute a poetry install inside the virtual-env, I can install the main package afterwards.

Output I get


Package operations: 1 install, 0 updates, 0 removals

  - Installing ovat-schemas-metrics (0.6.0 schemas)
  - Installing metrics (0.20.0)

[EnvCommandError]
Command ['/redacted/metrics/.venv/bin/pip', 'install', '-e', '/redacted/metrics'] errored with the following return code 1, and output: 
Obtaining file:///redacted/metrics
Requirement already satisfied: Faker<5.0.0,>=4.0.2 in ./.venv/lib/python3.8/site-packages (from metrics==0.20.0) (4.1.0)
Requirement already satisfied: alembic<2.0.0,>=1.4.2 in ./.venv/lib/python3.8/site-packages (from metrics==0.20.0) (1.4.2)
Requirement already satisfied: click<8.0,>=7.0 in ./.venv/lib/python3.8/site-packages (from metrics==0.20.0) (7.1.2)
Requirement already satisfied: databases<1,>=0 in ./.venv/lib/python3.8/site-packages (from metrics==0.20.0) (0.3.2)
Requirement already satisfied: fastapi<0.55.0,>=0.54.1 in ./.venv/lib/python3.8/site-packages (from metrics==0.20.0) (0.54.2)
Requirement already satisfied: httpx<0.14.0,>=0.13.2 in ./.venv/lib/python3.8/site-packages (from metrics==0.20.0) (0.13.3)
ERROR: Could not find a version that satisfies the requirement ovat-schemas-metrics==0.6.0 (from metrics==0.20.0) (from versions: none)
ERROR: No matching distribution found for ovat-schemas-metrics==0.6.0 (from metrics==0.20.0)
@graffic graffic added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jun 5, 2020
@sdispater
Copy link
Member

What's the structure of both you projects?

@graffic
Copy link
Author

graffic commented Jun 5, 2020

I just published a small example here: https://github.com/graffic/poetry-106-issue

poetry install will finish in 1.0.5

@sdispater
Copy link
Member

I found the root cause. I will fix it and make a new release.

@graffic
Copy link
Author

graffic commented Jun 5, 2020

Thanks!

@abn abn removed the status/triage This issue needs to be triaged label Sep 25, 2020
Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants