Skip to content

Conversation

@Carreau
Copy link
Member

@Carreau Carreau commented Oct 8, 2025

No description provided.

@Carreau Carreau changed the title Start testing on 3.14 and 3.14-free-threaded Drop 3.9, Start testing on 3.14 and 3.14-free-threaded Oct 9, 2025
@Carreau Carreau force-pushed the 314 branch 4 times, most recently from e57ecba to 338dd19 Compare October 13, 2025 13:08
@Carreau
Copy link
Member Author

Carreau commented Oct 15, 2025

I do not know how to handle or debug the remaining failures.

@minrk
Copy link
Member

minrk commented Oct 15, 2025

@Carreau want me to take this one over? I can have a stab at it.

@Carreau
Copy link
Member Author

Carreau commented Oct 15, 2025

Sure, and feel free to push on my branch. I'm debugging some issues on pytest-jupyter as well.

It might be due to the Event Loop policies deprecation warnings that are the source of the issue.

minrk added 2 commits October 15, 2025 10:02
not really for runtime, but needed for compatibility with recent pytest
minrk added 2 commits October 15, 2025 11:21
hatch gets in the way a lot more than it helps

- stop re-running failing tests
- show the test environment
@minrk
Copy link
Member

minrk commented Oct 15, 2025

There are definitely once again sockets and contexts being created and not closed in the tests, and we need to track those down.

@Carreau
Copy link
Member Author

Carreau commented Oct 15, 2025

should all those non-closed sockets and open/close pairs become context manager (in a perfect world).

@minrk
Copy link
Member

minrk commented Oct 15, 2025

should all those non-closed sockets and open/close pairs become context manager (in a perfect world).

Yes, KernelManager and KernelClient should both be context managers.

zmq sockets are already context managers and have been for some time

minrk added 4 commits October 15, 2025 13:03
don't override hatch

doesn't work on windows, let it do the wrong thing
startup sequence seems really slow now
@minrk minrk changed the title Drop 3.9, Start testing on 3.14 and 3.14-free-threaded Drop 3.9, Start testing on 3.14 and 3.14-free-threaded, get tests passing again Oct 16, 2025
@Carreau
Copy link
Member Author

Carreau commented Oct 16, 2025

Restarted MacOS test, failure was intermittent.

Copy link
Member Author

@Carreau Carreau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, a couple of questions, but good as is.

hatch run cov:test --cov-fail-under 75 || hatch run test:test --lf
- name: Run the tests on pypy
echo "PYTEST_ADDOPTS=${PYTEST_ADDOPTS:-} -W default" >> $GITHUB_ENV
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want this to be permanent ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is not a change, it simplifies the 3 different test invocations below by setting the options before using the same pytest invocation.

@minrk
Copy link
Member

minrk commented Oct 16, 2025

green again. One flaky test, still, but passed on re-run.

@Carreau Carreau merged commit bc5d2d5 into jupyter:main Oct 17, 2025
45 of 47 checks passed
@rgbkrk rgbkrk mentioned this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants