Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow testing projects without a UUID #3074

Open
cossio opened this issue May 2, 2022 · 2 comments
Open

Allow testing projects without a UUID #3074

cossio opened this issue May 2, 2022 · 2 comments

Comments

@cossio
Copy link
Contributor

cossio commented May 2, 2022

Currently if you try to Pkg.test a project without an UUID, it will throw this error:

ERROR: trying to test unnamed project

Even if the project has a name.

Is there any reason why the Project.toml needs to have an UUID if I want to test it?

@cossio
Copy link
Contributor Author

cossio commented May 2, 2022

Related: #1982

@AnHeuermann
Copy link

For me it would already be an improvement to make the error message more specific. I needed to search for a while until I noticed that the missing UUID was the reason for the error message.
I created a Julia project that is not a package using DrWatson, see JuliaDynamics/DrWatson.jl#67.

So for the missing UUID something like

ERROR: trying to test unnamed project (missing UUID in Project.toml)

would improve my experience.


Also related to #1253.

alecloudenback added a commit to alecloudenback/Pkg.jl that referenced this issue Jun 27, 2023
I ran into this issue today and was confused because my project had a name but no UUID.

ref JuliaLang#3074
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants