Skip to content

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

Closed
wants to merge 1 commit into from
Closed

wheels #991

wants to merge 1 commit into from

Conversation

pavelfeldman
Copy link
Member

No description provided.

"darwin": "mac",
"linux": "linux",
"win32": "win32_x64" if sys.maxsize > 2 ** 32 else "win32",
"win32": "win32",
Copy link
Member

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 = []
Copy link
Member

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.
Copy link
Member

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:
Copy link
Member

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.

@kumaraditya303
Copy link
Contributor

See #993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants