Skip to content

Constrain PyPI development publishing - #183

Merged
josephbirkner merged 1 commit into
mainfrom
ci/constrain-pypi-dev-publishing
Jul 23, 2026
Merged

Constrain PyPI development publishing#183
josephbirkner merged 1 commit into
mainfrom
ci/constrain-pypi-dev-publishing

Conversation

@josephbirkner

Copy link
Copy Markdown
Contributor

Summary

The post-merge main deployment reached PyPI's 10 GB per-project quota while uploading 2026.3.6.dev6. Public package metadata currently accounts for about 9.92 GiB: approximately 7.30 GiB is development previews and 2.54 GiB is final releases.

This stops unbounded duplicate publication while preserving the preview path requested for releases:

  • publish development wheels only for release/X.Y.Z pull requests targeting main
  • continue running the complete wheel matrix on ordinary main pushes, but skip PyPI upload
  • continue publishing final vX.Y.Z tag builds
  • document deletion of superseded previews as part of release retention

Old previews still need a one-time manual purge through PyPI's project management UI because PyPI does not expose release deletion through its package API.

Validation

  • YAML parsing with PyYAML
  • actionlint v1.7.12
  • git diff --check

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Package Line Rate Branch Rate Health
libs.geojsonsource.include.geojsonsource 100% 50% βœ”
libs.geojsonsource.src 66% 38% βž–
libs.gridsource.include.gridsource 0% 0% ❌
libs.gridsource.src 0% 0% ❌
libs.http-datasource.src 48% 26% ❌
libs.http-service.src 58% 24% βž–
libs.location.include.mapget.location 100% 100% βœ”
libs.location.src 83% 40% βœ”
libs.logging.include.mapget 5% 2% ❌
libs.model.include.mapget.model 51% 30% βž–
libs.model.src 73% 42% βž–
libs.service.include.mapget.service 56% 50% βž–
libs.service.src 74% 38% βž–
Summary 65% (12147 / 18562) 35% (12929 / 37286) βž–

Minimum allowed line rate is 50%

@josephbirkner
josephbirkner marked this pull request as ready for review July 23, 2026 15:15
@josephbirkner
josephbirkner merged commit 749cda2 into main Jul 23, 2026
19 checks passed
@josephbirkner
josephbirkner deleted the ci/constrain-pypi-dev-publishing branch July 23, 2026 15:15
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