Skip to content

Package configuration and remove numpy<2 constraint#79

Merged
momchil-flex merged 3 commits intofancompute:masterfrom
benvial:master
Mar 26, 2026
Merged

Package configuration and remove numpy<2 constraint#79
momchil-flex merged 3 commits intofancompute:masterfrom
benvial:master

Conversation

@benvial
Copy link
Copy Markdown
Contributor

@benvial benvial commented Mar 25, 2026

  • Migrate from setup.py to pyproject.toml for modern Python packaging
  • Remove the numpy<2 upper bound constraint, allowing NumPy 2.0+ compatibility
  • Update test infrastructure (Python 3.10, pytest)
  • Fix minor code issues in legume/utils.py
Unpin numpy max version to allow for numpy>2. Added wrapper in fsolve to return a scalar.
Replace legacy setup.py and requirements.txt files with modern pyproject.toml configuration. Update CI and documentation configs to use the new package structure with extras for test, autodiff, and docs dependencies. - Remove setup.py, requirements.txt, and docs/requirements.txt - Add pyproject.toml with project metadata and dependencies - Update .travis.yml to use pip install with extras and pytest - Update .readthedocs.yaml to use pip method with extra_requirements - Bump Python version from 3.7 to 3.10 in CI
Copy link
Copy Markdown
Collaborator

@momchil-flex momchil-flex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I just have one small comment and we can get this in, it seems to work for me!

@momchil-flex momchil-flex merged commit 14b7b7e into fancompute:master Mar 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants