From 4003accf37a44bb364679b281d257e13b2f8f66c Mon Sep 17 00:00:00 2001 From: rustrar Date: Wed, 28 Jun 2023 19:05:21 +0400 Subject: [PATCH] playwright 1.35.0 with python 3.10.5 gnu version (#69) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --------- Co-authored-by: Рахимов Рустам (Rakhimov_RR) --- .github/workflows/playwright.yml | 2 +- .github/workflows/python.yml | 3 ++- playwright/build_gnu.sh | 4 ++-- playwright/build_msvc.sh | 4 ++-- playwright/test_linux.sh | 2 +- playwright/test_windows.sh | 2 +- python/build_gnu.sh | 6 +++--- python/build_msvc.sh | 4 ++-- python/build_musl.sh | 4 ++-- python/test_linux.sh | 2 +- python/test_windows.sh | 2 +- 11 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 35ff14347..085d9a9e6 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -46,7 +46,7 @@ jobs: uses: ./.github/workflows/release.yml with: workflow: ${{ github.workflow }} - tool_version: '1.31.1' + tool_version: '1.35.0' prepare_body: | bsdtar -Oxf ./build-gnu/build-gnu.tar.gz build-gnu.md >> body.md bsdtar -Oxf ./build-msvc/build-msvc.tar.gz build-msvc.md >> body.md diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 64671bf22..88c022c17 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -1,4 +1,5 @@ name: python +# version_tests: skip_readme on: [pull_request, workflow_dispatch] @@ -73,7 +74,7 @@ jobs: uses: ./.github/workflows/release.yml with: workflow: ${{ github.workflow }} - tool_version: '3.11.3' + tool_version: '3.10.5' 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/playwright/build_gnu.sh b/playwright/build_gnu.sh index 410411bd9..a34c62926 100755 --- a/playwright/build_gnu.sh +++ b/playwright/build_gnu.sh @@ -3,8 +3,8 @@ dp0="$(realpath "$(dirname "$0")")" set -e tool_name="playwright" -tool_version="1.31.1" -self_name="python-3.11.1" +tool_version="1.35.0" +self_name="python-3.10.5" echo "::set-output name=tool_name::$tool_name" apt update diff --git a/playwright/build_msvc.sh b/playwright/build_msvc.sh index 9103ff884..292c26b47 100755 --- a/playwright/build_msvc.sh +++ b/playwright/build_msvc.sh @@ -3,8 +3,8 @@ dp0="$(realpath "$(dirname "$0")")" set -e tool_name="playwright" -tool_version="1.31.1" -self_name="python-3.11.1" +tool_version="1.35.0" +self_name="python-3.10.5" echo "::set-output name=tool_name::$tool_name" release_version_dirpath="$dp0/release/$tool_name-$tool_version" diff --git a/playwright/test_linux.sh b/playwright/test_linux.sh index 57056aa21..c83f18029 100755 --- a/playwright/test_linux.sh +++ b/playwright/test_linux.sh @@ -1,7 +1,7 @@ #!/bin/bash test_version() { - assertEquals "Version 1.31.1" "$(../bin/playwright.sh --version)" + assertEquals "Version 1.35.0" "$(../bin/playwright.sh --version)" } # Load and run shUnit2. diff --git a/playwright/test_windows.sh b/playwright/test_windows.sh index 2bedecf5a..17f57bdf2 100755 --- a/playwright/test_windows.sh +++ b/playwright/test_windows.sh @@ -1,7 +1,7 @@ #!/bin/bash test_version() { - assertEquals "Version 1.31.1" "$(../bin/playwright.bat --version)" + assertEquals "Version 1.35.0" "$(../bin/playwright.bat --version)" } # Load and run shUnit2. diff --git a/python/build_gnu.sh b/python/build_gnu.sh index 7b5044d92..d537b2d27 100755 --- a/python/build_gnu.sh +++ b/python/build_gnu.sh @@ -9,8 +9,8 @@ apk add --no-cache alpine-sdk python3-dev export LC_ALL=en_US.UTF-8 tool_name="python" -tool_version="3.11.3" -release_date="20230507" +tool_version="3.10.5" +release_date="20220630" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" echo "::set-output name=tool_name::$tool_name" @@ -26,7 +26,7 @@ echo "download python from $download_url ..." bsdtar="$dp0/release/bsdtar" cpython_bin="$dp0/.tmp/python/install/bin/python3" -cpython_dll="$dp0/.tmp/python/install/lib/libpython3.11.so.1.0" +cpython_dll="$dp0/.tmp/python/install/lib/libpython3.10.so.1.0" if [[ ! -f "$cpython_bin" ]]; then echo extract "$cpython_zip" to "$cpython_bin" ... rm -rf "$dp0/.tmp/"* && mkdir -p "$dp0/.tmp" && cd "$dp0/.tmp" || exit 1 diff --git a/python/build_msvc.sh b/python/build_msvc.sh index 7595a1655..6a7ebdcaa 100755 --- a/python/build_msvc.sh +++ b/python/build_msvc.sh @@ -3,8 +3,8 @@ dp0="$(realpath "$(dirname "$0")")" set -e tool_name="python" -tool_version="3.11.3" -release_date="20230507" +tool_version="3.10.5" +release_date="20220630" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" echo "::set-output name=tool_name::$tool_name" diff --git a/python/build_musl.sh b/python/build_musl.sh index cb4967451..263a4002c 100755 --- a/python/build_musl.sh +++ b/python/build_musl.sh @@ -6,8 +6,8 @@ apk update apk add --no-cache alpine-sdk python3-dev tool_name="python" -tool_version="3.11.3" -release_date="20230507" +tool_version="3.10.5" +release_date="20220630" self_name="$tool_name-$tool_version" release_version_dirpath="$dp0/release/$self_name" echo "::set-output name=tool_name::$tool_name" diff --git a/python/test_linux.sh b/python/test_linux.sh index e1fe90720..8ca4e43ca 100755 --- a/python/test_linux.sh +++ b/python/test_linux.sh @@ -3,7 +3,7 @@ ../.tools/install_alpine_glibc.sh test_version() { - assertEquals "Python 3.11.3" "$(../bin/Scripts/bin/python3 --version)" + assertEquals "Python 3.10.5" "$(../bin/Scripts/bin/python3 --version)" } # Load and run shUnit2. diff --git a/python/test_windows.sh b/python/test_windows.sh index 3f96b7396..b1df31ca1 100755 --- a/python/test_windows.sh +++ b/python/test_windows.sh @@ -1,7 +1,7 @@ #!/bin/bash test_version() { - assertEquals "Python 3.11.3" "$(../bin/Scripts/python.exe --version)" + assertEquals "Python 3.10.5" "$(../bin/Scripts/python.exe --version)" } # Load and run shUnit2.