Skip to content

workaround Python 3.11.4 flag inversion issue#2760

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:workaround-enum-invert
Jun 27, 2023
Merged

workaround Python 3.11.4 flag inversion issue#2760
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:workaround-enum-invert

Conversation

@pijyoi
Copy link
Copy Markdown
Contributor

@pijyoi pijyoi commented Jun 27, 2023

CI is failing for Python 3.11.4 and PyQt6 due to python/cpython#105497 and the next Python release is only expected to be in August (https://peps.python.org/pep-0664/#bugfix-releases).
Since there's only one place in pyqtgraph that triggers this bug, we can workaround it by using xor to toggle away the unwanted flag (even if it's only to make the CI go all green)

@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Jun 27, 2023

Thanks @pijyoi

You make me feel lazy, here I was perfectly content waiting almost 2 months for the next python release before getting an all green CI.

@j9ac9k j9ac9k merged commit 9b6408e into pyqtgraph:master Jun 27, 2023
@pijyoi pijyoi deleted the workaround-enum-invert branch June 27, 2023 23:09
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.

2 participants