dependabot-python 0.125.5 → 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7961c9171af4382c7e680aae485124295f7cec0e7b49fa8d25028a65c092c6f
|
4
|
+
data.tar.gz: b84f1b200e407f41fadf21404107ce43adb4524381cca644eea380a5e9adef23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
166
|
-
|
167
|
-
|
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
|
-
|
171
|
-
raise if
|
171
|
+
cleaned_message = clean_error_message(error_message || "")
|
172
|
+
raise if cleaned_message.empty?
|
172
173
|
|
173
|
-
raise DependencyFileNotResolvable,
|
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 0.125.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|