rustworkx icon indicating copy to clipboard operation
rustworkx copied to clipboard

Remove Python 3.9 support and the legacy `retworkx` import

Open IvanIsCoding opened this issue 3 months ago • 5 comments

In short, this PR:

  • Moves the build from 3.9 ABI to 3.10 ABI
  • Removes Python 3.9 from GitHub actions
  • Bumps Python in CI: 3.10->3.12 to avoid having to do bumps when 3.10 reaches EoL
  • Removes the legacy retworkx shim
  • Run tests with the Python 3.14 RC. I will add a release note for 3.14 once it's formally released and we are closer to the 0.18.0 release

IvanIsCoding avatar Sep 21 '25 20:09 IvanIsCoding

Pull Request Test Coverage Report for Build 20198720182

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.179%

Totals Coverage Status
Change from base Build 20198671032: 0.0%
Covered Lines: 18284
Relevant Lines: 19414

💛 - Coveralls

coveralls avatar Sep 21 '25 21:09 coveralls

I bumped ruff to lint for Python 3.10 and it found some fixes that are only available for 3.10+.

IvanIsCoding avatar Sep 21 '25 22:09 IvanIsCoding

I will address the comments on Saturday. I plan to add 3.14 support on a separate PR.

It will need some minor change for the MyPy stub tests. Right now, we are using a version that is pinned and might not support 3.14. At least I am confident there are no pre-compiled binaries for it (although MyPy ships a Python-only version)

IvanIsCoding avatar Oct 24 '25 15:10 IvanIsCoding

Also, I just remembered we need to bump cibuildwheel’s version to support testing with 3.14. So after we merge this (it’s ready), I will kick off the 3.14 support PR separately and its test builds

IvanIsCoding avatar Oct 26 '25 23:10 IvanIsCoding

NetworkX's update broke CI, let me send a PR fixing it

IvanIsCoding avatar Dec 01 '25 01:12 IvanIsCoding