dependabot-python 0.95.59 → 0.95.60
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 +4 -4
- data/lib/dependabot/python/file_updater/pip_compile_file_updater.rb +6 -7
- data/lib/dependabot/python/file_updater/pipfile_file_updater.rb +1 -1
- data/lib/dependabot/python/file_updater/poetry_file_updater.rb +1 -1
- data/lib/dependabot/python/update_checker/pip_compile_version_resolver.rb +6 -7
- data/lib/dependabot/python/update_checker/pipfile_version_resolver.rb +1 -1
- data/lib/dependabot/python/update_checker/poetry_version_resolver.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a5caa164fe015c7eea99ba6211c2f6d82c8c4f725128e26a1424d429aca4ef4
|
|
4
|
+
data.tar.gz: bc00984e10b8c6184cc72a151dd0823cf76f9805c8aa4a5f6b90097d6e275630
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b976f0920092209050ff939d8bf856540c7dd061a6de95cb46c0dec95e20aacd8f6312d78a307a84146cb539cafd9d48c8dadf1a61997220c6200be9609d6dda
|
|
7
|
+
data.tar.gz: 927ddd8f368d787db66b00c46a220156aaec09642cd54103205d5724f08f570448f9b855a37d7b1aa2418d376fb518fd1afbbe0080b62d6d15841c4ccc1b9e86
|
|
@@ -200,7 +200,7 @@ module Dependabot
|
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
# Overwrite the .python-version with updated content
|
|
203
|
-
File.write(".python-version", python_version)
|
|
203
|
+
File.write(".python-version", python_version)
|
|
204
204
|
|
|
205
205
|
setup_files.each do |file|
|
|
206
206
|
path = file.name
|
|
@@ -216,12 +216,11 @@ module Dependabot
|
|
|
216
216
|
end
|
|
217
217
|
|
|
218
218
|
def install_required_python
|
|
219
|
-
if python_version
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
end
|
|
219
|
+
return if run_command("pyenv versions").include?(python_version)
|
|
220
|
+
|
|
221
|
+
run_command("pyenv install -s #{python_version}")
|
|
222
|
+
run_command("pyenv exec pip install -r " + \
|
|
223
|
+
NativeHelpers.python_requirements_path)
|
|
225
224
|
end
|
|
226
225
|
|
|
227
226
|
def sanitized_setup_file_content(file)
|
|
@@ -326,7 +326,7 @@ module Dependabot
|
|
|
326
326
|
return if run_command("pyenv versions").include?(python_version)
|
|
327
327
|
|
|
328
328
|
requirements_path = NativeHelpers.python_requirements_path
|
|
329
|
-
run_command("pyenv install -s")
|
|
329
|
+
run_command("pyenv install -s #{python_version}")
|
|
330
330
|
run_command("pyenv exec pip install -r #{requirements_path}")
|
|
331
331
|
end
|
|
332
332
|
|
|
@@ -153,7 +153,7 @@ module Dependabot
|
|
|
153
153
|
write_temporary_dependency_files(pyproject_content)
|
|
154
154
|
|
|
155
155
|
if python_version && !pre_installed_python?(python_version)
|
|
156
|
-
run_poetry_command("pyenv install -s")
|
|
156
|
+
run_poetry_command("pyenv install -s #{python_version}")
|
|
157
157
|
run_poetry_command("pyenv exec pip install --upgrade pip")
|
|
158
158
|
run_poetry_command("pyenv exec pip install -r " + \
|
|
159
159
|
NativeHelpers.python_requirements_path)
|
|
@@ -217,7 +217,7 @@ module Dependabot
|
|
|
217
217
|
end
|
|
218
218
|
|
|
219
219
|
# Overwrite the .python-version with updated content
|
|
220
|
-
File.write(".python-version", python_version)
|
|
220
|
+
File.write(".python-version", python_version)
|
|
221
221
|
|
|
222
222
|
setup_files.each do |file|
|
|
223
223
|
path = file.name
|
|
@@ -233,12 +233,11 @@ module Dependabot
|
|
|
233
233
|
end
|
|
234
234
|
|
|
235
235
|
def install_required_python
|
|
236
|
-
if python_version
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
end
|
|
236
|
+
return if run_command("pyenv versions").include?(python_version)
|
|
237
|
+
|
|
238
|
+
run_command("pyenv install -s #{python_version}")
|
|
239
|
+
run_command("pyenv exec pip install -r " + \
|
|
240
|
+
NativeHelpers.python_requirements_path)
|
|
242
241
|
end
|
|
243
242
|
|
|
244
243
|
def sanitized_setup_file_content(file)
|
|
@@ -279,7 +279,7 @@ module Dependabot
|
|
|
279
279
|
return if run_command("pyenv versions").include?(python_version)
|
|
280
280
|
|
|
281
281
|
requirements_path = NativeHelpers.python_requirements_path
|
|
282
|
-
run_command("pyenv install -s")
|
|
282
|
+
run_command("pyenv install -s #{python_version}")
|
|
283
283
|
run_command("pyenv exec pip install -r #{requirements_path}")
|
|
284
284
|
end
|
|
285
285
|
|
|
@@ -54,7 +54,7 @@ module Dependabot
|
|
|
54
54
|
write_temporary_dependency_files
|
|
55
55
|
|
|
56
56
|
if python_version && !pre_installed_python?(python_version)
|
|
57
|
-
run_poetry_command("pyenv install -s")
|
|
57
|
+
run_poetry_command("pyenv install -s #{python_version}")
|
|
58
58
|
run_poetry_command("pyenv exec pip install -r " + \
|
|
59
59
|
NativeHelpers.python_requirements_path)
|
|
60
60
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-python
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.95.
|
|
4
|
+
version: 0.95.60
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.95.
|
|
19
|
+
version: 0.95.60
|
|
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.95.
|
|
26
|
+
version: 0.95.60
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: byebug
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|