File tree 3 files changed +6
-9
lines changed 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 41
41
arch : ${{ matrix.architecture }}
42
42
show-versioninfo : true
43
43
44
- # Revert to `@v1` after this PR is merged:
45
- # https://github.com/JuliaLang/PackageCompiler.jl/pull/443
46
- - run : julia -e 'using Pkg; pkg"add PackageCompiler#cb994c72e2087c57ffa4727ef93589e1b98d8a32"'
47
-
48
- # Workaround https://github.com/JuliaLang/julia/issues/37441.
49
- # Once it's solved, we can remove the following line:
50
- - run : julia -e 'using Pkg; pkg"dev PyCall"'
44
+ - run : julia -e 'using Pkg; pkg"add PackageCompiler@v1"'
51
45
52
46
- run : aot/compile.jl
53
47
- run : aot/assert_has_pycall.jl
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
thisdir=" $( dirname " ${BASH_SOURCE[0]} " ) "
3
- exec " $thisdir /julia.sh" --startup-file=no --color=yes -e '
3
+ exec " $thisdir /julia.sh" --startup-file=no --color=yes --project= $thisdir - e '
4
4
using Pkg
5
5
Pkg.test("PyCall")
6
6
'
Original file line number Diff line number Diff line change @@ -170,7 +170,10 @@ function pyany_toany(T::Type)
170
170
end
171
171
pyany_toany (:: Type{PyAny} ) = Any
172
172
pyany_toany (t:: Type{T} ) where {T<: Tuple } = Tuple{map (pyany_toany, t. types)... }
173
-
173
+ @static if isdefined (Core, :TypeofVararg ) # VERSION >= v"1.7.0-DEV.77"
174
+ # Core.TypeofVararg introduced in https://github.com/JuliaLang/julia/pull/38136
175
+ pyany_toany (T:: typeof (Vararg)) = T === Vararg{PyAny} ? Vararg{Any} : T
176
+ end
174
177
# PyAny acts like Any for conversions, except for converting PyObject (below)
175
178
convert (:: Type{PyAny} , x) = x
176
179
You can’t perform that action at this time.
0 commit comments