If my registry is out of date, but I close a project that someone else has been working on (perhaps with a manifest),
then I can have a (direct or indirect) dependency that resolve thinks it can't satisfy due to it being a larger version number than anything in the registry.
For example
(MyProject) pkg> resolve
ERROR: Unsatisfiable requirements detected for package MathTeXEngine [0a4f8689]:
MathTeXEngine [0a4f8689] log:
├─possible versions are: 0.1.0 - 0.5.6 or uninstalled
└─restricted to versions 0.5.7 by an explicit requirement — no versions left
The solution in this case is to update the registry, either directly via registry update or via something like up which will trigger an update.
Pkg could notice this and prompt you to update registry,
that would be clearer than this error.
Technically there are 4 ways I know this can occur
Out of date registry (as described above)
Direct dependency, which is supposed to be deved to a version that has the update in its Project.toml (love that feature that that works)
the release has been made but it is in a registry you don't have installed
there was a mistake in the [compat] section of the Project.toml
I think 1 is the most likely so we could have a helpful message suggesting that as a first thing to try?
If my registry is out of date, but I close a project that someone else has been working on (perhaps with a manifest), then I can have a (direct or indirect) dependency that
resolve
thinks it can't satisfy due to it being a larger version number than anything in the registry.For example
The solution in this case is to update the registry, either directly via
registry update
or via something likeup
which will trigger an update. Pkg could notice this and prompt you to update registry, that would be clearer than this error.Technically there are 4 ways I know this can occur
dev
ed to a version that has the update in its Project.toml (love that feature that that works)[compat]
section of the Project.tomlI think 1 is the most likely so we could have a helpful message suggesting that as a first thing to try?