From efd4e02684291c9e6aa395a31803f968259dc66c Mon Sep 17 00:00:00 2001 From: Karen Javadyan Date: Fri, 3 Nov 2023 22:13:42 +0400 Subject: [PATCH] Upgrade Playwright to 1.39.0 to support Python 3.12 (#84) Use the latest Playwright to support Python 3.12 --- Dockerfile | 2 +- cookiecutter/{{ cookiecutter.package_name }}/setup.py | 2 +- examples/CustomDataframe/setup.py | 2 +- examples/MaterialLogin/setup.py | 2 +- examples/RadioButton/setup.py | 2 +- examples/SelectableDataTable/setup.py | 2 +- template-reactless/setup.py | 2 +- template/setup.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 66afa507..806621a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ ENV PIP_VERSION=${PIP_VERSION} RUN pip install --no-cache-dir --upgrade "pip==${PIP_VERSION}" && pip --version # Setup Playwright -ARG PLAYWRIGHT_VERSION="1.36.0" +ARG PLAYWRIGHT_VERSION="1.39.0" ENV PLAYWRIGHT_VERSION=${PLAYWRIGHT_VERSION} RUN pip install --no-cache-dir playwright=="${PLAYWRIGHT_VERSION}" && playwright install webkit chromium firefox --with-deps diff --git a/cookiecutter/{{ cookiecutter.package_name }}/setup.py b/cookiecutter/{{ cookiecutter.package_name }}/setup.py index c74a6817..e1995dbc 100644 --- a/cookiecutter/{{ cookiecutter.package_name }}/setup.py +++ b/cookiecutter/{{ cookiecutter.package_name }}/setup.py @@ -28,7 +28,7 @@ "devel": [ "wheel", "pytest==7.4.0", - "playwright==1.36.0", + "playwright==1.39.0", "requests==2.31.0", "pytest-playwright-snapshot==1.0", "pytest-rerunfailures==12.0", diff --git a/examples/CustomDataframe/setup.py b/examples/CustomDataframe/setup.py index 34b2801f..c3c08b03 100644 --- a/examples/CustomDataframe/setup.py +++ b/examples/CustomDataframe/setup.py @@ -23,7 +23,7 @@ "devel": [ "wheel", "pytest==7.4.0", - "playwright==1.36.0", + "playwright==1.39.0", "requests==2.31.0", "pytest-playwright-snapshot==1.0", "pytest-rerunfailures==12.0", diff --git a/examples/MaterialLogin/setup.py b/examples/MaterialLogin/setup.py index 914bb6d3..458b69ef 100644 --- a/examples/MaterialLogin/setup.py +++ b/examples/MaterialLogin/setup.py @@ -23,7 +23,7 @@ "devel": [ "wheel", "pytest==7.4.0", - "playwright==1.36.0", + "playwright==1.39.0", "requests==2.31.0", "pytest-playwright-snapshot==1.0", "pytest-rerunfailures==12.0", diff --git a/examples/RadioButton/setup.py b/examples/RadioButton/setup.py index 055e8229..5307a187 100644 --- a/examples/RadioButton/setup.py +++ b/examples/RadioButton/setup.py @@ -23,7 +23,7 @@ "devel": [ "wheel", "pytest==7.4.0", - "playwright==1.36.0", + "playwright==1.39.0", "requests==2.31.0", "pytest-playwright-snapshot==1.0", "pytest-rerunfailures==12.0", diff --git a/examples/SelectableDataTable/setup.py b/examples/SelectableDataTable/setup.py index 7e11a495..b02edffb 100644 --- a/examples/SelectableDataTable/setup.py +++ b/examples/SelectableDataTable/setup.py @@ -23,7 +23,7 @@ "devel": [ "wheel", "pytest==7.4.0", - "playwright==1.36.0", + "playwright==1.39.0", "requests==2.31.0", "pytest-playwright-snapshot==1.0", "pytest-rerunfailures==12.0", diff --git a/template-reactless/setup.py b/template-reactless/setup.py index 16fa581d..279f8a31 100644 --- a/template-reactless/setup.py +++ b/template-reactless/setup.py @@ -28,7 +28,7 @@ "devel": [ "wheel", "pytest==7.4.0", - "playwright==1.36.0", + "playwright==1.39.0", "requests==2.31.0", "pytest-playwright-snapshot==1.0", "pytest-rerunfailures==12.0", diff --git a/template/setup.py b/template/setup.py index 16fa581d..279f8a31 100644 --- a/template/setup.py +++ b/template/setup.py @@ -28,7 +28,7 @@ "devel": [ "wheel", "pytest==7.4.0", - "playwright==1.36.0", + "playwright==1.39.0", "requests==2.31.0", "pytest-playwright-snapshot==1.0", "pytest-rerunfailures==12.0",