Skip to content

Conversation

@AbirAbbas
Copy link
Contributor

Summary

Fixes the regression from PR #58 where example requirements were being updated to prerelease versions.

Even though prereleases are now published to PyPI (not TestPyPI), pip install still excludes them by default per PEP 440. Users running pip install -r requirements.txt would fail without the --pre flag.

Changes

  • Restore the prerelease check in bump_version.py to skip example requirements
  • Revert example requirements back to >=0.1.19 (last stable version)

Root cause

In PR #58, I incorrectly removed the prerelease skip thinking that since we publish to regular PyPI, users could install prereleases. But pip's default behavior excludes prereleases regardless of which registry they're on.

Test plan

  • Merge and verify next staging release doesn't update example requirements
  • Verify pip install -r requirements.txt works in example directories

🤖 Generated with Claude Code

Restore the check to skip updating example requirements for prerelease
versions. Even though prereleases are now published to PyPI, pip install
excludes them by default per PEP 440. Users running `pip install -r
requirements.txt` would fail without the `--pre` flag.

Examples should always pin to stable versions so they work out of the box.

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

Co-Authored-By: Claude <noreply@anthropic.com>
@AbirAbbas AbirAbbas merged commit 1b7d9b8 into main Dec 4, 2025
7 checks passed
@AbirAbbas AbirAbbas deleted the fix/skip-example-requirements-for-prereleases branch December 4, 2025 19:47
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