Skip to content

Pin Poetry to <2 to fix sdist installation as root. - #2686

Open
tompollard wants to merge 1 commit into
devfrom
tp/fix-poetry-pin
Open

Pin Poetry to <2 to fix sdist installation as root.#2686
tompollard wants to merge 1 commit into
devfrom
tp/fix-poetry-pin

Conversation

@tompollard

Copy link
Copy Markdown
Member

Poetry 2.x removed the pip-based installer fallback (installer.modern-installation = false). Without it, tarfile.chown() crashes when extracting sdists as root in Docker/CI due to packages with gname=None in tar metadata. Pin Poetry <2 and re-enable the fallback.

Addresses #2685

Poetry 2.x removed the pip-based installer fallback
(installer.modern-installation = false). Without it,
tarfile.chown() crashes when extracting sdists as root
in Docker/CI due to packages with gname=None in tar
metadata. Pin Poetry <2 and re-enable the fallback.

Fixes #2685
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant