-
-
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
Use require(pkgid, ...)
instead of relative require
#29770
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add test that JULIA_PROJECT= ./julia -p 1
works?
This comment has been minimized.
This comment has been minimized.
Does anyone have a good test for this? |
The error here seems unrelated, but also quite odd on both Win32 and Linux32 we are getting an error the BigInt is an undefined variable.
|
This is the most minimal test case I've found to trigger the missing Sockets package bug. $ nc -l 12345 &
$ exec 3<>/dev/tcp/localhost/12345
$ ./julia <&3 julia 1.0.0 and 1.0.1 crash and with this pull request they don't crash. However, if/when julia successfully initialises, the program will wait for input from the port nc is listening on. To work around this I came up with: $ timeout 5 nc -l 12345 &
$ exec 3<>/dev/tcp/localhost/12345
$ ./julia <&3 I'm not sure of your test environment, but this needs a netcat implementation, timeout (in coreutils) and bash compiled with "--enable-net-redirections". |
This comment has been minimized.
This comment has been minimized.
@bjarthur Comments like this are not productive, and do not make it more likely for me or someone else to do something. @jameshclrk Thanks! timeout 5 nc -l 12345 &
exec 3<>/dev/tcp/localhost/12345
./julia -e "exit()" -i <&3 Seems to do what I want. I was trying to make |
|
sorry. i could've worded that better. but i thought it would be good for the core developers to know the feedback i'm getting about the 1.0 release. i get tired of having to explain that in julia-land, 1.0 just means a feature freeze, and not that everything works. people just don't get it, because nothing else works that way. at any rate, thanks for working on this. it's way beyond my familiarity with base. i look forward to introducing this colleague to julia once it lands. |
You got it! If you call TCPSocket() with delay=false, it causes the crash.
|
Co-authored-by: Jameson Nash <[email protected]>
Ok, this should be good to go and I will merge once CI is green. |
Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 6ae6551)
Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 6ae6551)
Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 6ae6551)
Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 6ae6551)
Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 6ae6551)
Should fix #29234 and supersedes #29252