Skip to content

Update Python version support to 3.9-3.12 - #117

Open
AmitoVrito wants to merge 1 commit into
logix-project:mainfrom
AmitoVrito:update-python-version
Open

AmitoVrito wants to merge 1 commit into
logix-project:mainfrom
AmitoVrito:update-python-version

Conversation

@AmitoVrito

Copy link
Copy Markdown

Summary

  • Bump python_requires in setup.py and CI workflows to drop end-of-life 3.6/3.7 support and allow 3.11/3.12
  • Pin numpy<2.0 and bump torch>=2.2.0 in requirements.txt to avoid a numpy 2.x ABI break with torch's numpy interop
  • Add lightning to test-requirements.txt to fix a missing test dependency for the lightning integration tests

Test plan

  • black --check . passes with no changes needed
  • python -m unittest -v passes 10/10 under Python 3.11 (verified in a clean venv)

Bump python_requires in setup.py and CI workflows to drop end-of-life
3.6/3.7 support and allow 3.11/3.12. Pin numpy<2.0 and bump torch>=2.2.0
in requirements.txt to avoid a numpy 2.x ABI break with torch's numpy
interop. Add lightning to test-requirements.txt to fix a missing test
dependency for the lightning integration tests.
@AmitoVrito

Copy link
Copy Markdown
Author

Fix Python 3.6/3.7 EOL support, numpy/torch ABI mismatch, and missing lightning test dependency.
Needed these fixes to get a clean test run of LogIX while benchmarking it against Traceprop for a research paper.

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.

1 participant