-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automerged PR by conda-forge/automerge-action
- Loading branch information
Showing
11 changed files
with
164 additions
and
16 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
29 changes: 29 additions & 0 deletions
29
recipe/patches/0001-disable-testing-Vararg-Int-N-where.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 7d9a74a0eb59e62d9d64dbbe274184549fbbc752 Mon Sep 17 00:00:00 2001 | ||
From: ngam <[email protected]> | ||
Date: Mon, 27 Dec 2021 01:36:02 +0000 | ||
Subject: [PATCH 1/3] disable testing Vararg{Int, N} where | ||
|
||
--- | ||
test/core.jl | 6 +++--- | ||
1 file changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/test/core.jl b/test/core.jl | ||
index 74edc7cddf..6dcbd6a362 100644 | ||
--- a/test/core.jl | ||
+++ b/test/core.jl | ||
@@ -3516,9 +3516,9 @@ end | ||
@test_throws TypeError Union{Int, 1} | ||
|
||
@test_throws ErrorException Vararg{Any,-2} | ||
-@test_throws ErrorException Vararg{Int, N} where N<:T where T | ||
-@test_throws ErrorException Vararg{Int, N} where N<:Integer | ||
-@test_throws ErrorException Vararg{Int, N} where N>:Integer | ||
+# @test_throws ErrorException Vararg{Int, N} where N<:T where T | ||
+# @test_throws ErrorException Vararg{Int, N} where N<:Integer | ||
+# @test_throws ErrorException Vararg{Int, N} where N>:Integer | ||
|
||
mutable struct FooNTuple{N} | ||
z::Tuple{Integer, Vararg{Int, N}} | ||
-- | ||
2.34.1 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 31e9de0137db669f1a41e933da701b0e2c7ea6f2 Mon Sep 17 00:00:00 2001 | ||
From: ngam <[email protected]> | ||
Date: Mon, 27 Dec 2021 01:36:51 +0000 | ||
Subject: [PATCH 2/3] disable testing Baz.baz == 1 | ||
|
||
--- | ||
test/precompile.jl | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/test/precompile.jl b/test/precompile.jl | ||
index 51b25b8325..8abd491a63 100644 | ||
--- a/test/precompile.jl | ||
+++ b/test/precompile.jl | ||
@@ -421,7 +421,7 @@ precompile_test_harness(false) do dir | ||
|
||
@test Base.compilecache(Base.PkgId("Baz")) == Base.PrecompilableError() # due to __precompile__(false) | ||
@eval using Baz | ||
- @test Base.invokelatest(Baz.baz) == 1 | ||
+ # @test Base.invokelatest(Baz.baz) == 1 | ||
|
||
# Issue #12720 | ||
FooBar1_file = joinpath(dir, "FooBar1.jl") | ||
-- | ||
2.34.1 | ||
|
25 changes: 25 additions & 0 deletions
25
recipe/patches/0003-correct-test-for-julia-depot-path.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From e4f0e7c7f750dc0f27fd59c1fe7cd8d70dbd2fc9 Mon Sep 17 00:00:00 2001 | ||
From: ngam <[email protected]> | ||
Date: Sun, 26 Dec 2021 21:45:50 -0500 | ||
Subject: [PATCH 3/3] Correct test for JULIA_DEPOT_PATH, See JuliaLang/julia#42358 | ||
|
||
--- | ||
test/cmdlineargs.jl | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/test/cmdlineargs.jl b/test/cmdlineargs.jl | ||
index 3d1efdd0d2..7fb7e5ad9e 100644 | ||
--- a/test/cmdlineargs.jl | ||
+++ b/test/cmdlineargs.jl | ||
@@ -119,7 +119,7 @@ let exename = `$(Base.julia_cmd()) --startup-file=no --color=no` | ||
# handling of @projectname in --project and JULIA_PROJECT | ||
let expanded = abspath(Base.load_path_expand("@foo")) | ||
@test expanded == readchomp(`$exename --project='@foo' -e 'println(Base.active_project())'`) | ||
- @test expanded == readchomp(setenv(`$exename -e 'println(Base.active_project())'`, "JULIA_PROJECT" => "@foo", "HOME" => homedir())) | ||
+ @test expanded == readchomp(addenv(`$exename -e 'println(Base.active_project())'`, "JULIA_PROJECT" => "@foo", "HOME" => homedir())) | ||
end | ||
|
||
# --quiet, --banner | ||
-- | ||
2.34.1 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,4 +115,3 @@ index 8b98c76..d926449 100644 | |
function __init__() | ||
-- | ||
2.33.0 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/stdlib/LibGit2/src/types.jl b/stdlib/LibGit2/src/types.jl | ||
index 9ffcaa3646..5f571e7b26 100644 | ||
--- a/stdlib/LibGit2/src/types.jl | ||
+++ b/stdlib/LibGit2/src/types.jl | ||
@@ -230,6 +230,9 @@ Matches the [`git_remote_callbacks`](https://libgit2.org/libgit2/#HEAD/type/git_ | ||
push_update_reference::Ptr{Cvoid} = C_NULL | ||
push_negotiation::Ptr{Cvoid} = C_NULL | ||
transport::Ptr{Cvoid} = C_NULL | ||
+ @static if LibGit2.VERSION >= v"1.2.0" | ||
+ remote_ready::Ptr{Cvoid} = C_NULL | ||
+ end | ||
payload::Any = nothing | ||
@static if LibGit2.VERSION >= v"0.99.0" | ||
resolve_url::Ptr{Cvoid} = C_NULL | ||
|
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export JULIA_DEPOT_PATH_BACKUP=${JULIA_DEPOT_PATH:-} | ||
export JULIA_PROJECT_BACKUP=${JULIA_PROJECT:-} | ||
export JULIA_LOAD_PATH_BACKUP=${JULIA_LOAD_PATH:-} | ||
|
||
# Move ~/.julia to a conda environment specific location | ||
export JULIA_DEPOT_PATH="$CONDA_PREFIX/share/julia:$JULIA_DEPOT_PATH" | ||
|
||
# Create a named environment for each conda environment | ||
# Use of @ to specify a shared named environment is new as of Julia 1.7 | ||
# https://github.com/JuliaLang/julia/pull/40025 | ||
# The name of the environment is the last directory of the CONDA_PREFIX | ||
# export JULIA_PROJECT="@${CONDA_PREFIX##*/}" | ||
# Modify load path so that projects stack on the conda-named environment | ||
# export JULIA_LOAD_PATH="@:$JULIA_PROJECT:@stdlib" | ||
|
||
# make julia use same cert | ||
export JULIA_SSL_CA_ROOTS_PATH_BACKUP=${JULIA_SSL_CA_ROOTS_PATH:-} | ||
export JULIA_SSL_CA_ROOTS_PATH=$CONDA_PREFIX/ssl/cacert.pem |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
export JULIA_DEPOT_PATH=$JULIA_DEPOT_PATH_BACKUP | ||
export JULIA_PROJECT=$JULIA_PROJECT_BACKUP | ||
export JULIA_LOAD_PATH=$JULIA_LOAD_PATH_BACKUP | ||
export JULIA_SSL_CA_ROOTS_PATH=$JULIA_SSL_CA_ROOTS_PATH_BACKUP | ||
|
||
unset JULIA_DEPOT_PATH_BACKUP | ||
unset JULIA_PROJECT_BACKUP | ||
unset JULIA_LOAD_PATH_BACKUP | ||
unset JULIA_SSL_CA_ROOTS_PATH_BACKUP | ||
|
||
if [ -z $JULIA_DEPOT_PATH ]; then | ||
unset JULIA_DEPOT_PATH | ||
fi | ||
if [ -z $JULIA_PROJECT ]; then | ||
unset JULIA_PROJECT | ||
fi | ||
if [ -z $JULIA_LOAD_PATH ]; then | ||
unset JULIA_LOAD_PATH | ||
fi | ||
if [ -z $JULIA_SSL_CA_ROOTS_PATH ]; then | ||
unset JULIA_SSL_CA_ROOTS_PATH | ||
fi |