-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
AttributeError on running "poetry install" #2372
Comments
@pavdmyt I beielve the constraint you are looking for is |
@abn Thanks! I didn't find OR operator in docs. My point is more about that in described case the |
I'm having the same error on Poetry 1.0.9. The package I'm trying (AuHau/toggl-cli) has:
This is my debug info, and a gist below with
Poetry [AttributeError] 'EmptyConstraint' object has no attribute 'min' (Note: yesterday I didn't see this open issue, so I left the same comment on #534, which I believe is a closed duplicated issue) |
I'm experiencing this error in Poetry 1.1.5 when python [tool.poetry]
name = "poetry-bug"
version = "0.1.0"
description = ""
authors = ["Me"]
[tool.poetry.dependencies]
python = "^2.7"
[tool.poetry.dev-dependencies]
pytest = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" Running |
Experiencing the same thing with |
👍 Also encountering this issue today w/ Python 3.8. UPDATE: pytest-randomly caused the issue. This comment here helped fix the problem. I downgraded pytest-randomly to 3.5.0. #3862 (comment) |
* Bump apprise action * Switch to s4cmd * Lock pytest-randomly (python-poetry/poetry#2372) * Mitigate changes to GITHUB_TOKEN
This is probably a documentation issue. According to the docs:
This should probably explicitly state that a comma in this corresponds to logical and, and an example with logical or |
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. |
-vvv
option).Issue
Having a
pyproject.toml
with the followingtool.poetry.dependencies
section:Running
poetry install
results inAttributeError
:However,
poetry check
returns no errors:So, I'm making a conclusion that
python = "~2.7, >=3.4, <3.8"
is a valid version constraint.The text was updated successfully, but these errors were encountered: