Skip to content

Modernize Python codebase for 2025+#16

Merged
MattShannon merged 2 commits intomasterfrom
claude/modernize-python-codebase-ur34X
Mar 15, 2026
Merged

Modernize Python codebase for 2025+#16
MattShannon merged 2 commits intomasterfrom
claude/modernize-python-codebase-ur34X

Conversation

@MattShannon
Copy link
Copy Markdown
Owner

@MattShannon MattShannon commented Mar 15, 2026

Summary

  • Add pyproject.toml declaring build-system dependencies (from PR Add pyproject.toml for Numpy and Cython build dependencies #13 by @altendky)
  • Replace Travis CI and AppVeyor with GitHub Actions (Linux + Windows, Python 3.9–3.13)
  • Fix NumPy 2.x and Python 3.12+ compatibility: cnp.intp_t for index arrays, assertRaisesRegex, assume_a='pos'
  • Bump minimum deps to numpy>=1.26.0, scipy>=1.12.0
  • Simplify build: remove dev file dual-mode mechanism (Cython now always available via pyproject.toml)
  • Update README: modernize installation/development instructions, remove darcs references
  • Remove boring.darcs and old CI configs

@MattShannon MattShannon changed the title Modernize CI/CD and update NumPy compatibility for 64-bit indexing Modernize Python codebase for 2025+ Mar 15, 2026
- Replace Travis CI and AppVeyor with GitHub Actions (Linux + Windows,
  Python 3.9-3.13)
- Fix NumPy 2.x compatibility: use cnp.intp_t for index arrays in
  misc.pyx, explicit dtype=np.intp in tests
- Fix Python 3.12+: assertRaisesRegexp -> assertRaisesRegex
- Fix modern scipy: sym_pos=True -> assume_a='pos'
- Bump minimum deps to numpy>=1.26.0, scipy>=1.12.0
- Simplify build: remove dev file dual-mode mechanism, always use
  Cython (now guaranteed available via pyproject.toml)
- Update README: modernize install/dev instructions, remove darcs
  references, update CI badge
- Remove boring.darcs and old CI configs

https://claude.ai/code/session_017xmjvL47SYtX11EZjQ2uSJ
@MattShannon MattShannon force-pushed the claude/modernize-python-codebase-ur34X branch from bf60c7d to 9de6b08 Compare March 15, 2026 06:45
@MattShannon MattShannon merged commit 49ea164 into master Mar 15, 2026
10 checks passed
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