dependabot-python 0.111.28 → 0.111.29
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: 6f8dc5b6e1d845d5c1467cccd50008bd29f55e6035b5cfd39a33fe1dff158565
|
4
|
+
data.tar.gz: e084ac294a4374a8939c2e28656df9a44c17eb78067d9b3b1c42ebd7f33aab15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2be4aa683240cccfc362d97130f470c5b433520e0ad5d652d3ff2402423829b86a1c7560233dc4fdf338fb297c3c75cd6aa3957ee6149d306b225e2fac37b1cb
|
7
|
+
data.tar.gz: 59a36e3c75049c4971a3e989439a2228fdc9d75f122693c1649f9ff1a4616185b6fb19c561f465689a43cf058e51e76e4e82f72ca7feac405503c9f831de3b25
|
@@ -24,9 +24,9 @@ module Dependabot
|
|
24
24
|
# rubocop:disable Metrics/ClassLength
|
25
25
|
class PipCompileVersionResolver
|
26
26
|
GIT_DEPENDENCY_UNREACHABLE_REGEX =
|
27
|
-
/
|
27
|
+
/git clone -q (?<url>[^\s]+).* /.freeze
|
28
28
|
GIT_REFERENCE_NOT_FOUND_REGEX =
|
29
|
-
%r{
|
29
|
+
%r{git checkout -q (?<tag>[^\n"]+)\n?[^\n]*/(?<name>.*?)(\\n'\]|$)}m.
|
30
30
|
freeze
|
31
31
|
|
32
32
|
attr_reader :dependency, :dependency_files, :credentials
|
@@ -117,11 +117,11 @@ module Dependabot
|
|
117
117
|
check_original_requirements_resolvable
|
118
118
|
end
|
119
119
|
|
120
|
-
if error.message.include?('Command "python setup.py egg_info')
|
121
|
-
error.message.
|
120
|
+
if error.message.include?('Command "python setup.py egg_info') ||
|
121
|
+
error.message.include?("exit status 1: python setup.py egg_info")
|
122
122
|
# The latest version of the dependency we're updating is borked
|
123
123
|
# (because it has an unevaluatable setup.py). Skip the update.
|
124
|
-
return
|
124
|
+
return if check_original_requirements_resolvable
|
125
125
|
end
|
126
126
|
|
127
127
|
if error.message.include?("Could not find a version ") &&
|
@@ -31,9 +31,9 @@ module Dependabot
|
|
31
31
|
# still better than nothing, though.
|
32
32
|
class PipenvVersionResolver
|
33
33
|
GIT_DEPENDENCY_UNREACHABLE_REGEX =
|
34
|
-
/
|
34
|
+
/git clone -q (?<url>[^\s]+).* /.freeze
|
35
35
|
GIT_REFERENCE_NOT_FOUND_REGEX =
|
36
|
-
%r{
|
36
|
+
%r{git checkout -q (?<tag>[^\n"]+)\n?[^\n]*/(?<name>.*?)(\\n'\]|$)}m.
|
37
37
|
freeze
|
38
38
|
UNSUPPORTED_DEPS = %w(pyobjc).freeze
|
39
39
|
UNSUPPORTED_DEP_REGEX =
|
@@ -152,11 +152,11 @@ module Dependabot
|
|
152
152
|
check_original_requirements_resolvable
|
153
153
|
end
|
154
154
|
|
155
|
-
if error.message.include?('Command "python setup.py egg_info"')
|
156
|
-
error.message.
|
155
|
+
if error.message.include?('Command "python setup.py egg_info"') ||
|
156
|
+
error.message.include?("exit status 1: python setup.py egg_info")
|
157
157
|
# The latest version of the dependency we're updating is borked
|
158
158
|
# (because it has an unevaluatable setup.py). Skip the update.
|
159
|
-
return
|
159
|
+
return if check_original_requirements_resolvable
|
160
160
|
end
|
161
161
|
|
162
162
|
if error.message.include?("UnsupportedPythonVersion") &&
|
@@ -168,6 +168,7 @@ module Dependabot
|
|
168
168
|
return if error.message.match?(/#{Regexp.quote(dependency.name)}/i)
|
169
169
|
end
|
170
170
|
|
171
|
+
puts error.message
|
171
172
|
if error.message.match?(GIT_DEPENDENCY_UNREACHABLE_REGEX)
|
172
173
|
url = error.message.match(GIT_DEPENDENCY_UNREACHABLE_REGEX).
|
173
174
|
named_captures.fetch("url")
|
@@ -469,7 +470,7 @@ module Dependabot
|
|
469
470
|
return true if error_message.include?("at matches #{dependency.name}")
|
470
471
|
|
471
472
|
error_message.include?('Command "python setup.py egg_info" failed') ||
|
472
|
-
|
473
|
+
error_message.include?("exit status 1: python setup.py egg_info")
|
473
474
|
end
|
474
475
|
|
475
476
|
def pipenv_env_variables
|
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.111.
|
4
|
+
version: 0.111.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-26 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.111.
|
19
|
+
version: 0.111.29
|
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.111.
|
26
|
+
version: 0.111.29
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|