Skip to content

Conversation

@TobiX
Copy link
Contributor

@TobiX TobiX commented Jun 29, 2025

Since the usage of setup.py is deprecated, move all configuration into pyproject.toml.

This also cleans up the CI build for PyPI:

  • Removes the use of QEMU and replaces it with native aarch64 systems
  • Prepare the Python build for Trusted Publishing
  • Drop sdist build, it's basically useless anyways...
  • Update cibuildwheel

I think more architectures should be easy by just adding the correct runners (see https://docs.github.com/en/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories) to the build matrix.

If you want to add a hand-off publishing pipeline to PyPI, you just need to do 4 things (ignore if too much work):

  • Create a PyPI account
  • Create sqlite-zstd project
  • Enable Trusted Publishing
  • Add a trigger on tag in the .github/workflows/pypi_release.yml:
on:
  workflow_dispatch:
  push:
    tags: ["*"]

@phiresky phiresky merged commit 212b179 into phiresky:master Jun 30, 2025
6 checks passed
@TobiX TobiX deleted the modern-py branch June 30, 2025 10:07
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.

2 participants