-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bump default Python version to v3.9 #559
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Avoid runtime error by raising a file not found exception - Fix typo in swarm plot doc
Warn if unable to set up the style.
The `seaborn[-x]` format styles were removed in Matplotlib 3.8 (see https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.8.0.html#removal-of-deprecated-apis), leading to an error when attempting to set this style in the main GUI. Simply use the default style instead since appears to work well for the Atlas and ROI Editors.
In Matplotlib 3.8, setting up a linear segmented colormap with colors given as a tuple gives an error that the color is not valid, eg `ValueError: 'k' is not a valid color value.` Fix by change the tuple to a list.
Prep for updating the default configuration to Python 3.9 by adding an environment specific to Python 3.8.
Update to Python 3.9 now that NumPy and many related packages have dropped support for Python 3.8 (see https://numpy.org/neps/nep-0029-deprecation_policy.html).
yoda-vid
added
bug
Something isn't working
dependencies
Issues/requests related to a dependency package
labels
Sep 21, 2023
yoda-vid
added a commit
that referenced
this pull request
Sep 25, 2023
This was referenced Sep 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #557, #558.
Update the default Python version to v3.9 now that NumPy and many related packages have dropped support for Python 3.8 (see https://numpy.org/neps/nep-0029-deprecation_policy.html). This testing revealed a number of issues related to Matplotlib v3.8 now that it can be installed with this version of Python, fixed in this PR.