[WIP] Backport 8.2: Python 3.13 support#3319
Conversation
0c2b646 to
4636714
Compare
| 39) numpy_ver="numpy>=2" ;; | ||
| 310) numpy_ver="numpy>=2" ;; | ||
| 311) numpy_ver="numpy>=2" ;; | ||
| 312) numpy_ver="numpy>=2" ;; | ||
| 313) numpy_ver="numpy>=2" ;; |
There was a problem hiding this comment.
This is because numpy 2 is backwards compatible, but numpy 1 is not forwards compatible, so building a wheel with numpy 1.x and testing it with 2.x will fail, but the other way around works.
|
It looks like you're in some sense resurrecting my failed attempt (subsequently reverted) in #3317 to adopt master methods for ci into release/8.2. I'm speculating that my further attempts to manually and minimally just increase the list of pythons in release/8.2 is making good progress even though ci currently rests at 33 failing and 6 successful checks. |
Init submodules before running cmake
edeacd4 to
6e9d626
Compare
|
|
✔️ 8ad39c1 -> Azure artifacts URL |
At starting point, jelic/8.2-py313 #3319 had only two CI failures. Almost the entirety of this PR is to get 8.2 to pass CI. In addition it supports Python3.13. Bug fixes adopted from the master are #3239 Launching nrniv -python with Python 3.13.0 does not allow use of gui. #3259 On h.quit() terminal settings are same as when neuron.hoc was imported. #3243 save stdin terminal settings on import hoc and restore on h.quit() #3276 Python 3.13.1 broke [s for s in sl] where sl is a SectionList. Manual partial cherry-pick. Other PR attempts at fixing CI failures that can be closed when this PR is merged, are #3329 #3325 #3319 #3317 Many of the CI fixes are backports from #3028 #3040 #3303 #3105 #3278 bldnrnmacpkgcmake.sh was updated. It isolates a change (avoid breaking CI) with -DNRN_MAC_PKG=ON --------- Co-authored-by: Goran Jelic-Cizmek <goran.jelic-cizmek@epfl.ch>
|
Closing in favor of #3352 |



Uses #3317 as baseline. Also backported #3028, #3040, and part of #1969.