-
Notifications
You must be signed in to change notification settings - Fork 1k
wheels #991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wheels #991
Conversation
"darwin": "mac", | ||
"linux": "linux", | ||
"win32": "win32_x64" if sys.maxsize > 2 ** 32 else "win32", | ||
"win32": "win32", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this ends up using the wrong 32 bit variant of Node.js which is 404 when we roll. See here: https://github.com/microsoft/playwright/blob/82dd7c87ad44cd2c71358c455ba8ee7532b7ab72/utils/build/build-playwright-driver.sh#L75
if self.all: | ||
wheels = wheel_to_driver_map.keys() | ||
else: | ||
wheels = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems by default not creating any wheels, we need to create the sys.platform wheels by default. For local installation and conda builds.
shutil.copyfile(wheel_location, universal_location) | ||
with zipfile.ZipFile(universal_location, "a") as zip: | ||
if wheel == "macosx_11_0_universal2.whl": | ||
# Make sure Mac wheels differ. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why make sure the wheels differ?
with zipfile.ZipFile(zip_file, "r") as zip: | ||
extractall(zip, f"driver/{platform}") | ||
if platform_map[sys.platform] == platform: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dropping this would also break the local installations I think.
See #993 |
No description provided.