dependabot-python 0.125.1 → 0.125.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d63cab58ba9012b42f69237f7ff203223a7658f35533da97f6260ea045631062
4
- data.tar.gz: 75bb5f0e238c2bad82f6da37b60f13796dc7a5686fa9268267cbac8f5f97ffb7
3
+ metadata.gz: e7961c9171af4382c7e680aae485124295f7cec0e7b49fa8d25028a65c092c6f
4
+ data.tar.gz: b84f1b200e407f41fadf21404107ce43adb4524381cca644eea380a5e9adef23
5
5
  SHA512:
6
- metadata.gz: 6e2afcc22f49f2e2d500704dbd94e81f0dde22ead8b4f7a60bca823843a05bcd4569d94b38922e2a927723081023496c731e2bae4b0d9b09db01c7d98f8c0eca
7
- data.tar.gz: c28a5f366b7a00ac6e90fcf348e18927d88e74f5280e393da2817513e22fd72d17942c4d04f2002a9e1fdacfac2d43724137f9247fe1ba9c8da979e10df64005
6
+ metadata.gz: b811806ef5e299be4c9fffc2efbb247e5501b54b2f7486d6448c2ab858b38e7dda0922557e4c76973abfccedf2864f0a85142027556970541a6402c38faa20f4
7
+ data.tar.gz: 436d03634257d3da1440f1cc5b92b797c305e4e730e6ba3c469f4e8f0f0a48567fc7aea2aa3d77c74d5d929173082a4b7d10e06383c7469e2dc7def5bce85199
@@ -162,15 +162,16 @@ module Dependabot
162
162
 
163
163
  true
164
164
  rescue SharedHelpers::HelperSubprocessFailed => e
165
- unless e.message.include?("Could not find a version") ||
166
- e.message.include?("UnsupportedConstraint")
167
- raise
165
+ # Pick the error message that includes resolvability errors, this might be the cause from
166
+ # handle_pip_compile_errors (it's unclear if we should always pick the cause here)
167
+ error_message = [e.message, e.cause&.message].compact.find do |msg|
168
+ ["UnsupportedConstraint", "Could not find a version"].any? { |err| msg.include?(err) }
168
169
  end
169
170
 
170
- msg = clean_error_message(e.message)
171
- raise if msg.empty?
171
+ cleaned_message = clean_error_message(error_message || "")
172
+ raise if cleaned_message.empty?
172
173
 
173
- raise DependencyFileNotResolvable, msg
174
+ raise DependencyFileNotResolvable, cleaned_message
174
175
  end
175
176
  end
176
177
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-python
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.125.1
4
+ version: 0.125.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-05 00:00:00.000000000 Z
11
+ date: 2020-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.125.1
19
+ version: 0.125.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.125.1
26
+ version: 0.125.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.7.2
131
+ version: 0.8.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.7.2
138
+ version: 0.8.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: vcr
141
141
  requirement: !ruby/object:Gem::Requirement