Skip to content

website: update Python and ubuntu minimum versions#188

Open
BobbyRBruce wants to merge 2 commits into
gem5:stablefrom
BobbyRBruce:python-and-ubuntu-ver-changes
Open

website: update Python and ubuntu minimum versions#188
BobbyRBruce wants to merge 2 commits into
gem5:stablefrom
BobbyRBruce:python-and-ubuntu-ver-changes

Conversation

@BobbyRBruce

Copy link
Copy Markdown
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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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](
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