diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index d11087160..d81cf9fbb 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -62,7 +62,7 @@ jobs: uses: ./.github/workflows/release.yml with: workflow: ${{ github.workflow }} - tool_version: '1.1.1' + tool_version: '1.4.1' prepare_body: | bsdtar -Oxf ./build-musl/build-musl.tar.gz build-musl.md >> body.md bsdtar -Oxf ./build-gnu/build-gnu.tar.gz build-gnu.md >> body.md diff --git a/README.md b/README.md index a0cdf1426..45b1017a5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/python-3.11.3/total?label=⭳%20python-3.11.3)](https://github.com/hemnstill/StandaloneTools/releases/tag/python-3.11.3) | [![GitHub Repo stars](https://img.shields.io/github/stars/indygreg/python-build-standalone?style=social&label=python-build-standalone)](https://github.com/indygreg/python-build-standalone) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/indygreg/python-build-standalone)](https://python-build-standalone.readthedocs.io/en/latest/)
[![GitHub Repo stars](https://img.shields.io/github/stars/python/cpython?style=social&label=python)](https://github.com/python/cpython) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python/cpython)](https://docs.python.org/3/) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/poetry-1.5.1/total?label=⭳%20poetry-1.5.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/poetry-1.5.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/python-poetry/poetry?style=social&label=poetry)](https://github.com/python-poetry/poetry) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python-poetry/poetry)](https://python-poetry.org/docs/) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pylint-2.17.0/total?label=⭳%20pylint-2.17.0)](https://github.com/hemnstill/StandaloneTools/releases/tag/pylint-2.17.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/PyCQA/pylint?style=social&label=pylint)](https://github.com/PyCQA/pylint) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/PyCQA/pylint)](https://pylint.pycqa.org/en/latest/) | -| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/mypy-1.1.1/total?label=⭳%20mypy-1.1.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/mypy-1.1.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/python/mypy?style=social&label=mypy)](https://github.com/python/mypy) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python/mypy)](https://mypy.readthedocs.io/en/latest/) | +| [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/mypy-1.4.1/total?label=⭳%20mypy-1.4.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/mypy-1.4.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/python/mypy?style=social&label=mypy)](https://github.com/python/mypy) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/python/mypy)](https://mypy.readthedocs.io/en/latest/) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/ansible-8.1.0/total?label=⭳%20ansible-8.1.0-core-2.15.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/ansible-8.1.0) | [![GitHub Repo stars](https://img.shields.io/github/stars/ansible/ansible?style=social&label=ansible)](https://github.com/ansible/ansible) [![PyPI](https://img.shields.io/pypi/v/ansible)](https://pypi.org/project/ansible/) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/ansible/ansible)](https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/bsdtar-3.6.2/total?label=⭳%20bsdtar-3.6.2)](https://github.com/hemnstill/StandaloneTools/releases/tag/bsdtar-3.6.2) | [![GitHub Repo stars](https://img.shields.io/github/stars/libarchive/libarchive?style=social&label=libarchive)](https://github.com/libarchive/libarchive) [![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/libarchive/libarchive)](https://github.com/libarchive/libarchive/releases/latest) | | [![GitHub release (by tag)](https://img.shields.io/github/downloads/hemnstill/StandaloneTools/pg_dump-15.1/total?label=⭳%20pg_dump-15.1)](https://github.com/hemnstill/StandaloneTools/releases/tag/pg_dump-15.1) | [![GitHub Repo stars](https://img.shields.io/github/stars/postgres/postgres?style=social&label=postgres)](https://github.com/postgres/postgres) [![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/postgres/postgres)](https://www.postgresql.org/docs/current/index.html) | diff --git a/mypy/build_gnu.sh b/mypy/build_gnu.sh index 3387de53a..e08c9c760 100755 --- a/mypy/build_gnu.sh +++ b/mypy/build_gnu.sh @@ -6,25 +6,19 @@ apt update apt install -y wget binutils tool_name="mypy" -tool_version="1.1.1" -self_name="python-3.11.1" +tool_version="1.4.1" +self_name="python-3.11.3" self_toolset_name="build-gnu" release_version_dirpath="$dp0/release/$tool_name-$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" -echo "download poetry install script ..." +echo "download python install script ..." python_bin_download_url="https://github.com/hemnstill/StandaloneTools/releases/download/$self_name/$self_toolset_name.tar.gz" python_download_zip="$dp0/release/$self_name.tar.gz" [[ ! -f "$python_download_zip" ]] && wget "$python_bin_download_url" -O "$python_download_zip" -echo "download bsdtar ..." -bsdtar_version=3.6.2 -bsdtar_download_url="https://github.com/hemnstill/StandaloneTools/releases/download/bsdtar-$bsdtar_version/build-musl.tar.gz" -bsdtar_tar_gz="bsdtar-$bsdtar_version-build-musl.tar.gz" -[[ ! -f "$bsdtar_tar_gz" ]] && wget "$bsdtar_download_url" -O "$bsdtar_tar_gz" -tar -xf "$bsdtar_tar_gz" - +"$dp0/../.tools/download_bsdtar.sh" bsdtar="$dp0/release/bsdtar" cpython_bin="$release_version_dirpath/Scripts/bin/python3" diff --git a/mypy/build_msvc.sh b/mypy/build_msvc.sh index 005838716..56577d9c2 100755 --- a/mypy/build_msvc.sh +++ b/mypy/build_msvc.sh @@ -3,26 +3,20 @@ dp0="$(realpath "$(dirname "$0")")" set -e tool_name="mypy" -tool_version="1.1.1" -self_name="python-3.11.1" +tool_version="1.4.1" +self_name="python-3.11.3" self_toolset_name="build-msvc" release_version_dirpath="$dp0/release/$tool_name-$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" -echo "download poetry install script ..." +echo "download python install script ..." python_bin_download_url="https://github.com/hemnstill/StandaloneTools/releases/download/$self_name/$self_toolset_name.tar.gz" python_download_zip="$dp0/release/$self_name.tar.gz" [[ ! -f "$python_download_zip" ]] && wget "$python_bin_download_url" -O "$python_download_zip" -echo "download bsdtar ..." -bsdtar_version=3.6.2 -bsdtar_download_url="https://github.com/hemnstill/StandaloneTools/releases/download/bsdtar-$bsdtar_version/build-mingw.tar.gz" -bsdtar_tar_gz="bsdtar-$bsdtar_version-build-mingw.tar.gz" -[[ ! -f "$bsdtar_tar_gz" ]] && wget "$bsdtar_download_url" -O "$bsdtar_tar_gz" -tar -xf "$bsdtar_tar_gz" - -bsdtar="$dp0/release/bsdtar.exe" +"$dp0/../.tools/download_bsdtar.sh" +bsdtar="$dp0/release/bsdtar" cpython_bin="$release_version_dirpath/Scripts/python.exe" [[ ! -f "$cpython_bin" ]] && tar -xf "$python_download_zip" -C "$release_version_dirpath" diff --git a/mypy/build_musl.sh b/mypy/build_musl.sh index b44d6d922..fc38b4172 100755 --- a/mypy/build_musl.sh +++ b/mypy/build_musl.sh @@ -3,25 +3,19 @@ dp0="$(realpath "$(dirname "$0")")" set -e tool_name="mypy" -tool_version="1.1.1" -self_name="python-3.11.1" +tool_version="1.4.1" +self_name="python-3.11.3" self_toolset_name="build-musl" release_version_dirpath="$dp0/release/$tool_name-$tool_version" mkdir -p "$release_version_dirpath" && cd "$dp0/release" -echo "download poetry install script ..." +echo "download python install script ..." python_bin_download_url="https://github.com/hemnstill/StandaloneTools/releases/download/$self_name/$self_toolset_name.tar.gz" python_download_zip="$dp0/release/$self_name.tar.gz" [[ ! -f "$python_download_zip" ]] && wget "$python_bin_download_url" -O "$python_download_zip" -echo "download bsdtar ..." -bsdtar_version=3.6.2 -bsdtar_download_url="https://github.com/hemnstill/StandaloneTools/releases/download/bsdtar-$bsdtar_version/build-musl.tar.gz" -bsdtar_tar_gz="bsdtar-$bsdtar_version-build-musl.tar.gz" -[[ ! -f "$bsdtar_tar_gz" ]] && wget "$bsdtar_download_url" -O "$bsdtar_tar_gz" -tar -xf "$bsdtar_tar_gz" - +"$dp0/../.tools/download_bsdtar.sh" bsdtar="$dp0/release/bsdtar" cpython_bin="$release_version_dirpath/Scripts/bin/python3" diff --git a/mypy/test_linux.sh b/mypy/test_linux.sh index 3cf85050e..2b943c017 100755 --- a/mypy/test_linux.sh +++ b/mypy/test_linux.sh @@ -4,9 +4,9 @@ is_musl_build=false && [[ -f "../build-musl.tar.gz" ]] && is_musl_build=true test_version() { if [[ "$is_musl_build" == true ]]; then - assertEquals "mypy 1.1.1 (compiled: no)" "$(../bin/mypy.sh --version)" + assertEquals "mypy 1.4.1 (compiled: no)" "$(../bin/mypy.sh --version)" else - assertEquals "mypy 1.1.1 (compiled: yes)" "$(../bin/mypy.sh --version)" + assertEquals "mypy 1.4.1 (compiled: yes)" "$(../bin/mypy.sh --version)" fi } diff --git a/mypy/test_windows.sh b/mypy/test_windows.sh index 55c1d85c8..4d7b5bbff 100755 --- a/mypy/test_windows.sh +++ b/mypy/test_windows.sh @@ -1,7 +1,7 @@ #!/bin/bash test_version() { - assertEquals "mypy 1.1.1 (compiled: yes)" "$(../bin/mypy.bat --version)" + assertEquals "mypy 1.4.1 (compiled: yes)" "$(../bin/mypy.bat --version)" } # Load and run shUnit2.