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 commands stuck #8951

Closed
agn-7 opened this issue Feb 6, 2024 · 4 comments
Closed

poetry commands stuck #8951

agn-7 opened this issue Feb 6, 2024 · 4 comments
Labels
kind/bug Something isn't working as expected

Comments

@agn-7
Copy link

agn-7 commented Feb 6, 2024

When I enter poetry install or poetry update or poetry lock it gets stuck:

$ poetry install

The currently activated Python version 3.10.12 is not supported by the project (^3.11).
Trying to find and use a compatible version. 
Using python3.11 (3.11.7)
Creating virtualenv ai3d-huZEbsel-py3.11 in /home/benyamin/.cache/pypoetry/virtualenvs
Updating dependencies
The authenticity of host 'https (185.38.110.118)' can't be established.
RSA key fingerprint is SHA256:OLu/gLhJqk/sFzryREsEYBZ7K2VN0ltqZK3wNP7q6fY.
This key is not known by any other names
Resolving dependencies... (350.6s)

pyproject.toml:

[tool.poetry]
name = "ai3d"
version = "0.1.0"
description = ""
authors = ["Benyamin <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
pydantic = "^2.5.2"
uvicorn = "^0.24.0.post1"
alembic = "^1.12.1"
sqlalchemy = "1.4.27"
psycopg2-binary = "^2.9.9"
pydantic-settings = "^2.1.0"
pytz = "^2023.3.post1"
asyncpg = "^0.29.0"
gunicorn = "^21.2.0"
fastapi = "^0.109.2"
openai = "^1.6.1"
g4f = "^0.1.9.6"
google-generativeai = "^0.3.2"
python-jose = {extras = ["cryptography"], version = "^3.3.0"}
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
python-multipart = "^0.0.6"
asyncclick = "^8.1.3.4"
sqladmin = {git = "https://github.com/agn-7/sqladmin.git"}

[tool.poetry.group.dev.dependencies]
requests = "^2.31.0"
pytest = "7.4.2"
black = "^23.10.1"
pytest-cov = "^4.1.0"
pytest-asyncio = "^0.21.1"
aiosqlite = "^0.19.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

Versions:

  • Poetry 1.7.1
  • Python 3.11
  • Ubuntu 22.04
@agn-7 agn-7 added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Feb 6, 2024
@Secrus
Copy link
Member

Secrus commented Feb 6, 2024

Please follow the issue template

@dimbleby
Copy link
Contributor

dimbleby commented Feb 6, 2024

probably duplicate #8623 etc

@abn
Copy link
Member

abn commented Feb 29, 2024

This looks like an issue with ssh not trusting the host.

The authenticity of host 'https (185.38.110.118)' can't be established.
RSA key fingerprint is SHA256:OLu/gLhJqk/sFzryREsEYBZ7K2VN0ltqZK3wNP7q6fY.
This key is not known by any other names

Basically the terminal is waiting for you to say "yes". This is an environment issue rather than a poetry issue. Try trusting the host explicitly prior to using poetry install, or add the fingerprint to the known_hosts file if you really trust the host.

Since the provided pyproject cannot reproduce the issue, closing.

@abn abn closed this as not planned Won't fix, can't repro, duplicate, stale Feb 29, 2024
@abn abn removed the status/triage This issue needs to be triaged label Feb 29, 2024
Copy link

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 31, 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

No branches or pull requests

4 participants