Skip to content

Pin Python build tools to exact versions in release workflows#401

Closed
annzhang-db wants to merge 1 commit intomainfrom
fix/pin-python-build-tools
Closed

Pin Python build tools to exact versions in release workflows#401
annzhang-db wants to merge 1 commit intomainfrom
fix/pin-python-build-tools

Conversation

@annzhang-db
Copy link
Copy Markdown
Contributor

Replace unpinned pip install calls in all Python release workflows with exact version pins. Previously, pip resolved the latest available build/twine at release time with no integrity check.

Changes:

  • release-databricks-{langchain,openai,ai-bridge,mcp}.yml: pip install build → pip install build==1.2.2
  • databricks-dspy-release.yml: pip install build twine → pip install build==1.2.2 twine==6.1.0 pip install --upgrade pip twine → pip install pip==24.3.1 twine==6.1.0
  • generate_release_workflows.py updated so regenerated workflows inherit pinned versions.

Co-authored-by: Isaac

Replace unpinned pip install calls in all Python release workflows with
exact version pins. Previously, pip resolved the latest available build/twine
at release time with no integrity check.

Changes:
- release-databricks-{langchain,openai,ai-bridge,mcp}.yml:
    pip install build  →  pip install build==1.2.2
- databricks-dspy-release.yml:
    pip install build twine  →  pip install build==1.2.2 twine==6.1.0
    pip install --upgrade pip twine  →  pip install pip==24.3.1 twine==6.1.0
- generate_release_workflows.py updated so regenerated workflows
  inherit pinned versions.

Co-authored-by: Isaac
@annzhang-db annzhang-db closed this Apr 1, 2026
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