-
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
poetry-core 1.0.1 release breaks installation poetry via pip #3650
poetry-core 1.0.1 release breaks installation poetry via pip #3650
Comments
Changing line 28 from |
Ran into this as well, immediately breaked pipelines.. probably need to yank 1.0.1 |
Was just updating a repo and ran into the same problem. Had to downgrade back to explicitly use 1.0.0 for it to fix |
Same issue for us across all our builds/packages. |
same here, all my build pipelines are failing |
Pipelines stopped working about 30mins ago |
Same here. it breaks poetry itself, we have |
Same issue. Fresh Docker container, |
Version locking poetry to 1.0.0 avoids this error. Not great, but it got our builds working again.
|
I too, am experiencing this difficulty. I use |
you can lock poetry-core version as you install poetry 1.1.4 |
It would be good if poetry had some integration tests ... To avoid these errors. |
Running Edit: this was actually due to a bad ci.yml file; using workaround and pinning with |
So many Friday releases in danger because of it. |
Yes Friday its, please fix this ASAP |
Installing poetry works for me, but |
Let's pin it to 1.0.0 for now, and revert this commit once it is fixed. See also: python-poetry/poetry#3650
Workaround: pin `poetry-core` to 1.0.0
…On Fri, Feb 5, 2021 at 4:23 PM Evandro Myller ***@***.***> wrote:
Installing poetry works for me, but poetry config virtualenvs.create false
breaks the hell our of my Docker build with the same error above.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3650 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACA5J4UNDN4EMWQZKIZJACTS5RATXANCNFSM4XFG5M7A>
.
--
*Alejandro López *| acerca de mí <https://alejandrolopez.web.app>
Desarrollador de Software
Santiago de Chile, Chile
|
Installing doesn't break for me, but |
Installing is fine, but any Workaround for install: Workaround for Poetry projects in pyproject.toml's build-system section: Replace |
On pipx, do this to pin the version
|
Basically poetry used to incorrectly import Dependency from |
Workaround for python-poetry/poetry#3650
Semantic versioning afaiu says that you can't do this in a patch version. In fact, I don't even think this is valid in a minor. I'm sorry that poetry Ideally that means releasing a I hope everyone has a good weekend. (I need to fix one more spot where we hit this.) |
* poetry-core 1.0.1 is currently broken Let's pin it to 1.0.0 for now, and revert this commit once it is fixed. See also: python-poetry/poetry#3650 * Update dockerfile too
yup, I'm with you on that. Sounds like this is going to be a bunch of work for them. |
I would checkout 1.0.0, tag 1.0.2, and push. Then 1.0.3 can be a patched 1.0.1. It's ugly but might be the fastest fix (overall). Maybe |
Workaround for python-poetry/poetry#3650
Still no new poetry-core version in pypi, so this is not fixed yet. |
Yeah, shouldn't be closed till the release exists in pypi. |
It's here: https://pypi.org/project/poetry-core/1.0.2/ |
Fantastic! Confirmed in Docker that Thank you @sinoroc and all! |
Not me. If I am not mistaken it's @finswimmer and @sdispater that you should thank. |
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).ubuntu-latest
at GHAIssue
Unfortunately,
poetry-core==1.0.1
release breakspoetry
, when installed via pip.Steps to reproduce
python3 -m venv /path/to/venv
/path/to/venv/bin/python3 -m pip install poetry==1.1.4
/path/to/venv/bin/poetry --help
How to fix
Install
poetry-core==1.0.0
version, when installing poetry via pip.Reason
poetry.core.packages.package
is not a source ofDependency
class, it only imports it for type checking: https://github.com/python-poetry/poetry-core/blob/master/poetry/core/packages/package.py#L27ps. Yes, I understand, that installing poetry via pip is not an official installation method. But at a moment it is an easiest way to install poetry at GitHub Actions
The text was updated successfully, but these errors were encountered: