dependabot-python 0.145.2 → 0.147.0

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: 5513ac8aeea76e354dec627bf1e1b332e9193227eee55f449146522d49b285f0
4
- data.tar.gz: fa63c5c7915b82d5f8a51e678e4cb1782e4515f0d5e0c9e88bcab0e4ce5a9d9f
3
+ metadata.gz: 378c0180f5bc3b8141bddb20ea24ca0c34c72b05fb241008cff3eca3c293a64a
4
+ data.tar.gz: 02d9dfe12ab39b44950eb8f8f0cb0daf350bf57e33df70098caddb55516bf59b
5
5
  SHA512:
6
- metadata.gz: 3fd0286d1454df27f576d237acbcceae45f0cec5056fa7cb22b919a8bdadefe2a3c023ec910a105ad7a3d8fee7e72825e0c7c64e046915bea7f16ec63806ce81
7
- data.tar.gz: 5d9a647a0000d7381c72ac6c1ae9bdaa5f46cbbdc4fa695842964fa34553e11b770c62f7b3b2749aa552f12ca8101209659a96f8f788a6b6cf1cb2474b874ecd
6
+ metadata.gz: baf06570c75fa14249175fb65f7b97113aa7d86794db6e5b6ffa13141b6773fe33034997579ed8f908e7e57f57fd95c7008159f764a2974ea47c1a2d39b0864d
7
+ data.tar.gz: 95bd570f6928877dc11a76ad70d2eaabb309b0db67b81808f518f8085c5becf5a65b837be42158db4001b66bf202a2cc074a1185be424a9ae1a74e3d0700aa82
@@ -101,7 +101,9 @@ module Dependabot
101
101
  def filter_ignored_versions(versions_array)
102
102
  filtered = versions_array.
103
103
  reject { |v| ignore_requirements.any? { |r| r.satisfied_by?(v) } }
104
- raise Dependabot::AllVersionsIgnored if @raise_on_ignored && filtered.empty? && versions_array.any?
104
+ if @raise_on_ignored && filter_lower_versions(filtered).empty? && filter_lower_versions(versions_array).any?
105
+ raise Dependabot::AllVersionsIgnored
106
+ end
105
107
 
106
108
  filtered
107
109
  end
@@ -169,7 +169,7 @@ module Dependabot
169
169
 
170
170
  filenames_to_compile.each do |filename|
171
171
  run_pip_compile_command(
172
- "pyenv exec pip-compile --allow-unsafe #{filename}"
172
+ "pyenv exec pip-compile #{pip_compile_options(filename)} --allow-unsafe #{filename}"
173
173
  )
174
174
  end
175
175
 
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.145.2
4
+ version: 0.147.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-07 00:00:00.000000000 Z
11
+ date: 2021-05-13 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.145.2
19
+ version: 0.147.0
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.145.2
26
+ version: 0.147.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement