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

Cut off BaseMode workspace_dir extra call #2084

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Conversation

xbecas
Copy link
Collaborator

@xbecas xbecas commented Feb 28, 2022

Simplification of mu/modes/base.py by moving the logic of the get_default_workspace() function into the BaseMode.workspace_dir() method, as it was just redirecting to the above mentioned function.

Note: first very simple PR on real code (not just translation files) to test the whole process!

PS: test test_ButtonBar_add_action fails, but was failing before the changes.

@xbecas
Copy link
Collaborator Author

xbecas commented Mar 2, 2022

Test test_ButtonBar_add_action failure could be related to SetupTools version, according to #2091.

@xbecas
Copy link
Collaborator Author

xbecas commented Mar 11, 2022

Test test_ButtonBar_add_action failure could be related to SetupTools version, according to #2091.

Fixed by downgrading setuptools from 60.9.3 to 56.0.0, using pip install setuptools==56.0.0. Now all tests, passed!

Copy link
Member

@carlosperate carlosperate left a comment

Choose a reason for hiding this comment

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

The CI failure is only due to an issue with the very old Pi OS stretch configuration, so it can be ignored.

Code LGTM and manually tested locally as well 👍

Thanks @xbecas!

@carlosperate carlosperate merged commit 11f8d6e into mu-editor:master Dec 8, 2023
30 of 31 checks passed
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