-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
[BinaryPlatforms]: fix triplet breakage #2042
Conversation
We momentarily broke the MacOS (and FreeBSD, although I'm not sure that was actually noticed ;P) ecosystem by changing slightly the rules around `triplet(::Platform)`. `Base.BinaryPlatforms` keeps track of the `os_version` and appends it to the end of the triplet for `MacOS` and `FreeBSD`, but on older versions of julia they are always expected to be `14` and `11.1`, respectively. This PR maintains that willful ignorance when an old package calls `Pkg.BinaryPlatforms.triplet()`, but for new packages that are ready to wake up and stop living in a simulation, they can use `Base.BinaryPlatforms.triplet()` to get the full, glorious, properly-versioned triplet string.
83d222f
to
c97295f
Compare
Tests fail on Linux
etc |
Like a magician, I wave my hands and suddenly it starts working. (It was waiting on a new nightly) The windows nightly itself seems borked, but that's unrelated to this PR. |
appveyor.yml
Outdated
@@ -1,5 +1,5 @@ | |||
environment: | |||
APPVEYOR_RDP_PASSWORD: juliadebugging42 | |||
APPVEYOR_RDP_PASSWORD: juliadebugging42PLEASE |
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.
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.
It's only weird if it doesn't work
db8e1d0
to
c97295f
Compare
Alright, I think I figured out the windows issue, PR here: JuliaLang/julia#37758 In the meantime, Kristoffer, I think this PR is ready for your attentions again. :) |
We momentarily broke the MacOS (and FreeBSD, although I'm not sure that
was actually noticed ;P) ecosystem by changing slightly the rules around
triplet(::Platform)
.Base.BinaryPlatforms
keeps track of theos_version
and appends it to the end of the triplet forMacOS
andFreeBSD
, but on older versions of julia they are always expected to be14
and11.1
, respectively. This PR maintains that willful ignorancewhen an old package calls
Pkg.BinaryPlatforms.triplet()
, but for newpackages that are ready to wake up and stop living in a simulation, they
can use
Base.BinaryPlatforms.triplet()
to get the full, glorious,properly-versioned triplet string.