dependabot-julia 0.400.0 → 0.401.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22c71ce1df7cae71a73e4cf03663b35be32f1026a1f84f4615450ba449062261
4
- data.tar.gz: 408a55df020bd8588d50a2cc0db837e524bf2a3dc3d59588ec3bf20aed071d5b
3
+ metadata.gz: 398595cb4fa23d10fc7222d9efabbe19233383ad331a3db60cdf9d7d4305db42
4
+ data.tar.gz: 9017711a76c26f29f4d783028772647ad3977291ce08d63e73cb47889dfba4ce
5
5
  SHA512:
6
- metadata.gz: f714959e016ac030a54c39aa8d59e3302ad06419dc812e466a755a746f68e0f25a42e2762da0f8d92889b082c098bfff9946284e6584801561fc2eb56437ae4d
7
- data.tar.gz: f5175b774a60457d5e84d8f68aefb54a985bc05f6a6859f1d9ded13aae32109442d72ae3f27998916062e96fc4bafd87d1d78b0735ad2e8c3129ce72dd4d651f
6
+ metadata.gz: c0bdb2c5caeb3e37db65702f1eaa3713b16687772fef049aea556d60c33946bd445aca6eb1ba6aaa8c55bfc814172d6dbf9107a27ed9db063c151ddab4737870
7
+ data.tar.gz: 0b409f8b384e0690a26fb697750e30551d7f4e8fb07f246f276d068dfa2225d9027d99bd088fb1fa0fc8d3e577ec2d977c5ea0b737b1cbb531237df49b7e2f1d
@@ -224,28 +224,27 @@ module Dependabot
224
224
 
225
225
  private
226
226
 
227
- # A "<0.0.1" bound on a stdlib looks like a bug unless explained
227
+ # A "<0.0.1" bound on a stdlib looks like a bug unless explained.
228
+ # The text names no packages, so a PR across several directories shows it only once.
228
229
  sig { void }
229
230
  def add_zero_version_bound_notice
230
- names = dependencies.filter_map do |dependency|
231
- next unless dependency.metadata.key?(:julia_stdlib_versions)
232
- next if zero_version_bound?(dependency.previous_requirements)
233
- next unless zero_version_bound?(dependency.requirements)
234
-
235
- "`#{dependency.name}`"
231
+ bound_added = dependencies.any? do |dependency|
232
+ dependency.metadata.key?(:julia_stdlib_versions) &&
233
+ !zero_version_bound?(dependency.previous_requirements) &&
234
+ zero_version_bound?(dependency.requirements)
236
235
  end
237
- return if names.empty?
236
+ return unless bound_added
238
237
 
239
- subject = names.one? ? "#{names.first} is a standard library" : "#{names.join(', ')} are standard libraries"
240
238
  @notices << Dependabot::Notice.new(
241
239
  mode: Dependabot::Notice::NoticeMode::INFO,
242
240
  type: "julia_stdlib_zero_version_bound",
243
241
  package_manager_name: "Pkg",
244
242
  title: "Why stdlib compat entries include `<0.0.1`",
245
- description: "#{subject}. Before Julia 1.10, `Pkg.test()` gave standard libraries version 0.0.0, " \
246
- "so while the `julia` compat entry admits those releases, a stdlib compat entry needs " \
247
- "`<0.0.1` for tests to resolve. Raising the `julia` compat entry to `1.10` or later " \
248
- "removes the need for it. See the [stdlib compat PSA](#{STDLIB_COMPAT_PSA_URL}).",
243
+ description: "This update adds `<0.0.1` to standard library compat entries. Before Julia 1.10, " \
244
+ "`Pkg.test()` gave standard libraries version 0.0.0, so while the `julia` compat entry " \
245
+ "admits those releases, a stdlib compat entry needs `<0.0.1` for tests to resolve. " \
246
+ "Raising the `julia` compat entry to `1.10` or later removes the need for it. " \
247
+ "See the [stdlib compat PSA](#{STDLIB_COMPAT_PSA_URL}).",
249
248
  show_in_pr: true,
250
249
  show_alert: false
251
250
  )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-julia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.400.0
4
+ version: 0.401.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 0.400.0
18
+ version: 0.401.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 0.400.0
25
+ version: 0.401.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: debug
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -262,7 +262,7 @@ licenses:
262
262
  - MIT
263
263
  metadata:
264
264
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
265
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.400.0
265
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.401.0
266
266
  rdoc_options: []
267
267
  require_paths:
268
268
  - lib