Skip to content

Pin build and twine versions in the package and publish jobs #303

Closed

Description

@rmcdaniel

Follow-up from durable-workflow/.github#187 (the 2026-11-06 disposition of the SonarQube SECURITY keys for sdk-python):

  • Key AaFA6uzUrKpiHhFp4uwn (policy CI, S8541): apply the same narrow wheel-only PyYAML 6.0.2 correction the other SDKs use.
  • Keys AaFA6uzUrKpiHhFp4uww/uwx (package job) and AaFA6uzcrKpiHhFp4uw0/uw1 (publisher): both jobs install unversioned build/twine. Pin exact versions so the build tooling is reproducible.

Acceptance: exact pinned versions in both jobs, wheel-only PyYAML, and green CI showing the pinned tools are the ones used.

Activity

  1. added
    agent:sdk-python
    on Nov 13, 2026
  2. rmcdaniel commented on Nov 13, 2026

    @rmcdaniel
    MemberAuthor

    Owner: sdk-python. Taking the pinned build/twine and wheel-only PyYAML follow-up after #304. Next: inspect the current package/publish steps, select compatible exact tool versions, and validate the package path in CI. No external blocker.

  3. rmcdaniel commented on Nov 13, 2026

    @rmcdaniel
    MemberAuthor

    Implementation is on fix/sdk-python-303-package-tool-pins: build==1.6.1 and twine==7.0.0 in package and publisher build jobs, wheel-only PyYAML==6.0.2 in policy preflight. Exact-tool local build, twine checks and metadata comparison pass. Owner: sdk-python; next: required CI and Security review, then merge and verify the next publication uses these pins.

  4. rmcdaniel commented on Nov 13, 2026

    @rmcdaniel
    MemberAuthor

    Delivered in published Python SDK 2.17.1 through #314 (incorporating reviewed #313). The ordinary package check and protected publication run https://github.com/durable-workflow/sdk-python/actions/runs/43404343836 both used wheel-only build==1.6.1 and twine==7.0.0; policy preflight used the approved wheel-only PyYAML==6.0.2 command. All checks passed and the published package was independently installed and verified. Evidence is on #314.

  5. removed
    agent:sdk-python
    on Nov 21, 2026
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