Skip to content

Commit 30f9959

Browse files
committed
chore: relax dependency versions
1 parent 70c5031 commit 30f9959

File tree

9 files changed

+21
-4
lines changed

9 files changed

+21
-4
lines changed

.azure-pipelines/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ extends:
3838
- script: |
3939
python -m pip install --upgrade pip
4040
pip install -r local-requirements.txt
41+
pip install -r requirements.txt
4142
pip install -e .
4243
for wheel in $(python setup.py --list-wheels); do
4344
PLAYWRIGHT_TARGET_WHEEL=$wheel python -m build --wheel

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
run: |
3131
python -m pip install --upgrade pip
3232
pip install -r local-requirements.txt
33+
pip install -r requirements.txt
3334
pip install -e .
3435
python -m build --wheel
3536
python -m playwright install --with-deps
@@ -88,6 +89,7 @@ jobs:
8889
run: |
8990
python -m pip install --upgrade pip
9091
pip install -r local-requirements.txt
92+
pip install -r requirements.txt
9193
pip install -e .
9294
python -m build --wheel
9395
python -m playwright install --with-deps ${{ matrix.browser }}
@@ -134,6 +136,7 @@ jobs:
134136
run: |
135137
python -m pip install --upgrade pip
136138
pip install -r local-requirements.txt
139+
pip install -r requirements.txt
137140
pip install -e .
138141
python -m build --wheel
139142
python -m playwright install ${{ matrix.browser-channel }} --with-deps

.github/workflows/publish_docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ jobs:
3636
run: |
3737
python -m pip install --upgrade pip
3838
pip install -r local-requirements.txt
39+
pip install -r requirements.txt
3940
pip install -e .
4041
- run: ./utils/docker/publish_docker.sh stable

.github/workflows/test_docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
run: |
3737
python -m pip install --upgrade pip
3838
pip install -r local-requirements.txt
39+
pip install -r requirements.txt
3940
pip install -e .
4041
- name: Build Docker image
4142
run: bash utils/docker/build.sh --amd64 ${{ matrix.docker-image-variant }} playwright-python:localbuild-${{ matrix.docker-image-variant }}
@@ -45,6 +46,7 @@ jobs:
4546
# Fix permissions for Git inside the container
4647
docker exec "${CONTAINER_ID}" chown -R root:root /root/playwright
4748
docker exec "${CONTAINER_ID}" pip install -r local-requirements.txt
49+
docker exec "${CONTAINER_ID}" pip install -r requirements.txt
4850
docker exec "${CONTAINER_ID}" pip install -e .
4951
docker exec "${CONTAINER_ID}" python -m build --wheel
5052
docker exec "${CONTAINER_ID}" xvfb-run pytest -vv tests/sync/

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ htmlcov/
1212
.coverage*
1313
.DS_Store
1414
.vscode/
15+
.venv
1516
.eggs
1617
_repo_version.py
1718
coverage.xml

local-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ service_identity==24.2.0
2020
twisted==24.11.0
2121
types-pyOpenSSL==24.1.0.20240722
2222
types-requests==2.32.0.20241016
23+
uv==0.5.4

meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ requirements:
2626
- setuptools_scm
2727
run:
2828
- python >=3.9
29-
- greenlet ==3.1.1
30-
- pyee ==12.1.1
29+
- greenlet>=3.1.1,<4.0.0
30+
- pyee>=12,<13
3131

3232
test: # [build_platform == target_platform]
3333
requires:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ license = {text = "Apache-2.0"}
1313
dynamic = ["version"]
1414
requires-python = ">=3.9"
1515
dependencies = [
16-
"greenlet==3.1.1",
17-
"pyee==12.1.1",
16+
"pyee>=12,<13",
17+
"greenlet>=3.1.1,<4.0.0"
1818
]
1919
classifiers = [
2020
"Topic :: Software Development :: Testing",

requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile pyproject.toml -o requirements.txt
3+
greenlet==3.1.1
4+
# via playwright (pyproject.toml)
5+
pyee==12.1.1
6+
# via playwright (pyproject.toml)
7+
typing-extensions==4.12.2
8+
# via pyee

0 commit comments

Comments
 (0)