Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.13 to CI #3103

Merged
merged 42 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
bb74a5f
Add support for Python 3.13
JCGoran Dec 4, 2024
2a7c9cf
Missed one instance
JCGoran Dec 4, 2024
831b2bc
Consistent `neuron_wheel` tags
JCGoran Dec 4, 2024
387ee95
Rerun CI
JCGoran Dec 4, 2024
8d4f106
Merge remote-tracking branch 'origin/jelic/test_313' into jelic/test_313
JCGoran Dec 4, 2024
75b07cd
Upgrade Python orb in circle CI
JCGoran Dec 4, 2024
a5ffdfc
Try suggestion
JCGoran Dec 5, 2024
01320a7
Try in the right location
JCGoran Dec 5, 2024
9821eaf
Fix issue on Python 3.13.1
JCGoran Dec 6, 2024
714c81b
Missed one
JCGoran Dec 6, 2024
1e4bced
And another
JCGoran Dec 6, 2024
6f967c1
Fix rest of issues with iterables
JCGoran Dec 6, 2024
ff010a7
One more
JCGoran Dec 6, 2024
460e12b
More casting to list
JCGoran Dec 6, 2024
8262448
Another one
JCGoran Dec 6, 2024
0564d49
Another
JCGoran Dec 6, 2024
e474bbf
Python 3.13.1 failure for [s for s in sl] where sl is a SectionList.
nrnhines Dec 7, 2024
bf3cc7e
Update doc for h.SectionList()
nrnhines Dec 7, 2024
781a75c
Revert list changes
JCGoran Dec 8, 2024
bb33d12
Merge branch 'hines/seclist-iter' into jelic/test_313
JCGoran Dec 8, 2024
fb30bb5
Add workaround for `install_name_tool` issue
JCGoran Dec 8, 2024
4c9c9d7
Typo
JCGoran Dec 8, 2024
e700d85
Try single quotes
JCGoran Dec 9, 2024
25bb7ae
Merge branch 'jelic/test_313' into circleci/py313
JCGoran Dec 9, 2024
9e96b90
Update pyenv
JCGoran Dec 9, 2024
2c2da0c
I don't know anymore
JCGoran Dec 9, 2024
a4ff914
Do not copy dockerfile
JCGoran Dec 9, 2024
3d23437
Revert "Do not copy dockerfile"
JCGoran Dec 9, 2024
bcf17f2
yYYYYYY
JCGoran Dec 9, 2024
5c23c80
Test
JCGoran Dec 9, 2024
4158389
Try manually
JCGoran Dec 9, 2024
4200be8
Print version
JCGoran Dec 9, 2024
d01a188
Add back most of it
JCGoran Dec 9, 2024
b6bbe92
Fix image
JCGoran Dec 9, 2024
349372a
Missing venv
JCGoran Dec 9, 2024
660dd91
Merge branch 'master' into jelic/test_313
JCGoran Dec 9, 2024
2d4fb82
Bring back original
JCGoran Dec 9, 2024
64f4a32
Merge branch 'circleci/py313' into jelic/test_313
JCGoran Dec 9, 2024
6e959fb
Update image
JCGoran Dec 9, 2024
95074a2
Update Dockerfile
JCGoran Dec 10, 2024
d8cfdc4
Install lib
JCGoran Dec 10, 2024
0c8ea49
Explicitly install all deps
JCGoran Dec 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/hoctests/tests/test_thread_partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def assertpart(parts="default"):
if str(parts) == "default": # not round-robin but root order
roots = h.SectionList()
roots.allroots()
roots = [root for root in roots]
roots = [root for root in list(roots)]
JCGoran marked this conversation as resolved.
Show resolved Hide resolved
i = 0
for ith in range(pc.nthread()):
sl = pc.get_partition(ith)
Expand Down
2 changes: 1 addition & 1 deletion test/pytest_coreneuron/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def test_HocObject_no_deferred_unref():
for sec in h.allsec():
print(sec)
sl.append(sec=sec)
assert len([s for s in sl]) == 0
assert len([s for s in list(sl)]) == 0
JCGoran marked this conversation as resolved.
Show resolved Hide resolved


def test_deleted_sec():
Expand Down
2 changes: 1 addition & 1 deletion test/pytest_coreneuron/test_zptrlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_rvp(): # for coverage of ptrlist changes in nrniv/shape.cpp
assert rvp.right() == 30.0
sl = h.SectionList()
rvp.list(sl)
sz = sum([1 for _ in sl])
sz = sum([1 for _ in list(sl)])
JCGoran marked this conversation as resolved.
Show resolved Hide resolved
assert sz == 3


Expand Down
Loading