lowRISC / lowRISC/opentitan

[python] Python version

Open
#24,027 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type:Cleanup
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

Description

We implicitly define Python 3.8 as our supported Python version since this is what ships with Ubuntu 20.04 (what we use in CI).

We need to make our Python version explicit in our python requirements.

Python 3.8 is EOL soon (along with Ubuntu 20.04). When we move away from Ubuntu 20.04 we need to upgrade our Python too. We should probably go for Python 3.10 which comes with Ubuntu 22.04.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Python requirements and CI configuration that currently rely on Ubuntu 20.04's Python 3.8. Confirm how the supported version is implicitly selected, then make that version explicit and identify the version to use when moving to Ubuntu 22.04; done means the requirements and CI agree on the supported Python version.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, ci-cd
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.