dependabot-python 0.106.27 → 0.106.28

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: 6a1e0fba40027773fd3240bfb192bef4217505851cc7d298dc5a005eebbbd80e
4
- data.tar.gz: 2b2deb3276f83e7e6483c4f244bf75aa56ae8fb1d8369ca8a984e3d616d61fbe
3
+ metadata.gz: 72709cb2ea48798b7524617520fe59cf50d3459aa6d3c94a95718b8ce9eb054e
4
+ data.tar.gz: 3de0f28b802e7f76aa5899ca00cac8568a35f7f0deb5b154d943bb88204fb36a
5
5
  SHA512:
6
- metadata.gz: ab222848c9e95ed15e5ff15236a0dc0a889adcbfb23ba8f65cfd229ab605fc501eeaf977961577b3fe78f101d557756aeaad90b7c23c66308247837f4f5caf98
7
- data.tar.gz: 655ed9b057f13141a8f064c2212d397551a08326548d81ddcaf9ebc585c4e884039c9908c3830d90d874ef9f9f2f4181a6935f48b6c84ff168b761ebbe1cdd8e
6
+ metadata.gz: '0946e7c32073669fad86b1f2a52f66bc7169e99799a4f27f2b70b9d5e20bf8f1971645bc3d49019580e93c1bcd011e3f5cb4ce0da21b56690c0e09cb8743b29a'
7
+ data.tar.gz: 7bb26be8f0d25206543dc3dd1505de137a7ba00c527d47666f1f758b77f20f90aa49796e3f881c579a4380947fa1b6d1293fd59719a5184df7a0f8a1db23fd39
@@ -70,6 +70,7 @@ module Dependabot
70
70
  )
71
71
  # Run pip-compile a second time, without an update argument,
72
72
  # to ensure it handles markers correctly
73
+ write_original_manifest_files unless dependency.top_level?
73
74
  run_pip_compile_command(
74
75
  "pyenv exec pip-compile --allow-unsafe "\
75
76
  "--build-isolation #{filename}"
@@ -276,6 +277,13 @@ module Dependabot
276
277
  end
277
278
  # rubocop:enable Metrics/AbcSize
278
279
 
280
+ def write_original_manifest_files
281
+ pip_compile_files.each do |file|
282
+ FileUtils.mkdir_p(Pathname.new(file.name).dirname)
283
+ File.write(file.name, file.content)
284
+ end
285
+ end
286
+
279
287
  def irrelevant_pyproject?(file)
280
288
  return false unless file.name == "pyproject.toml"
281
289
 
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.106.27
4
+ version: 0.106.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-30 00:00:00.000000000 Z
11
+ date: 2019-05-01 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.106.27
19
+ version: 0.106.28
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.106.27
26
+ version: 0.106.28
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement