Skip to content
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

py3-pygments - make py3.XX-package provide py3-package #28993

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

smoser
Copy link
Contributor

@smoser smoser commented Sep 20, 2024

These were missing boilerplate from the multi-version python packaging.

The result is that if you 'apk add py3-pygments' you only get the empty parent package.

@smoser smoser mentioned this pull request Sep 20, 2024
@xnox xnox force-pushed the cleanup/py3-pygments-provides branch from 441d9bd to 63f0286 Compare September 20, 2024 16:51
@smoser smoser force-pushed the cleanup/py3-pygments-provides branch 2 times, most recently from b4d8f1c to 1623785 Compare September 20, 2024 19:50
These were missing boilerplate from the multi-version python
packaging.

The result is that if you 'apk add py3-pygments' you only
get the empty parent package.
This seems to resolve a dependency loop that wolfictl complains about.

Without this change, `wolfictl text` as run in 'Determine packages to
test build' will fail like this:

    $ burl=https://packages.wolfi.dev/bootstrap/stage3
    $ wolfictl text --pipeline-dir=./pipelines \
        -r$burl -k$burl/wolfi-signing.rsa.pub   2>&1 |
         tee out.log

    2024/09/20 15:12:20 ERRO
      unresolvable cycle:
        py3-pygments:2.18.0-r1@local ->
        py3-supported-hatchling:1.25.0-r2@local,
      caused by:
        py3-supported-hatchling:1.25.0-r2@local ->
        py3-hatchling:1.25.0-r2@local ->
        git:2.46.1-r0@local ->
        curl-dev:8.10.1-r0@local ->
        libpsl-dev:0.21.5-r3@local ->
        libpsl:0.21.5-r3@local ->
        gtk-doc:1.34.0-r0@local ->
        py3-pygments:2.18.0-r1@local

    Error: unable to build graph:
       unable to re-add original edge with new dep still causes cycle
           gtk-doc:1.34.0-r0@local -> py3-supported-hatchling
       unable to build graph:
           unable to re-add original edge with new dep still causes cycle
           gtk-doc:1.34.0-r0@local -> py3-supported-hatchling
@smoser smoser force-pushed the cleanup/py3-pygments-provides branch from 1623785 to ab86a71 Compare September 20, 2024 23:54
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