I know that Pkg3 is still in active development and detailed documentation is coming soon, but right now I have a couple of issues that block me from updating my packages and thus want to overcome them, either using official tools or recommended workarounds.
It seems like in Pkg3 you can’t be
usinganother package without
adding them to the project. Adding to the project requires
Project.toml, but there seems to be no official way to generate it for existing package. My current workaround: generate a fake project, copy its
Project.tomland updated required fields. Is it the recommended to fix the issue? Should I make PRs to METADATA using
Project.tomlgenerated this way?
As far as I understand, dependencies for a package should be both - described in
added to the project using the same versions. Is there easier / less error-prone way to handle deps?
adding a project using git URL fails if any of its dependencies cannot be satisfied, so the code isn’t even downloaded to the disk and can’t be modified. My current workaround:
.julia/dev, but I’m not sure I don’t break any internal machinery using this hack.
Please let me if there are better ways to fix these issues.