diff --git a/.github/workflows/publish_docker.yml b/.github/workflows/publish_docker.yml index 99ac96c7f..7d83136bc 100644 --- a/.github/workflows/publish_docker.yml +++ b/.github/workflows/publish_docker.yml @@ -36,5 +36,6 @@ jobs: run: | python -m pip install --upgrade pip pip install -r local-requirements.txt + pip install -r requirements.txt pip install -e . - run: ./utils/docker/publish_docker.sh stable diff --git a/.github/workflows/test_docker.yml b/.github/workflows/test_docker.yml index 9d70ae303..e84428cc1 100644 --- a/.github/workflows/test_docker.yml +++ b/.github/workflows/test_docker.yml @@ -36,6 +36,7 @@ jobs: run: | python -m pip install --upgrade pip pip install -r local-requirements.txt + pip install -r requirements.txt pip install -e . - name: Build Docker image run: bash utils/docker/build.sh --amd64 ${{ matrix.docker-image-variant }} playwright-python:localbuild-${{ matrix.docker-image-variant }} diff --git a/.gitignore b/.gitignore index 8424e9bfc..cc3542b02 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ htmlcov/ .coverage* .DS_Store .vscode/ +.venv .eggs _repo_version.py coverage.xml diff --git a/local-requirements.txt b/local-requirements.txt index 10dbe6eee..c3ed8dd7b 100644 --- a/local-requirements.txt +++ b/local-requirements.txt @@ -20,3 +20,4 @@ service_identity==24.2.0 twisted==24.11.0 types-pyOpenSSL==24.1.0.20240722 types-requests==2.32.0.20241016 +uv==0.5.4 diff --git a/pyproject.toml b/pyproject.toml index b4de55327..38330758e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,8 +13,8 @@ license = {text = "Apache-2.0"} dynamic = ["version"] requires-python = ">=3.9" dependencies = [ - "greenlet==3.1.1", - "pyee==12.1.1", + "pyee>=12.1.1", + "greenlet>=3.1.1" ] classifiers = [ "Topic :: Software Development :: Testing", diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..eaa753330 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o requirements.txt +greenlet==3.1.1 + # via playwright (pyproject.toml) +pyee==12.1.1 + # via playwright (pyproject.toml) +typing-extensions==4.12.2 + # via pyee