-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
[WIP] backports release 1.4 #1776
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When doing Artifact tests, we need to be resilient to strange umasks that we have inherited from our environment, screwing up git tree hash calculations. To do this, we have a `walkdir()` -> `chmod()` wrapper function that started setting permissions on what it thought were files (due to the fixed `follow_symlink == false` behavior in JuliaLang/julia#35006) but were actually directories. This caused `chmod()` to apply `0o664` permissions to directories, which were then inaccessible to `rm()` as it tried to delete them. This fixes #1716 (cherry picked from commit 7366c8c, PR #1721)
3a92dbb
to
00f4191
Compare
Maybe we should exclude "Fix that version ranges in keys for one registry also applies to vers…"? Might be better to just leave that alone for 1.4? |
Sure. Btw, whats up with Julia master:
|
00f4191
to
32b8ab8
Compare
Feels like it could have something to do with JuliaLang/julia#35390...? |
Think it needs #1746. While not applicable to 1.4 Julia I think it should make the tests pass on nightly. |
Thanks. |
* Remove trailing slash from URL. * Add test for trailing slash in URL. Co-authored-by: Gunnar Farnebäck <gunnar.farneback@contextvision.se> (cherry picked from commit 2f953bb)
This is a companion PR to JuliaLang/julia#35714 and accounts for a subset of the gains reported there. The more specific implementations of `==` and `hash` avoid a `collect`; that branch prevents many `collect`-induced invalidations via the `iteratorsize` trick, but this change is probably a good idea anyway. The more important and subtle one is the one in TOML._print. This is used by a large number of methods in Pkg, so it's important to prevent it from being invalidated. Do to nospecialize markers, this method gets inferred for partially- specified types, and the `a` is typically just `AbstractDict`. However, `Iterators.Pairs` is also an AbstractDict, and the return type of `keys` cannot be inferred from the parameters of `AbstractDict{K,V}` because the `itr` field of a pair uses a later parameter. This short-circuits the whole problem by "hand-inlining" the result of `invoke(keys, Tuple{AbstractDict})` at the call site, i.e., just creating a `KeySet` directly. (cherry picked from commit d30adaf)
(cherry picked from commit 55e9763)
(cherry picked from commit 8e732fc)
(cherry picked from commit a559a85)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.