Skip to content

Release Docker image v0.11.6 contains xrcg 0.11.7.dev0 #732

Done

Description

@clemensv

Failure

The published, signed ghcr.io/xregistry/codegen/xrcg:0.11.6 image installs
xrcg 0.11.7.dev0. Both package metadata and xrcg --version report that
development version.

Reproduction

docker run --rm --entrypoint python ghcr.io/xregistry/codegen/xrcg@sha256:69d7cb3f4c1b293c4d0d0d733d45fd4db4e0ff2928ad32989a24736a9f3a4cd2 -c "from importlib.metadata import version; print(version('xrcg'))"

Actual: 0.11.7.dev0. Expected: 0.11.6.

The normal tag build log also reports:

Successfully built xrcg-0.11.7.dev0.tar.gz and xrcg-0.11.7.dev0-py3-none-any.whl

Scope and evidence

  • The PyPI publisher's wheel and sdist correctly identify version 0.11.6.
  • All 608 tracked package files in the Docker image match accepted release
    commit f1bc32f2388b9eba4bec18d1b191135095115775 and the official PyPI
    distributions. This is a package-version defect, not different generator
    source code.
  • The Docker image contains Avrotize 3.9.9, as intended.
  • The strict runtime version check remains failed with exit code 1.

The Dockerfile copies .git for SCM version detection, while .dockerignore
excludes tracked files. A dirty filtered working tree is a suspected cause
of the next-patch development version; this still needs an isolated proof.

Required repair

Pass the release-tag version explicitly to the package build and verify the
installed package and CLI versions before publishing a version-tagged image.
Keep branch-build behavior separate. Publish the repair under a new immutable
release rather than replacing the existing tag or masking the version check.

No artifact patch or workaround has been applied.

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

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