Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

poetry 1.0.0 incompatibility change #10

Closed
bdouxx opened this issue Nov 20, 2020 · 3 comments
Closed

poetry 1.0.0 incompatibility change #10

bdouxx opened this issue Nov 20, 2020 · 3 comments

Comments

@bdouxx
Copy link

bdouxx commented Nov 20, 2020

Hi,

I want to use the last version of ansible-lint which require dev-python/rich
gentoo/gentoo#18100

There is a incompatibility change in recents versions of poetry an poetry-core
python-poetry/poetry#2212

This PR extracts the core utilities of Poetry (like the building of distributions) into a separate package (poetry-core) that is lightweight and without any declared dependency, the dependencies are vendored instead.

So some recent package like : https://github.com/willmcgugan/rich/blob/master/pyproject.toml
need

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

and not

build-backend = "poetry.masonry.api"
@mgorny
Copy link
Member

mgorny commented Nov 21, 2020

I presume that are no real API changes, besides changed backend name?

@mgorny mgorny closed this as completed in 95ef8e9 Nov 21, 2020
@mgorny
Copy link
Member

mgorny commented Nov 21, 2020

I've did a quick test but if you could do a full test, I'd appreciate that. Please let me know and then I'll make a release.

@bdouxx
Copy link
Author

bdouxx commented Nov 21, 2020

hi, with your patch, I can compile rich without problem, thank.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants