Skip to content

Conversation

@SkalskiP
Copy link
Collaborator

Description:

Summary

  • Migrate from legacy setup.cfg/setup.py to modern PEP 621 compliant pyproject.toml
  • Upgrade to NumPy 2.0+ and Python 3.10+
  • Add support for installation via uv

Changes

Packaging Modernization

  • Replace setup.cfg, setup.py, requirements.txt, and minimum_requirements.txt with a single pyproject.toml
  • Organize dependencies into optional groups: plot, segmentation, jf, burst, dev, all
  • Rename Readme.md to README.md
  • Update installation instructions for uv and pip

NumPy 2.0 Migration

  • Replace deprecated type aliases removed in NumPy 2.0:
    • np.floatnp.float64
    • np.intnp.intp
    • np.boolnp.bool_
  • Update dependencies: numpy>=2.0.0, scipy>=1.14.0
  • Update dev dependencies: pytest>=7.0.0, tqdm>=4.64.0
  • Require Python 3.10+ (NumPy 2.0 minimum)

Other

  • Update .gitignore to exclude .venv/ and *.egg-info/

- Replace setup.cfg/setup.py with PEP 621 compliant pyproject.toml
- Organize dependencies into optional groups (plot, segmentation, jf, burst, dev, all)
- Update installation instructions in README
- Rename Readme.md to README.md
- Remove legacy requirements.txt and minimum_requirements.txt
- Replace deprecated numpy type aliases (np.float -> np.float64,
  np.int -> np.intp, np.bool -> np.bool_)
- Update dependencies: numpy>=2.0.0, scipy>=1.14.0
- Update dev dependencies: pytest>=7.0.0, tqdm>=4.64.0
- Require Python 3.10+ (numpy 2.0 requirement)
- Update .gitignore to exclude .venv and .egg-info
Extract first element from seqmap_file when it's returned as a list.
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