Skip to content

Commit f841a9e

Browse files
authored
Drop Requires.jl, bump to 0.18 (#1176)
* Drop Requires.jl, bump to 0.18 * Add note about minimum Julia version to HISTORY.md * Apply formatting
1 parent e34cdc0 commit f841a9e

File tree

10 files changed

+28
-43
lines changed

10 files changed

+28
-43
lines changed

HISTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Please also see the [release notes](https://github.com/JuliaIO/HDF5.jl/releases)
55
## v0.18.0 (in development)
66
* Refactor Dataspaces (#1104)
77
* Convert filter packages into package extensions (#1160)
8+
* Julia 1.9 is the minimum supported Julia version (#1176)
89

910
## v0.17.2
1011
* Fix variable length strings as attributes (#1130)

Project.toml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "HDF5"
22
uuid = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
3-
version = "0.17.1"
3+
version = "0.18.0"
44

55
[deps]
66
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
@@ -11,9 +11,28 @@ Mmap = "a63ad114-7e13-5084-954f-fe012c677804"
1111
Preferences = "21216c6a-2e73-6563-6e65-726566657250"
1212
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1313
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
14-
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1514
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
1615

16+
[weakdeps]
17+
Blosc = "a74b3585-a348-5f62-a45c-50e91977d574"
18+
CodecBzip2 = "523fee87-0ab8-5b00-afb7-3ecf72e48cfd"
19+
CodecLz4 = "5ba52731-8f18-5e0d-9241-30f10d1ec561"
20+
CodecZstd = "6b39b394-51ab-5f42-8807-6242bab2b4c2"
21+
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
22+
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
23+
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
24+
bitshuffle_jll = "228fe19c-1b83-5282-a626-13744502a320"
25+
26+
[extensions]
27+
BloscExt = "Blosc"
28+
CodecBzip2Ext = "CodecBzip2"
29+
CodecLz4Ext = "CodecLz4"
30+
CodecZstdExt = "CodecZstd"
31+
FileIOExt = "FileIO"
32+
MPIExt = "MPI"
33+
OrderedCollectionsFileIOExt = ["FileIO", "OrderedCollections"]
34+
bitshuffle_jll_ext = "bitshuffle_jll"
35+
1736
[compat]
1837
Blosc = "0.7.3"
1938
CodecBzip2 = "0.7, 0.8"
@@ -24,20 +43,9 @@ HDF5_jll = "~1.10.5, ~1.12.0, ~1.14.0"
2443
MPI = "0.20"
2544
MPIPreferences = "0.1.7"
2645
Preferences = "1.3"
27-
Requires = "1.0"
2846
bitshuffle_jll = "0.4.2, 0.5"
2947
julia = "1.9"
3048

31-
[extensions]
32-
BloscExt = "Blosc"
33-
CodecBzip2Ext = "CodecBzip2"
34-
CodecLz4Ext = "CodecLz4"
35-
CodecZstdExt = "CodecZstd"
36-
FileIOExt = "FileIO"
37-
MPIExt = "MPI"
38-
OrderedCollectionsFileIOExt = ["FileIO", "OrderedCollections"]
39-
bitshuffle_jll_ext = "bitshuffle_jll"
40-
4149
[extras]
4250
Blosc = "a74b3585-a348-5f62-a45c-50e91977d574"
4351
CRC32c = "8bf52ea8-c179-5cab-976a-9e18b702a9bc"
@@ -59,13 +67,3 @@ bitshuffle_jll = "228fe19c-1b83-5282-a626-13744502a320"
5967

6068
[targets]
6169
test = ["Test", "MPI", "Distributed", "LinearAlgebra", "OrderedCollections", "Pkg", "CRC32c", "FileIO"]
62-
63-
[weakdeps]
64-
Blosc = "a74b3585-a348-5f62-a45c-50e91977d574"
65-
CodecBzip2 = "523fee87-0ab8-5b00-afb7-3ecf72e48cfd"
66-
CodecLz4 = "5ba52731-8f18-5e0d-9241-30f10d1ec561"
67-
CodecZstd = "6b39b394-51ab-5f42-8807-6242bab2b4c2"
68-
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
69-
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
70-
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
71-
bitshuffle_jll = "228fe19c-1b83-5282-a626-13744502a320"

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ makedocs(;
3939
assets=String[],
4040
sidebar_sitename=false,
4141
# api_bindings.md will be large, consider splitting it up
42-
size_threshold_ignore=["api_bindings.md"],
42+
size_threshold_ignore=["api_bindings.md"]
4343
),
4444
pages=[
4545
"Home" => "index.md",

filters/H5Zbitshuffle/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
88
bitshuffle_jll = "228fe19c-1b83-5282-a626-13744502a320"
99

1010
[compat]
11-
HDF5 = "0.17"
11+
HDF5 = "0.17, 0.18"
1212
bitshuffle_jll = "0.4.2, 0.5"
1313
julia = "1.9"

filters/H5Zblosc/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Blosc = "a74b3585-a348-5f62-a45c-50e91977d574"
77
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
88

99
[compat]
10-
HDF5 = "0.17"
10+
HDF5 = "0.17, 0.18"
1111
Blosc = "0.7.3"
1212
julia = "1.9"

filters/H5Zbzip2/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ CodecBzip2 = "523fee87-0ab8-5b00-afb7-3ecf72e48cfd"
77
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
88

99
[compat]
10-
HDF5 = "0.17"
10+
HDF5 = "0.17, 0.18"
1111
CodecBzip2 = "0.7, 0.8"
1212
julia = "1.9"

filters/H5Zlz4/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ CodecLz4 = "5ba52731-8f18-5e0d-9241-30f10d1ec561"
77
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
88

99
[compat]
10-
HDF5 = "0.17"
10+
HDF5 = "0.17, 0.18"
1111
CodecLz4 = "0.4"
1212
julia = "1.9"

filters/H5Zzstd/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ CodecZstd = "6b39b394-51ab-5f42-8807-6242bab2b4c2"
77
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
88

99
[compat]
10-
HDF5 = "0.17"
10+
HDF5 = "0.17, 0.18"
1111
CodecZstd = "0.7, 0.8"
1212
julia = "1.9"

src/HDF5.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module HDF5
22

33
using Base: unsafe_convert
4-
using Requires: @require
54
using Mmap: Mmap
65
# needed for filter(f, tuple) in julia 1.3
76
using Compat
@@ -123,12 +122,6 @@ function __init__()
123122
ASCII_ATTRIBUTE_PROPERTIES.char_encoding = :ascii
124123
UTF8_ATTRIBUTE_PROPERTIES.char_encoding = :utf8
125124

126-
@static if !isdefined(Base, :get_extension)
127-
@require FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" include(
128-
"../ext/FileIOExt.jl"
129-
)
130-
end
131-
132125
return nothing
133126
end
134127

src/drivers/drivers.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ import ..API
66
import ..HDF5: HDF5, Properties, h5doc
77

88
using Libdl: dlopen, dlsym
9-
if !isdefined(Base, :get_extension)
10-
using Requires: @require
11-
end
129

1310
function get_driver(p::Properties)
1411
driver_id = API.h5p_get_driver(p)
@@ -90,10 +87,6 @@ function __init__()
9087
# Check whether the libhdf5 was compiled with parallel support.
9188
HDF5.HAS_PARALLEL[] = API._has_symbol(:H5Pset_fapl_mpio)
9289
HDF5.HAS_ROS3[] = API._has_symbol(:H5Pset_fapl_ros3)
93-
94-
@static if !isdefined(Base, :get_extension)
95-
@require MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" include("../../ext/MPIExt.jl")
96-
end
9790
end
9891

9992
# The docstring for `MPIO` basically belongs to the struct `MPIO` in

0 commit comments

Comments
 (0)