What is the proper way to treat LazyArtifacts

I am developing a package that has an artifact set up as lazy as shown in the following Project.toml and so requires using LazyArtifacts, which is part of stdlib. However, resolve() complains that it has no known versions. Any help on what I’m missing gratefully received.

name = "DiscoveryGraph"
uuid = "6c26c9e7-0ef1-44eb-bb5c-4a6256936300"
version = "0.5.0"
authors = ["Richard Careaga"]

[deps]
Arrow = "69666777-d1a9-59fb-9406-91d4454c9d45"
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
LazyArtifacts = "05491b90-6390-54a0-ae86-73317b24ee23"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SimpleWeightedGraphs = "47aef6b3-ad0c-573a-a1e2-d07658019622"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
XLSX = "fdbf4ff8-1666-58a4-91e7-1b58723a45e0"

[compat]
Arrow = "2"
Artifacts = "1"
CondaPkg = "0.2"
DataFrames = "1.6"
Dates = "1"
Graphs = "1.9"
LinearAlgebra = "1"
PythonCall = "0.9"
Random = "1"
SimpleWeightedGraphs = "1.4"
SparseArrays = "1"
Statistics = "1"
StatsBase = "0.34"
XLSX = "0.10.4"
julia = "1.10"

[extras]
Test = "8dfed614-e22c-358e-b80d-c28e3d4741a3"
XLSX = "fdbf4ff8-1666-58a4-91e7-1b58723a45e0"

[targets]
test = ["Test", "XLSX"]

Where did you find that UUID? It should be

LazyArtifacts = "4af54fe1-eca0-43a8-85a7-787d91b784e3"

Did you use any GenAI tool by any chance? I’ve seen them making up UUIDs several times.

2 Likes

Guilty. I’ll know to check the Registry in the future.

Or actually use the package manager to create the project file :slightly_smiling_face:

2 Likes