Skip to content

Commit

Permalink
Assemble using ASxxxx 5.50, drop support for Python under 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaberez committed Oct 13, 2023
1 parent fa673aa commit e96a6f9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ name: Run all tests

on: [push, pull_request]

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1

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 @@ -21,6 +24,9 @@ jobs:
- name: Show Python version
run: python -V

- name: Install dependencies
run: pip install setuptools

- name: Run the tests
run: python setup.py test -q

Expand All @@ -29,8 +35,8 @@ jobs:

- name: Install asxxxx
run: |
wget --no-verbose --content-disposition https://github.com/6502org/6502.org/blob/b4a4f243d9ae3ea78fc14a487bac650b5a3f7a12/public/tools/asm/asxv5p40_20220112.zip?raw=true
unzip -q asxv5p40_20220112.zip
wget --no-verbose --content-disposition https://github.com/6502org/6502.org/raw/74f5d0c0f9b73d5e353bde7b3b25ea7f43b527a1/public/tools/asm/asxs5p50.zip
unzip -q asxs5p50.zip
make -C asxv5pxx/asxmak/linux/build all
echo "$PWD/asxv5pxx/asxmak/linux/build" >> $GITHUB_PATH
Expand Down
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)
-------------------------

Support for Python 3.4 and 3.5 has been dropped.
k0dasm now requires Python 3.6 or later.

1.0.1 (2021-01-29)
------------------
Expand Down
4 changes: 2 additions & 2 deletions k0dasm/tests/end_to_end/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ clean:
testprog.bin:
as78k0 -l -o testprog.asm
aslink -i testprog
srec_cat testprog.ihx -intel -o testprog.bin -binary
srec_cat testprog.hex -intel -o testprog.bin -binary

reassembled.bin: testprog.bin
k0dasm testprog.bin > reassembled.asm
as78k0 -l -o reassembled.asm
aslink -i reassembled
srec_cat reassembled.ihx -intel -o reassembled.bin -binary
srec_cat reassembled.hex -intel -o reassembled.bin -binary
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('k0dasm requires Python 3.4 or later')
if sys.version_info[:2] < (3, 6):
raise RuntimeError('k0dasm requires Python 3.6 or later')

DESC = "Renesas (NEC) 78K0 disassembler"
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 :: Disassemblers',
'Topic :: Software Development :: Embedded Systems',
Expand Down

0 comments on commit e96a6f9

Please sign in to comment.