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

Cryptography dependency won't compile in Docker Container #217

Open
caronc opened this issue Dec 21, 2024 · 5 comments
Open

Cryptography dependency won't compile in Docker Container #217

caronc opened this issue Dec 21, 2024 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@caronc
Copy link
Owner

caronc commented Dec 21, 2024

🪲 Describe the bug

@stumpylog, I'm wondering if you'd be able to help me with this since you are a docker expert thanks to an great multistage PR you made against this project a while back (here).

The problem is that cryptgography hangs for 6+ hrs in the multistage now and eventually GitHub Actions just kills it off. I retried 3 times to biuld it without any luck.

I can't spot anything obvious, so i'm just opening a ticket for others who could possibly notice or lend a hand?

Failed Job (attempt no 3 link: https://github.com/caronc/apprise-api/actions/runs/12423893680/job/34746045843
image

@caronc caronc added bug Something isn't working help wanted Extra attention is needed labels Dec 21, 2024
@stumpylog
Copy link
Contributor

stumpylog commented Dec 21, 2024

I don't have a ton of time right now, but is there a reason cryptography is built from source instead of installing via a wheel?

Edit: 95% sure they provide wheels for arm64

@caronc
Copy link
Owner Author

caronc commented Dec 22, 2024

I do recall a reason to resorting to compiling, I can't recall. There were a lot of limitations with the wheel at the time

@stumpylog
Copy link
Contributor

Based on some history, it appears to have been for armv7, but that's not built. I would transition to the wheel and save a bunch of time

@stumpylog
Copy link
Contributor

Seems like it worked fine recently: https://github.com/caronc/apprise-api/actions/runs/12447548167

If you still want to build from source, perhaps it was a bug in some version of the building. I see the same version of buildx, and generally other tools.

But I don't see a reason to build from source. If you would like, I can remove the building and just install from the wheel.

Also, separately, if you're open to it, I could do some modernizing of the packaging here, into a pyproject.toml format, etc

@caronc
Copy link
Owner Author

caronc commented Dec 26, 2024

Thank you so much for the offer. I've been dealing with a family crisis for the past month and have not got to work or investigate much on this project. Anything you could offer would be so much appreciated 🙏

Happy holidays as well! ⭐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants