-
-
Notifications
You must be signed in to change notification settings - Fork 220
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
Prisma Python is missing binaries when frozen in CI but not locally #2509
Comments
I'll try to look at it over the weekend, I'm busy these days. |
Much appreciated. I got pretty out of my depth with it |
I think you were close to figuring out how to solve the issue when you described it in RobertCraigie/prisma-client-py#976
You have to copy this file next to the executable, or in the case of cx_Freeze, use include_files. Find out how to get the 'binary cache dir' that is shown in the command
|
Please test the possibly solution at ntindle/cx_freeze_prisma_reproduction#2 to close the issue. |
Discussed in #2504
Originally posted by ntindle July 15, 2024
When I freeze the Prisma python package as part of my CI using GitHub Actions, it has an error when run locally:
Repro Steps and far more details here: https://github.com/ntindle/cx_freeze_prisma_reproduction
It is worth pointing out you MUST build in ci (or another PC), as your paths will be valid from the poetry install in the repo once you run cx_freeze.
The text was updated successfully, but these errors were encountered: