Skip to content

Conversation

larsoner
Copy link
Contributor

@larsoner larsoner commented Apr 8, 2025

I was going to open a PR to conda-forge to add Python 3.13 packages, but realized I should probably create a PR here for 3.13 support here. From a very quick search I didn't find an issue about it (#22801 was close I guess?), but I did find #20201. So this PR tries to take care of both by adding a CI job for PySide6 and Python 3.13. Then also updates setup.py, and tweaks the README to promote the newer PySide6.

@larsoner larsoner marked this pull request as draft April 8, 2025 20:49
@larsoner
Copy link
Contributor Author

larsoner commented Apr 8, 2025

There are segfaults that look like:

Current thread 0x00007f70d8fa5440 (most recent call first):
  File "/home/runner/work/spyder/spyder/spyder/plugins/preferences/tests/conftest.py", line 31 in <module>
  File "/home/runner/micromamba/envs/test/lib/python3.13/site-packages/_pytest/assertion/rewrite.py", line 186 in exec_module

which seems to have to do with

class MainWindowMock(QMainWindow):
register_shortcut = Mock()

Specifically if I remove the class attribute then it at least won't segfault, but then there are errors later. So I'm not sure what the correct fix is 🙁

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.

1 participant