Skip to content

Commit

Permalink
Bump required Python version to 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
AngheloAlf committed Oct 12, 2024
1 parent 067b1ae commit e98ef74
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 14 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup venv
run: |
python3 -m venv .venv
. .venv/bin/activate
- name: Install build module
run: pip install -U build
run: python3 -m pip install -U build

- name: Build wheel and source
run: python -m build --sdist --wheel --outdir dist/ .
Expand Down
29 changes: 17 additions & 12 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,23 @@ jobs:
runs-on: ubuntu-latest
name: mypy
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'

- name: Install Dependencies
run: |
pip install -r requirements.txt
pip install mypy -U
- name: Setup venv
run: |
python3 -m venv .venv
. .venv/bin/activate
- name: mypy
run: mypy --show-column-numbers --hide-error-context .
- name: Install Dependencies
run: |
python3 -m pip install -U -r requirements.txt
python3 -m pip install -U mypy
- name: mypy
run: mypy --show-column-numbers --hide-error-context .
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
if it is `$gp` relative.
- Prevent section split suggestions if the selected compiler doesn't follow the
0x10 boundary rule.
- Python 3.9 or later is now required.
- Nothing really changed. Just the CI tools I was using is refusing to use any
Python version older than this. Sorry if you were affected by this.

## [1.30.2] - 2024-09-19

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version = "1.30.3-dev0"
description = "MIPS disassembler"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.7"
requires-python = ">=3.9"
authors = [
{ name="Anghelo Carvajal", email="[email protected]" },
]
Expand Down

0 comments on commit e98ef74

Please sign in to comment.