Skip to content

Commit

Permalink
Add support for Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
skoolkid committed Nov 11, 2022
1 parent 6cb9963 commit 607a0e5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/slow-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '3.11'

- name: Install nose2
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ usage:
@echo " clean clean the documentation and man pages"
@echo " hh build the Hungry Horace disassembly"
@echo " test[-all] run core/all tests with default Python 3 interpreter"
@echo " test3X[-all] run core/all tests with Python 3.X (7<=X<=10)"
@echo " test3X[-all] run core/all tests with Python 3.X (7<=X<=11)"
@echo " test-cover run core tests with coverage info"
@echo " test-slow run slow tests with default Python 3 interpreter"
@echo " release build a SkoolKit release tarball and zip archive"
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Software Development :: Disassemblers
Topic :: Utilities

Expand Down
2 changes: 1 addition & 1 deletion tools/disassembly.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ usage:
@echo " html build the HTML disassembly"
@echo " asm build the ASM disassembly"
@echo " test run tests with default Python 3 interpreter"
@echo " test3X run tests with Python 3.X (7<=X<=10)"
@echo " test3X run tests with Python 3.X (7<=X<=11)"
@$(MAKE) -s _targets
@echo ""
@echo "Variables:"
Expand Down
2 changes: 1 addition & 1 deletion tools/drelease-functions
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ test_disassembly() {
cp -p $SKOOLKIT_HOME/tests/disassemblytest.py tests
mkdir tools
cp -p $SKOOLKIT_TOOLS/{disassembly.mk,testwriter.py} tools
for v in 37 38 39 310; do
for v in 37 38 39 310 311; do
_exec "Running $GAMENAME disassembly tests (SkoolKit $SKOOLKIT_VERSION, Python ${v:0:1}.${v:1})" "SKOOLKIT_HOME=$(pwd) make -C $DHOME test$v" $logdir/test$v.log
done
}
Expand Down
2 changes: 1 addition & 1 deletion tools/skrelease
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ test_disassemblies() {
btslog=$BACKTOSKOOL_HOME/build/tests.log
mkdir -p $CONTACTSAMCRUISE_HOME/build
csclog=$CONTACTSAMCRUISE_HOME/build/tests.log
targets="test37 test38 test39 test310"
targets="test37 test38 test39 test310 test311"

make -C $HUNGRYHORACE_HOME $targets &> $hhlog & PIDhh=$!
make -C $MANICMINER_HOME $targets &> $mmlog & PIDmm=$!
Expand Down

0 comments on commit 607a0e5

Please sign in to comment.