You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a "known" issue but I couldn't find it filed anywhere. If resolve fixes the dependencies of a dev'd package in a way that doesn't add new dependencies to the overall Manifest, then "no changes" are reported, even if the Manifest is indeed changed.
Ok, now we have PkgA which dev's PkgB, which depends on Dates. All is well. Now edit PkgB to do using Unicode. Then
> julia -q --project=PkgA
julia>using PkgB
[ Info: Precompiling PkgB [1821aa1f-13ce-41b2-bd12-ba9ec74d35d8]
┌ Warning: Package PkgB does not have Unicode in its dependencies:
│ - If you have PkgB checked out for development and have
│ added Unicode as a dependency but haven't updated your primary
│ environment's manifest file, try`Pkg.resolve()`.
│ - Otherwise you may need to report an issue with PkgB
└ Loading Unicode into PkgB from project dependency, future warnings for PkgB are suppressed.
Ok, we need to add Unicode to PkgB's deps and resolve:
(PkgA) pkg> activate PkgB
Activating project at `~/PkgB`
(PkgB) pkg> add Unicode
Resolving package versions...
Updating `~/PkgB/Project.toml`
[4ec0a83e] + Unicode
No Changes to `~/PkgB/Manifest.toml`
(PkgB) pkg> activate PkgA
Activating project at `~/PkgA`
(PkgA) pkg> resolve
No Changes to `~/PkgA/Project.toml`
No Changes to `~/PkgA/Manifest.toml`
No changes to the manifest or project! However, the problem has indeed been fixed:
❯ julia -q --project=PkgA
julia>using PkgB
(no warnings).
I think we should change "no changes" to something more accurate, like "No added or removed packages".
The text was updated successfully, but these errors were encountered:
This is a "known" issue but I couldn't find it filed anywhere. If
resolve
fixes the dependencies of a dev'd package in a way that doesn't add new dependencies to the overall Manifest, then "no changes" are reported, even if the Manifest is indeed changed.Ok, now we have PkgA which dev's PkgB, which depends on Dates. All is well. Now edit PkgB to do
using Unicode
. ThenOk, we need to add Unicode to PkgB's deps and resolve:
No changes to the manifest or project! However, the problem has indeed been fixed:
(no warnings).
I think we should change "no changes" to something more accurate, like "No added or removed packages".
The text was updated successfully, but these errors were encountered: