Skip to content

Commit cdb170f

Browse files
committed
Merge remote-tracking branch 'upstream/main' into mhfu
2 parents 174f49e + db11c62 commit cdb170f

File tree

616 files changed

+37159
-10280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

616 files changed

+37159
-10280
lines changed

Diff for: .gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
worlds/blasphemous/region_data.py linguist-generated=true
2+
worlds/yachtdice/YachtWeights.py linguist-generated=true

Diff for: .github/pyright-config.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
{
22
"include": [
3-
"type_check.py",
3+
"../BizHawkClient.py",
4+
"../Patch.py",
5+
"../test/general/test_groups.py",
6+
"../test/general/test_helpers.py",
7+
"../test/general/test_memory.py",
8+
"../test/general/test_names.py",
9+
"../test/multiworld/__init__.py",
10+
"../test/multiworld/test_multiworlds.py",
11+
"../test/netutils/__init__.py",
12+
"../test/programs/__init__.py",
13+
"../test/programs/test_multi_server.py",
14+
"../test/utils/__init__.py",
15+
"../test/webhost/test_descriptions.py",
416
"../worlds/AutoSNIClient.py",
5-
"../Patch.py"
17+
"type_check.py"
618
],
719

820
"exclude": [
@@ -16,7 +28,7 @@
1628
"reportMissingImports": true,
1729
"reportMissingTypeStubs": true,
1830

19-
"pythonVersion": "3.8",
31+
"pythonVersion": "3.10",
2032
"pythonPlatform": "Windows",
2133

2234
"executionEnvironments": [

Diff for: .github/workflows/analyze-modified-files.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- uses: actions/setup-python@v5
5454
if: env.diff != ''
5555
with:
56-
python-version: 3.8
56+
python-version: '3.10'
5757

5858
- name: "Install dependencies"
5959
if: env.diff != ''

Diff for: .github/workflows/build.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ env:
2424
jobs:
2525
# build-release-macos: # LF volunteer
2626

27-
build-win-py38: # RCs will still be built and signed by hand
27+
build-win: # RCs will still be built and signed by hand
2828
runs-on: windows-latest
2929
steps:
3030
- uses: actions/checkout@v4
3131
- name: Install python
3232
uses: actions/setup-python@v5
3333
with:
34-
python-version: '3.8'
34+
python-version: '~3.12.7'
35+
check-latest: true
3536
- name: Download run-time dependencies
3637
run: |
3738
Invoke-WebRequest -Uri https://github.com/Ijwu/Enemizer/releases/download/${Env:ENEMIZER_VERSION}/win-x64.zip -OutFile enemizer.zip
@@ -111,10 +112,11 @@ jobs:
111112
- name: Get a recent python
112113
uses: actions/setup-python@v5
113114
with:
114-
python-version: '3.11'
115+
python-version: '~3.12.7'
116+
check-latest: true
115117
- name: Install build-time dependencies
116118
run: |
117-
echo "PYTHON=python3.11" >> $GITHUB_ENV
119+
echo "PYTHON=python3.12" >> $GITHUB_ENV
118120
wget -nv https://github.com/AppImage/AppImageKit/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
119121
chmod a+rx appimagetool-x86_64.AppImage
120122
./appimagetool-x86_64.AppImage --appimage-extract

Diff for: .github/workflows/codeql-analysis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747

4848
# Initializes the CodeQL tools for scanning.
4949
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@v2
50+
uses: github/codeql-action/init@v3
5151
with:
5252
languages: ${{ matrix.language }}
5353
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -58,7 +58,7 @@ jobs:
5858
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5959
# If this step fails, then you should remove it and run the build manually (see below)
6060
- name: Autobuild
61-
uses: github/codeql-action/autobuild@v2
61+
uses: github/codeql-action/autobuild@v3
6262

6363
# ℹ️ Command-line programs to run using the OS shell.
6464
# 📚 https://git.io/JvXDl
@@ -72,4 +72,4 @@ jobs:
7272
# make release
7373

7474
- name: Perform CodeQL Analysis
75-
uses: github/codeql-action/analyze@v2
75+
uses: github/codeql-action/analyze@v3

Diff for: .github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ jobs:
4444
- name: Get a recent python
4545
uses: actions/setup-python@v5
4646
with:
47-
python-version: '3.11'
47+
python-version: '~3.12.7'
48+
check-latest: true
4849
- name: Install build-time dependencies
4950
run: |
50-
echo "PYTHON=python3.11" >> $GITHUB_ENV
51+
echo "PYTHON=python3.12" >> $GITHUB_ENV
5152
wget -nv https://github.com/AppImage/AppImageKit/releases/download/$APPIMAGETOOL_VERSION/appimagetool-x86_64.AppImage
5253
chmod a+rx appimagetool-x86_64.AppImage
5354
./appimagetool-x86_64.AppImage --appimage-extract

Diff for: .github/workflows/scan-build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
run: |
4141
wget https://apt.llvm.org/llvm.sh
4242
chmod +x ./llvm.sh
43-
sudo ./llvm.sh 17
43+
sudo ./llvm.sh 19
4444
- name: Install scan-build command
4545
run: |
46-
sudo apt install clang-tools-17
46+
sudo apt install clang-tools-19
4747
- name: Get a recent python
4848
uses: actions/setup-python@v5
4949
with:
@@ -56,7 +56,7 @@ jobs:
5656
- name: scan-build
5757
run: |
5858
source venv/bin/activate
59-
scan-build-17 --status-bugs -o scan-build-reports -disable-checker deadcode.DeadStores python setup.py build -y
59+
scan-build-19 --status-bugs -o scan-build-reports -disable-checker deadcode.DeadStores python setup.py build -y
6060
- name: Store report
6161
if: failure()
6262
uses: actions/upload-artifact@v4

Diff for: .github/workflows/strict-type-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: "Install dependencies"
2828
run: |
29-
python -m pip install --upgrade pip pyright==1.1.358
29+
python -m pip install --upgrade pip pyright==1.1.392.post0
3030
python ModuleUpdate.py --append "WebHostLib/requirements.txt" --force --yes
3131
3232
- name: "pyright: strict check on specific files"

Diff for: .github/workflows/unittests.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@ jobs:
3333
matrix:
3434
os: [ubuntu-latest]
3535
python:
36-
- {version: '3.8'}
37-
- {version: '3.9'}
3836
- {version: '3.10'}
3937
- {version: '3.11'}
4038
- {version: '3.12'}
4139
include:
42-
- python: {version: '3.8'} # win7 compat
40+
- python: {version: '3.10'} # old compat
4341
os: windows-latest
4442
- python: {version: '3.12'} # current
4543
os: windows-latest
@@ -89,4 +87,4 @@ jobs:
8987
run: |
9088
source venv/bin/activate
9189
export PYTHONPATH=$(pwd)
92-
python test/hosting/__main__.py
90+
timeout 600 python test/hosting/__main__.py

0 commit comments

Comments
 (0)