Skip to content

Conversation

@siboehm
Copy link
Owner

@siboehm siboehm commented Oct 9, 2025

No description provided.

claude and others added 6 commits October 9, 2025 16:20
- Remove llvmlite upper bound (<0.42) to support recent versions
- Keep lower bound (>=0.36) to maintain compatibility
- This enables support for the latest llvmlite versions

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Require llvmlite >= 0.42 to access new pass manager API
- Replace deprecated PassManagerBuilder with PipelineTuningOptions and PassBuilder
- Update LLVM initialization to handle automatic initialization in newer versions
- Simplify code by removing backward compatibility with legacy pass manager

This enables support for the latest llvmlite versions (0.42+) while removing
the complexity of maintaining compatibility with older versions that used
the deprecated pass manager APIs.

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

Co-Authored-By: Claude <noreply@anthropic.com>
Convert private _get_target_machine to public get_target_machine to avoid
importing private functions. This improves API design and makes the code
less fragile to changes in the underlying library.

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Update minimum Python requirement from 3.9 to 3.10
- Replace Python 3.9 with 3.13 in CI matrix
- Update PyPI release to use Python 3.13 instead of 3.9
- Update pre-commit checks to use Python 3.13
- Add Python 3.13 classifier and test Python 3.12 in CI

This change is needed because unittests are failing on Python 3.9.
The llvmlite dependency already has appropriate lower pin (>=0.42).

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

Co-Authored-By: Claude <noreply@anthropic.com>
- Add strict=True to zip() calls where iterables should have equal lengths
- Add strict=False to zip() call with itertools.cycle() where lengths differ
- Replace Optional[list[list]] with list[list] | None for modern type annotation
- Remove unused typing import

These changes ensure compatibility with modern Python linting rules
and follow best practices for zip() usage with explicit length checking.

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

Co-Authored-By: Claude <noreply@anthropic.com>
@siboehm siboehm enabled auto-merge October 9, 2025 20:59
@siboehm siboehm merged commit 5e97760 into master Oct 9, 2025
5 checks passed
@siboehm siboehm deleted the claude/update-llvmlite-support-011CTwvoAm24Cc7LaqYmctAZ branch October 9, 2025 21:00
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.

3 participants