website: update Python and ubuntu minimum versions#188
Open
BobbyRBruce wants to merge 2 commits into
Open
Conversation
BobbyRBruce
commented
Jul 4, 2026
Member
- The new Python minimum is now 3.10.
- The building documents were still referencing old (EOL) Ubuntu versions. This was updated. The supported Ubuntu versions are 22.04 and 24.04.
There was a problem hiding this comment.
Pull request overview
Updates gem5 website documentation to reflect the new minimum supported Python version (3.10) and to align build-environment guidance with currently supported Ubuntu versions (22.04/24.04).
Changes:
- Update Learning gem5 Part 1 docs to reference Python 3.10 minimum.
- Update general “Building gem5” docs to state Python 3.10+ support and refresh Ubuntu/Docker guidance accordingly.
- Remove outdated Ubuntu 20.04 setup instructions from the general building guide.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
_pages/documentation/learning_gem5/part1/part1_3_more_complex_config.md |
Updates the documented minimum Python version for scripting guidance. |
_pages/documentation/learning_gem5/part1/part1_1_building.md |
Updates build prerequisites to require Python 3.10+ development headers. |
_pages/documentation/general_docs/building/index.md |
Updates supported Python version text and refreshes Ubuntu/Docker build environment guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
775
to
779
| instead of pyargparse since gem5's minimum Python version used to be | ||
| 2.5. The minimum Python version is now 3.6, so Python's argparse is a better | ||
| 2.5. The minimum Python version is now 3.10, so Python's argparse is a better | ||
| option when writing new scripts that don't need to interact with the | ||
| current gem5 scripts. To get started using :pyoptparse, you can consult | ||
| the online Python documentation. |
Comment on lines
+98
to
102
| The following older images are intended for older gem5 releases whose tags | ||
| match the image tags. | ||
|
|
||
| Ubuntu 22.04 with all optional dependencies: | ||
| [ghcr.io/gem5/ubuntu-22.04_all-dependencies:v23-0]( |
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.