Skip to content

Commit 3082b39

Browse files
bors[bot]vchuravyDilumAluthge
authored
Merge #516
516: Require `[compat]` for stdlib dependencies r=DilumAluthge a=vchuravy Fixes #515, by no longer treating stdlibs as special. --- (Note: previously, this PR also added the requirement for JLL dependencies. That was removed from this PR.) Co-authored-by: Valentin Churavy <[email protected]> Co-authored-by: Valentin Churavy <[email protected]> Co-authored-by: Dilum Aluthge <[email protected]>
2 parents a4bedb6 + 0974fd6 commit 3082b39

File tree

19 files changed

+31
-17
lines changed

19 files changed

+31
-17
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "RegistryCI"
22
uuid = "0c95cc5f-2f7e-43fe-82dd-79dbcba86b32"
33
authors = ["Dilum Aluthge <[email protected]>", "Fredrik Ekre <[email protected]>", "contributors"]
4-
version = "8.4.1"
4+
version = "9.0.0"
55

66
[deps]
77
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

src/AutoMerge/guidelines.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ function meets_compat_for_all_deps(working_directory::AbstractString, pkg, versi
9191
for version_range in keys(deps)
9292
if version in Pkg.Types.VersionRange(version_range)
9393
for name in keys(deps[version_range])
94-
if !is_jll_name(name) && !is_julia_stdlib(name)
95-
@debug("Found a new (non-stdlib non-JLL) dependency: $(name)")
94+
if !is_jll_name(name)
95+
@debug("Found a new (non-JLL) dependency: $(name)")
9696
dep_has_compat_with_upper_bound[name] = false
9797
end
9898
end

src/AutoMerge/util.jl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -239,20 +239,6 @@ function comment_text_merge_now()
239239
return result
240240
end
241241

242-
is_julia_stdlib(name) = name in julia_stdlib_list()
243-
244-
function julia_stdlib_list()
245-
stdlib_list = readdir(Pkg.Types.stdlib_dir())
246-
# Before Julia v1.6 Artifacts.jl isn't a standard library, but
247-
# we want to include it because JLL packages depend on the empty
248-
# placeholder https://github.com/JuliaPackaging/Artifacts.jl
249-
# in older versions for compatibility.
250-
if VERSION < v"1.6.0"
251-
push!(stdlib_list, "Artifacts")
252-
end
253-
return stdlib_list
254-
end
255-
256242
function now_utc()
257243
utc = TimeZones.tz"UTC"
258244
return Dates.now(utc)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[1]
22
julia = "1"
3+
UUIDs = "1"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[1-2]
22
julia = "1"
3+
UUIDs = "1"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[1]
22
julia = "1"
3+
UUIDs = "1"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[1-2]
22
julia = "1"
3+
UUIDs = "1"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[1-2]
22
julia = "1"
3+
UUIDs = "1"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
["0-0.4"]
22
julia = "0.7-1"
3+
Random = "0.7-1"
4+
Test = "0.7-1"
35

46
["0.5-1"]
57
julia = "1"
8+
Random = "1"
9+
Test = "1"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[1]
22
julia = "1.3.0-1"
3+
Libdl = "1.3.0-1"
4+
Pkg = "1.3.0-1"

0 commit comments

Comments
 (0)