Skip to content
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

Helix-related builds failing for Python Wheels install of cryptography on ARM32 #359

Closed
mthalman opened this issue Aug 18, 2020 · 10 comments

Comments

@mthalman
Copy link
Member

It's failing on this line of the Dockerfile:

RUN ln -sf /usr/bin/python3 /usr/bin/python && \

This is failing on all Debian/Ubuntu ARM32 Helix Dockerfiles.

Here's the relevant part of the error output:

2020-08-17T21:13:27.8108471Z �[91mERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
2020-08-17T21:13:27.8110708Z �[0mFailed to build cryptography

Attached is the log output:
log.txt

@MichaelSimons
Copy link
Member

@MattGal - Can you please take a look at this?

@MattGal
Copy link
Member

MattGal commented Aug 19, 2020

Hrm, I suspect unintended fallout from the --extra-index-url changes I made recently, though weird it's just now showing up. How might I get some hardware to try this out on?

@MichaelSimons
Copy link
Member

For the most part Docker does a good job of supporting arm via QEMU. My suggestion is to try building in a Win 10 Linux Containers environment.

@mthalman
Copy link
Member Author

@MattGal - Any progress on this? This is getting in the way of producing other images because they all get built in the same job.

@MattGal
Copy link
Member

MattGal commented Aug 26, 2020

I was able to reproduce the problem, but no progress made. My sense is we should disable the DockerFiles used and pick this back up when we actually have a real need to regenerate them. I'll chat with @Chrisboh and get back to you.

@MichaelSimons
Copy link
Member

@MattGal - Did you get a chance to discuss w/@Chrisboh on this? What is the plan?

@MattGal
Copy link
Member

MattGal commented Sep 2, 2020

Ooops, too many distractions. Here's my plan:

  • I see updates on the broken python libraries since my last change; I'm going to try this again and see what I see.
  • If this is fixable, I will make a PR that re-enables the images
  • If not, I will reach out to the owners and create an issue for the python cryptography library.

I should be able to do these three things before EOD and get back to you.

@MattGal
Copy link
Member

MattGal commented Sep 2, 2020

It is fixable, I didn't troll the internet enough the first time it happened to find the workarounds.

The bug is pypa/wheel#367 . I am applying the suggested workaround and reenabling the images via PR now.

@MattGal
Copy link
Member

MattGal commented Sep 2, 2020

#365

@MattGal
Copy link
Member

MattGal commented Sep 3, 2020

PR merged.

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

No branches or pull requests

3 participants