Skip to content

py3-poetry package is broken #76478

@mkushakov

Description

@mkushakov

Python 3 poetry package is broken because one of the dependency dulwich is not pinned in build process:

/ $ poetry --version

cannot import name 'ANNOTATED_TAG_SUFFIX' from 'dulwich.refs' (/usr/lib/python3.13/site-packages/dulwich/refs.py)
/ $ apk list | grep dulwich
py3.13-dulwich-0.25.0-r0 aarch64 {py3-dulwich} (Apache-2.0 AND GPL-2.0-or-later) [installed]

From upstream poetry project you can see it is locked to >=0.24.0,<0.25.0
https://github.com/python-poetry/poetry/blob/3970d11824cbf75677607cfb303658582550145e/pyproject.toml#L11

To fix it, we need to pin version of this package as well

- py${{range.key}}-dulwich

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions