Skip to content

Apps/libraries/sysimages that have no package dependancies trigger unnecessary warning #692

@LilithHafner

Description

@LilithHafner

If I make a simple package with no dependencies and compile it to a sysimage/app/library with PackageCompiler, I get:

┌ Warning: it is not recommended to create an app/library without a preexisting manifest
└ @ PackageCompiler ~/.julia/packages/PackageCompiler/X7R0D/src/PackageCompiler.jl:66

Even though I do have a preexisting manifest file, it's just empty:

# This file is machine-generated - editing it directly is not advised

julia_version = "1.7.3"
manifest_format = "2.0"

[deps]

This is because a manifest without dependencies is interpreted as a missing manifest.

if isempty(ctx.env.manifest)

(from discourse)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions