Skip to content

The Pkg test suite (specifically, the test/manifests.jl tests) should treat the Pkg.jl source code directory as immutable #2969

@Moelf

Description

@Moelf

tests involve stdlib/v1.7/Pkg/test/manifest/formats/v1.0/Manifest.toml_backup etc. don't work:

open("/cvmfs/sft-nightlies.cern.ch/lcg/nightlies/dev4/Sat/julia/1.7.1/x86_64-centos7-gcc10-opt/share/julia/stdlib/v1.7/Pkg/test/manifest/formats/v1.0/Manifest.toml_backup", 577, 33188): read-only file system (EROFS)

things like:

julia -e "using Pkg; Pkg.add(Revise)"

works because DEPOT_PATH is not touched, the read-only path is appended in LOAD_PATH so it works as expected.

Can we fix tests to use the DEPOT_PATH in cases like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions