Skip to content

resolve reports "No changes to Manifest.toml" despite changing Manifest.toml #4031

Closed
@topolarity

Description

@topolarity

This seems to happen with updates that do not add / remove direct dependencies.

For example, if I start with two unrelated packages Foo and Bar:

$ cat testenv/Manifest.toml
# This file is machine-generated - editing it directly is not advised

julia_version = "1.10.5"
manifest_format = "2.0"
project_hash = "932500bcfbdcc09cf8ba2c662c200c798350bb5a"

[[deps.Bar]]
path = "../Bar"
uuid = "ed96e9dd-c367-45ab-9d59-befe4c57f37f"
version = "0.1.0"

[[deps.Foo]]
path = "../Foo"
uuid = "9b094d01-e697-4a76-8fe8-871656a862e0"
version = "0.1.0"

Add a dependency on Bar in Foo and then resolve:

$ julia +1.10 --project=testenv -q
(testenv) pkg> resolve
  No Changes to `~/repos/julia/testenv/Project.toml`
  No Changes to `~/repos/julia/testenv/Manifest.toml`

(testenv) pkg> ^D

Things did change though:

$ cat testenv/Manifest.toml
# This file is machine-generated - editing it directly is not advised

julia_version = "1.10.5"
manifest_format = "2.0"
project_hash = "932500bcfbdcc09cf8ba2c662c200c798350bb5a"

[[deps.Bar]]
path = "../Bar"
uuid = "ed96e9dd-c367-45ab-9d59-befe4c57f37f"
version = "0.1.0"

[[deps.Foo]]
deps = ["Bar"]
path = "../Foo"
uuid = "9b094d01-e697-4a76-8fe8-871656a862e0"
version = "0.1.0"

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