dependabot-python 0.206.0 → 0.209.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: c5d3bf48a1c41bb310901df4dee2c252973a25e554930aa4f9dbaac5df2b8842
4
- data.tar.gz: ff35f2192994ac8c5ae27a022c4c325abddfd328dafcd4552696a64c53842eda
3
+ metadata.gz: 9d12f6acdc73f229dcc3154fe50f5c2f2bdd74de5239948eceed2bd6f6f6c936
4
+ data.tar.gz: 3085c1241c3cffdbc133fbafe9f79bba159198972b6824c54d94b0e977154680
5
5
  SHA512:
6
- metadata.gz: a0a86aaca69a7aa9134b49da683ae9f7296783448adbfeef35b099fbd450417d61559274a1556e627f90f850762eda9c90eeef7335d939dde579d317f102e9de
7
- data.tar.gz: e09807c89043bdcb28ec2b6aef501cd987fc14b293a520fda7c3cb85370273675027a66d14adc4180c91c77e58b7ef89405c4bd6f70d3a1f38c7ee422ca891f6
6
+ metadata.gz: 70c2ff5b635dd88b44d6291d788efc93a702c1c73846cf69acc0a43ded441f57880cddd3c2a61d2e5a7bcf749a557b236c9b67d4f2690f8942c0117a2c8d01af
7
+ data.tar.gz: 42d0b64bb8cb513b23a01a5f380add5e53fed90cb9534ec096b0906f04f1cba4754336fd91158fbb8218808d167a7894c60409bd35331edc4f23bc676662486e
@@ -1,5 +1,5 @@
1
- pip>=21.3.1,<22.2.3 # Allow earlier versions to retain python 3.6 support
2
- pip-tools>=6.4.0,<6.8.1 # Allow earlier versions to retain python 3.6 support
1
+ pip>=21.3.1,<22.2.3 # Range maintains py36 support TODO: Review python 3.6 support in April 2023 (eol ubuntu 18.04)
2
+ pip-tools>=6.4.0,<6.8.1 # Range maintains py36 support TODO: Review python 3.6 support in April 2023 (eol ubuntu 18.04)
3
3
  flake8==5.0.4
4
4
  hashin==0.17.0
5
5
  pipenv==2022.4.8
@@ -164,6 +164,7 @@ module Dependabot
164
164
 
165
165
  regexp = url.
166
166
  sub(%r{(?<=://).+@}, "").
167
+ sub(%r{https?://}, "").
167
168
  split(ENVIRONMENT_VARIABLE_REGEX).
168
169
  map { |part| Regexp.quote(part) }.
169
170
  join(".+")
@@ -96,7 +96,6 @@ module Dependabot
96
96
  rescue SharedHelpers::HelperSubprocessFailed => e
97
97
  retry_count ||= 0
98
98
  retry_count += 1
99
-
100
99
  if compilation_error?(e) && retry_count <= 1
101
100
  @build_isolation = false
102
101
  retry
@@ -216,10 +215,15 @@ module Dependabot
216
215
  )
217
216
  end
218
217
 
218
+ def new_resolver_supported?
219
+ python_version >= Python::Version.new("3.7")
220
+ end
221
+
219
222
  def pip_compile_options(filename)
220
223
  options = @build_isolation ? ["--build-isolation"] : ["--no-build-isolation"]
221
224
  options += pip_compile_index_options
222
- options += ["--resolver backtracking", "--allow-unsafe"]
225
+ options += ["--allow-unsafe"]
226
+ options += ["--resolver backtracking"] if new_resolver_supported?
223
227
 
224
228
  if (requirements_file = compiled_file_for_filename(filename))
225
229
  options << "--output-file=#{requirements_file.name}"
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.206.0
4
+ version: 0.209.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-10 00:00:00.000000000 Z
11
+ date: 2022-08-17 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.206.0
19
+ version: 0.209.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.206.0
26
+ version: 0.209.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debase
29
29
  requirement: !ruby/object:Gem::Requirement