Skip to content

Conversation

@jameskermode
Copy link
Member

Summary

  • Add VERSION file and dynamic versioning in pyproject.toml (meson-python reads version from meson.build)
  • Update meson.build to version 0.10.0 with CI override from git tags
  • Add workflow step to update version from git tag before wheel build
  • Update f90wrap dependency to >=0.3.0 throughout (now released on PyPI)
  • Fix CIBW_BUILD_VERBOSITY warning (level 3 not supported by "build" frontend, changed to 1)
  • Remove legacy prepare-wheel-build.sh and openblas_support.py scripts (not used by current workflow)

How version override works

When building from a tagged release (e.g., v0.10.1):

  1. Workflow extracts version from tag (removes v prefix)
  2. Updates quippy/VERSION file
  3. Updates version in quippy/meson.build via sed
  4. cibuildwheel builds wheel with correct version

For non-tagged builds, uses the default version (0.10.0) in meson.build.

Test plan

  • CI builds pass on all platforms
  • Tag a test release to verify version override works
  • Verify wheel has correct version metadata

🤖 Generated with Claude Code

jameskermode and others added 2 commits December 22, 2025 09:18
- Add VERSION file and dynamic versioning in pyproject.toml
- Update meson.build to version 0.10.0 with CI override from git tags
- Add workflow step to update version from git tag before wheel build
- Update f90wrap dependency to >=0.3.0 throughout (now released on PyPI)
- Fix CIBW_BUILD_VERBOSITY warning (3 not supported, use 1)
- Remove legacy prepare-wheel-build.sh and openblas_support.py scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
These jobs are failing after the meson migration and need investigation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jameskermode jameskermode force-pushed the fix-pypi-version-override branch from b4cd522 to 907a68a Compare December 22, 2025 09:19
@jameskermode jameskermode merged commit e09d3eb into public Dec 22, 2025
13 checks passed
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