Update dependencies; use Python 3.11#13
Merged
Merged
Conversation
This uses Python 3.11 (rather than 3.10 as previously). The specific Python version that Pyodide 0.23.0 uses is 3.11.2. Since this is a move from Python 3.10 to Python 3.11 for this project, I'm going ahead and bumping the project version from alpha 4+ to alpha 5 as well.
Since Pyodide is 3.11 now.
CodeQL currently defaults to Python 3.10, including in the basic configuration (which doesn't use/require a workflow file in the repository). I was using that before, but it doesn't successfully install the dependencies now, probably because of the switch from Python 3.10 to Python 3.11 that his project has just underwent. This uses an advanced configuration instead, with an added step to run the setup-python action, specifying version 3.11.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This updates dependencies, including Pyodide. The new version of Pyodide uses Python 3.11.2, so I also migrated from 3.10 to 3.11 in the non-web (pipenv) manifest. I tested it all out and it seems to work fine.
This bumps the project version to alpha 4, and updates the documentation to reflect that and the changed dependency versions.
Also, since CodeQL doesn't automatically use Python 3.11, I switched from a basic to advanced configuration for it and added a step to set up Python 3.11. It finds and uses that interpreter, so it can install dependencies.