File tree Expand file tree Collapse file tree 7 files changed +23
-4
lines changed Expand file tree Collapse file tree 7 files changed +23
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 }}
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/
Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ requirements:
2626 - setuptools_scm
2727 run :
2828 - python >=3.9
29- - greenlet ==3.1.1
30- - pyee ==12.1.1
29+ # This should be the same as the dependencies in pyproject.toml
30+ - greenlet>=3.1.1,<4.0.0
31+ - pyee>=12,<13
3132
3233test : # [build_platform == target_platform]
3334 requires :
Original file line number Diff line number Diff line change @@ -12,9 +12,12 @@ readme = "README.md"
1212license = {text = " Apache-2.0" }
1313dynamic = [" version" ]
1414requires-python = " >=3.9"
15+ # Please when changing dependencies run the following commands to update requirements.txt:
16+ # - pip install uv==0.5.4
17+ # - uv pip compile pyproject.toml -o requirements.txt
1518dependencies = [
16- " greenlet==3.1.1 " ,
17- " pyee==12 .1.1" ,
19+ " pyee>=12,<13 " ,
20+ " greenlet>=3 .1.1,<4.0.0 "
1821]
1922classifiers = [
2023 " Topic :: Software Development :: Testing" ,
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments