-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
--project=@script
is broken or NEWS entry is incorrect (Julia 1.11.0-rc3)
#55606
Comments
Thanks for reporting! Let's focus on #55069 though 🙂 |
At a glance, I suspect that Issue 2 might be solved by fixing Issue 1 (if the base path is determined incorrectly, paths relative to it will be incorrect too). |
I am slightly doubtful the same fix will apply to both issues because in Issue 2 above an absolute path somehow gets introduced. In other words, if Issue 2 did just depend on Issue 1 getting the correct base path, then the Issue 2 result should be Active project: <current_directory>/foo/Project.toml which isn't the case, as I report above ( But I guess we'll see. |
Ah right, I think I just missed that nuance in a skim-read. I'll reopen the issue 🙂 |
Tests for JuliaLang#55606 and JuliaLang#55069
Tests for JuliaLang#55606 and JuliaLang#55069
Tests for JuliaLang#55606 and JuliaLang#55069
Tests for JuliaLang#55606 and JuliaLang#55069
This issue has two parts.
EDIT: Note that Issue 1 is a duplicate of #55069, but Issue 2 is not.
Issue 1
The following NEWS entry is incorrect:
In particular, it appears
--project=@script
has the same behavior as--project=@.
, which doesn't seem intended (though maybe I'm reading the NEWS entry incorrectly).MWE
In
<current_directory>/script_test/test.jl
:Result:
See #55069 for more details.
Issue 2
The previous part of the same NEWS entry is also incorrect:
In particular,
--project=@script/script_test
activates/script_test/Project.toml
. (Note this is an absolute path, not a relative path!)MWE
Same
test.jl
file as above.Result:
The text was updated successfully, but these errors were encountered: