-
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
issue-3040: Hides traceback for SolverProblemError #3111
Conversation
@lowitea any chance we can add a test case for this somewhere? |
@abn i couldn't think of how to do it :( |
@abn Hi |
Looks like the solution is not being displayed (this bit).
Test Commandpodman run --rm -i --entrypoint bash python:3.8 <<EOF
set -xe
python -m pip install -q git+https://github.com/python-poetry/poetry.git@refs/pull/3111/head
install -d foobar
cat > pyproject.toml <<TOML
[tool.poetry]
name = "foobar"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.5"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
TOML
poetry add black
EOF Output+ python -m pip install -q git+https://github.com/python-poetry/poetry.git@refs/pull/3111/head
WARNING: Did not find branch or tag 'refs/pull/3111/head', assuming revision or ref.
WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
+ install -d foobar
+ cat
+ poetry add black
Creating virtualenv foobar-il7asoJj-py3.8 in /root/.cache/pypoetry/virtualenvs
Using version ^20.8b1 for black
Updating dependencies
Resolving dependencies...
The current project's Python requirement (>=3.5,<4.0) is not compatible with some of the required packages Python requirement:
- black requires Python >=3.6, so it will not be satisfied for Python >=3.5,<3.6
Because no versions of black match >20.8b1,<21.0
and black (20.8b1) requires Python >=3.6, black is forbidden.
So, because foobar depends on black (^20.8b1), version solving failed. |
Let me check. I’ll contact you later. |
Closing this as we've removed the default tracebacks with a Cleo change. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pull Request Check List
Resolves: #3040