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

Qtclient py3 #25

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

mdavidsaver
Copy link
Member

@mdavidsaver mdavidsaver commented Jul 3, 2021

A quick attempt to make the existing Qt client work with python 3.7. I haven't checked with 2.7, so this may include breaking changes.

Seems to work with converted NSLS2 database (circa 2015).

The main changes are that PyQt4 no longer exports QString, also that relative imports are now required in more cases. Also I dropped the code generated from .ui and .qrc and adjusted the Makefile to create these.

I also see some apparent assumptions of dictionary iteration order (eg. length = len(data.values()[0])) which seem likely to break as py3 dict hashing includes randomness.

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.

1 participant