Skip to content

Commit 0831859

Browse files
committed
Set min Julia to 1.6 and drop BinaryProvider
1 parent 1729b6c commit 0831859

File tree

5 files changed

+4
-116
lines changed

5 files changed

+4
-116
lines changed

Project.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ license = "MIT"
44
version = "1.10.0"
55

66
[deps]
7-
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
87
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
98
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
109
Decimals = "abce61dc-4473-55a0-ba07-351d65e31d42"
@@ -22,7 +21,6 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
2221
TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53"
2322

2423
[compat]
25-
BinaryProvider = "0.5"
2624
CEnum = "0.2, 0.3, 0.4"
2725
DataFrames = "0.20, 0.21"
2826
Decimals = "0.4.1"
@@ -36,7 +34,7 @@ Memento = "0.10, 0.11, 0.12, 0.13, 1"
3634
OffsetArrays = "0.9.1, 0.10, 0.11, 1"
3735
Tables = "0.2, 1"
3836
TimeZones = "0.9.2, 0.10, 0.11, 1"
39-
julia = "1"
37+
julia = "1.6"
4038

4139
[extras]
4240
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"

deps/build.jl

-55
This file was deleted.

deps/build_OpenSSL.jl

-45
This file was deleted.

src/LibPQ.jl

+1-9
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,7 @@ include(joinpath(@__DIR__, "utils.jl"))
5353
module libpq_c
5454
export Oid
5555

56-
@static if VERSION < v"1.3.0"
57-
include(joinpath(@__DIR__, "..", "deps", "deps.jl"))
58-
59-
function __init__()
60-
return check_deps()
61-
end
62-
else
63-
using LibPQ_jll
64-
end
56+
using LibPQ_jll
6557

6658
include(joinpath(@__DIR__, "headers", "libpq-fe.jl"))
6759
end

test/runtests.jl

+2-4
Original file line numberDiff line numberDiff line change
@@ -1790,10 +1790,8 @@ end
17901790
wait(ar)
17911791
@test false
17921792
catch err
1793-
if VERSION >= v"1.3.0-alpha.110"
1794-
while err isa TaskFailedException
1795-
err = err.task.exception
1796-
end
1793+
while err isa TaskFailedException
1794+
err = err.task.exception
17971795
end
17981796
@test err isa LibPQ.Errors.JLConnectionError
17991797
end

0 commit comments

Comments
 (0)