indygreg / indygreg/PyOxidizer

Pyoxidizer build fails on fabric dependency (mac)

Open
#338 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

When I include fabric in my dependencies (regardless of how I add the resource) I get:

```
error: adding PythonExtensionModule

Caused by:
extension module _cffi_backend cannot be loaded from memory but memory loading required
```

I've tried to get resources using setup.py, using an exiting virtualenv, and using `exe.add_python_resources(exe.pip_install([...]))` with an explicit list of packages. All methods result in the same error and at the very least it is cause by fabric, presumably because of the SSH dependency.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the macOS build with fabric included, using the listed setup.py, existing virtualenv, and exe.pip_install approaches. Start by tracing how the _cffi_backend PythonExtensionModule is loaded from the installed resources; done means a fabric dependency can be packaged without the memory-loading error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.