Gregory Szorc
Gregory Szorc
I looked at this over the weekend. I was soft blocked after running into a bug with `patchelf` corrupting ELF binaries. I need to read up on how the GNU...
The main blocker is teaching https://github.com/indygreg/python-build-standalone to produce a standalone Python distribution compiled for [Free]BSD. I imagine that will look a lot like how the Linux build is performed. We...
PyOxidizer is written in Rust and an sdist wheel doesn't make much sense. The wheels exist mostly to facilitate turnkey installation of the binary for Python developers. For FreeBSD, I...
I cannot reproduce this locally. But it reproduces in CI, which is concerning. In my Ubuntu 22.10 environment I do get an error due to a missing symbol used by...
``` thread 'main' panicked at 'already borrowed: BorrowMutError', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.17.3/src/gil.rs:433:52 stack backtrace: 0: rust_begin_unwind at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/std/src/panicking.rs:575:5 1: core::panicking::panic_fmt at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/panicking.rs:65:14 2: core::result::unwrap_failed at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/result.rs:1791:5 3: core::result::Result::expect at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/result.rs:1070:23 4: core::cell::RefCell::borrow_mut at...
OK, this is a quirk / possible bug with PyO3. This is choking on the `holder.borrow_mut()` call in the following code in `gil.rs`. ``` pub unsafe fn register_owned(_py: Python
Using Cargo in offline is a legitimate feature request. We should add an `--offline` flag to the various `pyoxidizer` commands that invoke `cargo`.
Packaging C extensions from pre-built virtualenvs won't work (this needs to be documented better). C extensions will only be packaged for packaging rules that invoke pip or setup.py. But, uh,...
TIL NumPy vendors its own complete copy of `distutils`, which it has modified for its own personal gain and uses exclusively as part of builds. So by providing its own...
PyOxidizer 0.9 has a new _files mode_ which can be leveraged to enable PyOxidizer to work with complex packages like NumPy. See https://pyoxidizer.readthedocs.io/en/v0.9.0/packaging_additional_files.html#installing-unclassified-files-on-the-filesystem for an example of how to get...