Skip to content

No network #117

Open
Open
@tfmoraes

Description

@tfmoraes

I'm testing pyapp and I'm liking it a lot. But in my testings it's always needed to have network to run the application for the first time. I tested with PYAPP_FULL_ISOLATION=1 and PYAPP_DISTRIBUTION_EMBED=1 this way:

PYAPP_DISTRIBUTION_FORMAT="tar|zstd" PYAPP_PROJECT_PATH="$PWD/dist/bioscaffolds-0.1.0.post213.dev0+8e76bb1-py3-none-any.whl" PYAPP_EXEC_MODULE="BioScaffolds" PYAPP_PROJECT_NAME="BioScaffolds" PYAPP_PROJECT_VERSION="0.1.0.post216.dev0+3d0ad9c" PYAPP_DISTRIBUTION_EMBED=1 PYAPP_PROJECT_DEPENDENCY_FILE="$PWD/requirements.txt" PYAPP_FULL_ISOLATION=1 PYAPP_IS_GUI=1 cargo install pyapp --force --root dist

And when I try to run without network:

dist/bin/pyapp
Error: unable to unpack to /var/home/thiago/.local/share/pyapp/bioscaffolds/15033190860216094598/0.1.0.post213.dev0+8e76bb1
failed to iterate over archive

I tested with PYAPP_SKIP_INSTALL=1 and I had the same problem.

Is it possible to make the executable no need network on runtime?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions