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

Add temporary pin for PySide6 version #1169

Merged
merged 9 commits into from
Nov 7, 2022
Merged

Add temporary pin for PySide6 version #1169

merged 9 commits into from
Nov 7, 2022

Conversation

mdickinson
Copy link
Member

This PR temporarily pins the PySide6 version in CI, to give us breathing space to adapt to the backwards-incompatible Enum-related changes introduced in PySide6 6.4.0.

@@ -214,11 +214,13 @@ def install(edm, runtime, toolkit, environment, editable, source):
elif toolkit == "pyside6":
if sys.platform == 'darwin':
commands.append(
"{edm} run -e {environment} -- pip install pyside6<6.2.2'"
"{edm} run -e {environment} -- pip install pyside6<6.2.2"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by fix to remove a spurious quote.

@mdickinson
Copy link
Member Author

@corranwebster I'm running into quoting issues on Windows. Any suggestions about how to fix?

@corranwebster
Copy link
Contributor

@corranwebster I'm running into quoting issues on Windows. Any suggestions about how to fix?

No. I ended up just skipping the EDM Windows/PySide6 combination in CI for the equivalent PR in TraitsUI.

I think it might be fixable by refactoring etstool to pass lists of strings that form a command, rather than a single string, but I didn't have time to do that.

In general the etstools need a bit of a refactor, particularly given the improvements in pip and other related tooling.

@mdickinson
Copy link
Member Author

Looks like I've finally found the right combination.

@mdickinson mdickinson merged commit 51d6dfa into main Nov 7, 2022
@mdickinson mdickinson deleted the pin-pyside6-version branch November 7, 2022 14:16
@corranwebster corranwebster added the needs backport to maint/* This issue needs to be backported to a maintenance branch label Nov 9, 2022
corranwebster pushed a commit that referenced this pull request Nov 11, 2022
Add temporary pin for PySide6 version
corranwebster pushed a commit that referenced this pull request Nov 14, 2022
Add temporary pin for PySide6 version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs backport to maint/* This issue needs to be backported to a maintenance branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants