Skip to content

Commit

Permalink
Drop support for Python below 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaberez committed Oct 13, 2023
1 parent 3ba2a08 commit 1a6dac1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [3.4, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10"]
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", 3.11, 3.12]

steps:
- uses: actions/checkout@v3
Expand All @@ -35,7 +35,7 @@ jobs:
run: python -V

- name: Install dependencies
run: pip install k0dasm
run: pip install setuptools k0dasm

- name: Run the tests
run: python setup.py test -q
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
1.1.0.dev0 (Next Release)
2.0.0.dev0 (Next Release)
-------------------------

Dropped support for Python 3.4 and 3.5.
k0emu now requires Python 3.6 or later.

1.0.0 (2020-02-15)
------------------
Expand Down
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import sys
from setuptools import setup, find_packages

if sys.version_info[:2] < (3, 4):
raise RuntimeError('k0emu requires Python 3.4 or later')
if sys.version_info[:2] < (3, 6):
raise RuntimeError('k0emu requires Python 3.6 or later')

DESC = "Renesas (NEC) 78K0 emulator"
here = os.path.abspath(os.path.dirname(__file__))
Expand All @@ -22,11 +22,13 @@
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Assembly',
'Topic :: Software Development :: Debuggers',
'Topic :: Software Development :: Embedded Systems',
Expand Down

0 comments on commit 1a6dac1

Please sign in to comment.