-
Notifications
You must be signed in to change notification settings - Fork 182
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 support for Python 3.12 #2119
Conversation
Seems this needs marcelotduarte/cx_Freeze#2153 |
I'm not sure I want to vote for |
Yea, we better to wait for official pypi releases. |
https://pypi.org/project/cx-Freeze/ 7.0.0 is out now. |
c4d8417
to
b47bee4
Compare
Precise warning was: > lib/pychess/widgets/BoardControl.py:257:29: E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`
Precice warning was: > lib/pychess/widgets/gamenanny.py:160:17: F811 redefinition of unused 'callback' from line 152
@gbtami finally green CI, please merge without squashing if happy with the changes, semantic commit cuts really matter here. Thanks! |
@gbtami thanks for the merge! Should we release 1.0.5 off |
Haha, I never noticed this private/public thing is exists at all. Possible this is the case for the other members as well idk :) |
@gbtami okay, I changed mine back to public now too. For 1.0.5, what we need more: a simple Git tag (if we want to match 1.0.4), a GitHub release page, with binaries from the CI added. I think you did all of that for 1.0.4 but I could mis-remember. How should we continue? |
Also after my latest commit some github action were not successful :( |
@gbtami I'm I cannot offer help with that beyond Googling for it.
@gbtami the Ubuntu mirror of Microsoft had issues of temporary nature apparent. I re-ran CI just now and your latest commit 67d048f is all green now. |
I tested the msi installer from build artifacts of this ci run from commit e8e9c54 |
@masoudd @gbtami after a look at https://github.com/python/cpython/blame/main/Lib/asyncio/windows_events.py my impression is that the CPython 3.11 in use there is incomplete (and hence broken). Or it fails to find the file in the right place? Is that something that cx_Freeze would influence? |
I think that is something wrong with cx_Freeze, I did some digging and came up with this: So line 317: I built an msi file on my local msys install and installed it. Now running pychess gives this error: Which suggests something is wrong with either pygobject or cx_Freeze. I can run pychess from a copy of the master branch checked out in my msys install, so I think that would rule out pygobject. |
I opened marcelotduarte/cx_Freeze#2356 |
@gbtami that's great, thank you! And we have a fix from upstream and in MSYS already. Does the build at https://github.com/pychess/pychess/actions/runs/8837443869 happen to already have that fix and work? |
Seems the fixed package is not available yet. |
@gbtami I see! Let's check again in a few hours maybe. |
I got this link to check :) https://packages.msys2.org/queue |
@gbtami nice! It's past the queue now if I read the page right. I triggered a rebuild to latest |
@gbtami you won't like it, I'm afraid:
|
I don't fully understand cx_Freeze but this pull request seems to be the fix: marcelotduarte/cx_Freeze#2363 Edit: I used the change in the above pull request and it builds the msi file. But installing it and running pychess gives the error I posted above: |
@gbtami @masoudd the Windows CI is green again just now, could you try the artifact from the re-build at https://github.com/pychess/pychess/actions/runs/8855111639 ? |
It produces the same AssertionError masoudd pasted above :( |
@gbtami okay 😞 |
@gbtami should we tag and release 1.0.5 to https://github.com/pychess/pychess/releases without Windows binaries OR wait for working Windows binaries and then tag and release 1.0.5? |
Yes, we can tag and release without github CI .msi I think. (Edit: done) |
@gbtami thanks for the tag and release! One key file seems missing still: |
@gbtami PS: I noticed when trying to bump the package in Gentoo. |
@gbtami PPS: it's generated as |
Thx. Added. |
@gbtami PS: gentoo/gentoo@2068e50 just put PyChess 1.0.5 into Gentoo |
No description provided.