-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Packaging with Poetry and other PEP-517 based packages #201
Comments
I encountered these problems, and #199 is at least a partial solution for that. |
Sadly, I can make no guarantees for PyOxidizer's compatibility with PEP-517 build systems at this time. Even the presence of these alternative build systems can change pip's/distutils's behavior. I need to spend time researching the matter further. Until then, things may or may not just work. |
All good :). Makes sense. |
See also #170 for PEP-517/PEP-518 . I believe it is fixed by #199 , and that venvs are a mandatory part of solving it, due to the problems of pip's The other problem with poetry is PyOxidizer requires source packages , and this breaks poetry because of python-poetry/poetry#760 . The fix is to allow wheels (#193), and I have a fix for that which I will push up tonight. |
diff --git a/pyoxidizer/src/app_packaging/packaging_rule.rs b/pyoxidizer/src/app_packaging/packaging_rule.rs
index 032066e..b86e214 100644
--- a/pyoxidizer/src/app_packaging/packaging_rule.rs
+++ b/pyoxidizer/src/app_packaging/packaging_rule.rs
@@ -511,8 +511,8 @@ fn resolve_pip_install_simple(
verbose: bool,
) -> Vec<PythonResourceAction> {
let mut install_args = vec![
- "--no-binary".to_string(),
- ":all:".to_string(),
+ //"--no-binary".to_string(),
+ //":all:".to_string(),
rule.package.clone(),
];
However And pymedphys appears to need a lot of its dependencies at startup based on |
I am attempting to package the pypi library
pymedphys
:When I run
pyoxidizer build
This fails in the following way:
Out of interest when I try to build tomlkit I get the following:
pymedphys and tomlkit both use Poetry with its PEP-517 based build system. Is that potentially what is causing this issue?
The text was updated successfully, but these errors were encountered: