I have a package (say AAA) where the package itself and the tests depend on a local dev’ed package (BBB). Accordingly, I have package BBB both in AAA’s environment and in AAA/test environment like this:
Project AAA v0.1.0 Status `C:\Data\Projects\AAA\Project.toml` [781ca222] BBB v0.5.19 [`..\BBB`] [a93c6f00] DataFrames v0.21.2
Status `C:\Data\Projects\AAA\test\Project.toml` [781ca222] BBB v0.5.19 [`..\..\BBB`] [a93c6f00] DataFrames v0.21.2 [8dfed614] Test
When I try to test package AAA using Julia 1.4.2, I get
(AAA) pkg> test Testing AAA ERROR: can not merge projects
The same test runs fine in Julia 1.3.1. So something seems to have changed between 1.3.1 and 1.4.2. How can this be resolved?
This seems to affect local dev’ed packages. Equivalent tests using for example DataFrames works fine.