[release-1.12] Fix AssertionError: normpath(entry.path) == normpath(path). Add test.#4568
Closed
IanButterworth wants to merge 2 commits intoJuliaLang:release-1.12from
Closed
[release-1.12] Fix AssertionError: normpath(entry.path) == normpath(path). Add test.#4568IanButterworth wants to merge 2 commits intoJuliaLang:release-1.12from
AssertionError: normpath(entry.path) == normpath(path). Add test.#4568IanButterworth wants to merge 2 commits intoJuliaLang:release-1.12from
Conversation
Commit 35c5f5b removed the code that syncs sources from manifest entries but kept the assertions checking that sources match manifest. This causes AssertionError when instantiating workspace projects with [sources] entries (e.g., path = "..") since the assertions check invariants that are no longer maintained. Fixes the error: ERROR: AssertionError: normpath(entry.path) == normpath(path)
Tests that workspace child projects with [sources] entries pointing to the parent package (e.g., path = "..") can be instantiated without errors.
Member
Author
|
Testing the added test without the fix #4569 (confirmed) |
AssertionError: normpath(entry.path) == normpath(path)AssertionError: normpath(entry.path) == normpath(path). Add test.
KristofferC
approved these changes
Dec 16, 2025
Member
Author
|
Folded into #4563 |
13 tasks
asinghvi17
added a commit
to JuliaGeo/ConservativeRegridding.jl
that referenced
this pull request
Jan 2, 2026
Needs to be reverted once 1.12.4 is out. see JuliaLang/Pkg.jl#4568
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#4539 removed the code that syncs sources from manifest entries but kept the assertions checking that sources match manifest. This causes
AssertionErrorwhen instantiating workspace projects with[sources]entries (e.g.,path = "..") since the assertions check invariants that are no longer maintained.Fixes the error: