dependabot-python 0.125.2 → 0.125.7

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: 74cc381d9bf20d44ca876408053dfccacc25ca544b3d0fb25751df63b8c70807
4
- data.tar.gz: 3c45b6bfbf9dc39069e263d96acc0602021a8c737dec0ad956de35d034f30751
3
+ metadata.gz: d14f99e97125c12346de48675d036e82e71ff41432cece781115f493af6ff701
4
+ data.tar.gz: dc94655cd1f089d22c57a1bf01f8945e8ecd7906bc667e63e77ae5089900b373
5
5
  SHA512:
6
- metadata.gz: ad932f07fb331fabb827b444b502111f6c175ca6466eca5602a20eb154d2edee3efe67443e16d2c1ba27bd0ab092c596a08697bb4f1614d4ad54902e25206ced
7
- data.tar.gz: 432f84aaea5446729fd3b99ede6cf0448147fb6774b901253c7b3ca6f94778d8fbee5854917064535538f1b8267ece92621e9c4be8add5422f1df5a1db41de43
6
+ metadata.gz: a7c1f9e17e3846e35296a20a5eb9b92f947c0d87f398ec377a77937abea74a9dcc829a6b5df10279fe7ba5fcff1489e55ff5c7840d9e77e6bf0b0b5dbea57b1a
7
+ data.tar.gz: f95df4327723a4c086f27c43c88059101d5080d4ab3d912dac3a8aaabb032c0c98d42811375ececd8690012753f6ff227f83587e18e40b8296409642ffd09b2b
@@ -1,5 +1,5 @@
1
1
  pip==20.1.1
2
- pip-tools==5.3.1
2
+ pip-tools==5.4.0
3
3
  hashin==0.15.0
4
4
  pipenv==2018.11.26
5
5
  pipfile==0.0.2
@@ -116,7 +116,7 @@ module Dependabot
116
116
  end
117
117
 
118
118
  def convert_wildcard(req_string)
119
- # Note: This isn't perfect. It replaces the "!= 1.0.*" case with
119
+ # NOTE: This isn't perfect. It replaces the "!= 1.0.*" case with
120
120
  # "!= 1.0.0". There's no way to model this correctly in Ruby :'(
121
121
  quoted_ops = OPS.keys.sort_by(&:length).reverse.
122
122
  map { |k| Regexp.quote(k) }.join("|")
@@ -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.2
4
+ version: 0.125.7
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 00:00:00.000000000 Z
11
+ date: 2020-11-30 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.2
19
+ version: 0.125.7
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.2
26
+ version: 0.125.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,42 +100,42 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.93.0
103
+ version: 1.4.2
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.93.0
110
+ version: 1.4.2
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.19.0
117
+ version: 0.20.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.19.0
124
+ version: 0.20.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: simplecov-console
127
127
  requirement: !ruby/object:Gem::Requirement
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