Skip to content

fix: harden Python release artifacts - #105

Merged
BartoszBlizniak merged 1 commit into
masterfrom
fix/python-release-artifacts
Aug 25, 2026
Merged

fix: harden Python release artifacts#105
BartoszBlizniak merged 1 commit into
masterfrom
fix/python-release-artifacts

Conversation

@BartoszBlizniak

@BartoszBlizniak BartoszBlizniak commented Aug 24, 2026

Copy link
Copy Markdown
Member

Summary

Prepare the Python release artifacts for conda-forge packaging required by cloudsmith-io/cloudsmith-cli#326.

  • require Python 3.10 or newer and produce a Python 3-only wheel
  • include the licence and exclude the generated test package from installation
  • preserve release metadata and omit obsolete test configuration through supported Swagger Codegen inputs
  • build clean PEP 517 artifacts and validate them with Twine
  • test against the minimum supported Python version in CI

Validation

  • clean Python client regeneration
  • 690 tests passed on Python 3.10
  • sdist and wheel passed package and metadata checks
  • CircleCI configuration and release scripts validated

@BartoszBlizniak
BartoszBlizniak force-pushed the fix/python-release-artifacts branch 3 times, most recently from 51a4f9e to 3ae2c2e Compare August 24, 2026 14:25
@BartoszBlizniak
BartoszBlizniak requested a balanced review from Copilot August 24, 2026 14:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Hardens generated Python release artifacts for Python 3.10+, PEP 517, and conda-forge compatibility.

Changes:

  • Adds Python 3.10 packaging metadata and Python 3-only wheels.
  • Excludes generated tests and obsolete CI files.
  • Builds and validates clean artifacts before publishing.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Updates the wheel badge to py3.
.circleci/config.yml Tests and deploys with Python 3.10.
bindings/python/.swagger-codegen-ignore Omits obsolete generated test configuration.
bindings/python/build.sh Supplies Python requirements and restores metadata.
bindings/python/deploy.sh Uses PEP 517 and validates artifacts.
bindings/python/release/pyproject.toml Defines the release build backend.
bindings/python/src/.travis.yml Removes obsolete Travis configuration.
bindings/python/src/LICENSE Adds the license to release sources.
bindings/python/src/README.md Documents Python 3.10 support.
bindings/python/src/pyproject.toml Enables PEP 517 builds.
bindings/python/src/setup.py Adds release metadata and excludes tests.
bindings/python/src/test-requirements.txt Removes obsolete Nose dependencies.
bindings/python/src/tox.ini Runs unittest under Python 3.
bindings/python/templates/README.mustache Preserves generated Python documentation.
bindings/python/templates/setup.mustache Defines hardened package metadata.
bindings/python/templates/tox.mustache Generates modern tox configuration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread bindings/python/templates/setup.mustache Outdated
@BartoszBlizniak
BartoszBlizniak force-pushed the fix/python-release-artifacts branch from 3ae2c2e to 19ad30a Compare August 24, 2026 14:55
@BartoszBlizniak
BartoszBlizniak marked this pull request as ready for review August 24, 2026 15:13
@BartoszBlizniak
BartoszBlizniak merged commit 1e01d5c into master Aug 25, 2026
8 checks passed
@BartoszBlizniak
BartoszBlizniak deleted the fix/python-release-artifacts branch August 25, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants