Skip to content

fix: validate PyPI availability against dbt-core, not dbt - #16324

Open
ash2shukla wants to merge 1 commit into
1.latestfrom
fix/pypi-release-package-name-dbt-core
Open

ash2shukla wants to merge 1 commit into
1.latestfrom
fix/pypi-release-package-name-dbt-core

Conversation

@ash2shukla

Copy link
Copy Markdown
Contributor

Summary

  • Run 34997786343 (release 1.12.5, target branch 1.latest) failed at PyPI Release / validate-package-available-pypi:
    The info about dbt v1.12.5 version is not available in PyPI. Manual intervention required.
    
    even though dbt-core 1.12.5 was live on PyPI.
  • Root cause: this repository was renamed from dbt-core to dbt (GitHub transparently redirects the old repo name/URLs, but it's the same repo — same repo ID). It still builds and publishes the dbt-core PyPI package (core/pyproject.toml: name = "dbt-core"), not a package literally named dbt. The shared pypi-release.yml reusable workflow (in dbt-labs/dbt-release) derives the PyPI package name to validate from github.event.repository.name, which is now dbt for this repo — so it was checking PyPI for the wrong package name entirely (a legacy, unrelated dbt package that stopped tracking dbt-core's 1.x versioning long ago).
  • This intentionally only broke the validation steps in that run; the actual dbt-core package itself published fine. But it will keep failing every release triggered from this repo until fixed, always requiring manual intervention.
  • Fix: pass an explicit package_name: "dbt-core" to the pypi-release job in .github/workflows/release.yml, using the new override input added in dbt-labs/dbt-release#173.

Dependency

This PR requires dbt-labs/dbt-release#173 to be merged first (adds the package_name input to pypi-release.yml). Until that merges, @main won't recognize this input and the release workflow will fail with an unrecognized-input error.

Test plan

🤖 Generated with Claude Code

Run 34997786343 failed validate-package-available-pypi for a 1.12.5
release with "The info about dbt v1.12.5 version is not available in
PyPI", even though dbt-core==1.12.5 was live on PyPI. This repo was
renamed from dbt-core to dbt, but it still builds and publishes the
dbt-core package (core/pyproject.toml: name = "dbt-core"). The shared
pypi-release.yml workflow derives the PyPI package name from the repo
name by default, which is now wrong for this repo.

Requires dbt-labs/dbt-release#173 (adds the package_name input) to be
merged first.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ash2shukla
ash2shukla requested a review from a team as a code owner September 15, 2026 19:54
@cla-bot cla-bot Bot added the cla:yes label Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant