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

qtpy 2.4.1 -- QT_API, QT_API_NAME and QTPY_VERSION getting set to <NOT-FOUND>, due to missing module qtpy._version #9

Open
ssteinerx opened this issue Aug 21, 2024 · 1 comment

Comments

@ssteinerx
Copy link

I'm using qtpy version 2.4.1 with objbrowser PROGRAM_VERSION = 1.3.1 according to version.py.

The check on line 14->23 in objbrowser/version.py is failing when it tries to:

import qtpy, qtpy._version

It appears that qtpy._version is gone. The 2.4.1 version string is now in qtpy.__version__.

I didn't find where qtpy._version.version_info went but it's coming up fast on line 23.

@ssteinerx
Copy link
Author

The app crashes either way trying to build the file_menu in _setup_menu with:

File ".../.venv/lib/python3.13/site-packages/objbrowser/objectbrowser.py", line 202, in _setup_menu
    file_menu.addAction("C&lose", self.close, "Ctrl+W")
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: arguments did not match any overloaded call:

Clearly this is not a "matched set" -- an indication of which thing is out of whack would be extremely helpful. I'm not sure whether continuing with "" can ever work, but if not, that'd be a better place to stop, I think.

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

No branches or pull requests

1 participant