File tree Expand file tree Collapse file tree 4 files changed +32
-18
lines changed Expand file tree Collapse file tree 4 files changed +32
-18
lines changed Original file line number Diff line number Diff line change 31
31
- name : Install browsers
32
32
run : python -m playwright install
33
33
- name : Lint
34
- run : pre-commit run --all-files
34
+ uses : pre-commit/action@v2.0.0
35
35
- name : Generate APIs
36
36
run : bash scripts/update_api.sh
37
37
- name : Verify API is up to date
Original file line number Diff line number Diff line change 2
2
# See https://pre-commit.com/hooks.html for more hooks
3
3
repos :
4
4
- repo : https://github.com/pre-commit/pre-commit-hooks
5
- rev : v3.2 .0
5
+ rev : v3.4 .0
6
6
hooks :
7
7
- id : trailing-whitespace
8
8
- id : end-of-file-fixer
@@ -13,14 +13,14 @@ repos:
13
13
hooks :
14
14
- id : black
15
15
- repo : https://github.com/pre-commit/mirrors-mypy
16
- rev : v0.782
16
+ rev : v0.812
17
17
hooks :
18
18
- id : mypy
19
19
- repo : https://gitlab.com/pycqa/flake8
20
- rev : ' 3.8.3 '
20
+ rev : 3.8.4
21
21
hooks :
22
22
- id : flake8
23
23
- repo : https://github.com/pycqa/isort
24
- rev : 5.5.4
24
+ rev : 5.7.0
25
25
hooks :
26
26
- id : isort
Original file line number Diff line number Diff line change 1
- autobahn==20.7.1
2
- pytest==6.1.0
1
+ autobahn==21.2.2
2
+ pytest==6.2.2
3
3
pytest-asyncio==0.14.0
4
- pytest-cov==2.10 .1
4
+ pytest-cov==2.11 .1
5
5
pytest-sugar==0.9.4
6
- pytest-xdist==2.1.0
6
+ pytest-xdist==2.2.1
7
7
pytest-timeout==1.4.2
8
8
flaky==3.7.0
9
- pixelmatch==0.2.1
10
- Pillow==8.0 .0
11
- mypy==0.782
12
- setuptools==50.3 .0
9
+ pixelmatch==0.2.3
10
+ Pillow==8.1 .0
11
+ mypy==0.812
12
+ setuptools==54.0 .0
13
13
# TODO: use PyPi version after >20.3.0 is released
14
14
git+https://github.com/twisted/twisted.git@4ff22287cab3b54f51cee41ea2619e72d1bff2e4
15
- wheel==0.35.1
15
+ wheel==0.36.2
16
+ auditwheel==3.3.1
16
17
black==20.8b1
17
- pre-commit==2.7 .1
18
- flake8==3.8.3
19
- twine==3.2 .0
20
- pyOpenSSL==19.1.0
18
+ pre-commit==2.10 .1
19
+ flake8==3.8.4
20
+ twine==3.3 .0
21
+ pyOpenSSL==20.0.1
21
22
service_identity==18.1.0
22
23
pandas==1.2.2
23
24
objgraph==3.5.0
Original file line number Diff line number Diff line change 21
21
from pathlib import Path
22
22
23
23
import setuptools
24
+ from auditwheel .wheeltools import InWheel
24
25
from wheel .bdist_wheel import bdist_wheel as BDistWheelCommand
25
26
26
27
driver_version = "1.9.0-1614037901000"
@@ -96,6 +97,18 @@ def run(self) -> None:
96
97
zip .writestr ("playwright/driver/README.md" , "Universal Mac package" )
97
98
98
99
os .remove (base_wheel_location )
100
+ for whlfile in glob .glob ("dist/*.whl" ):
101
+
102
+ os .makedirs ("wheelhouse" , exist_ok = True )
103
+ with InWheel (
104
+ in_wheel = whlfile ,
105
+ out_wheel = os .path .join ("wheelhouse" , os .path .basename (whlfile )),
106
+ ret_self = True ,
107
+ ):
108
+ print ("Updating RECORD file of %s" % whlfile )
109
+ shutil .rmtree ("dist" )
110
+ print ("Copying new wheels" )
111
+ shutil .move ("wheelhouse" , "dist" )
99
112
100
113
101
114
setuptools .setup (
You can’t perform that action at this time.
0 commit comments