dependabot-python 0.207.0 → 0.210.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: 7b81a58f7732679ff5c1e25131d1bf247c226e5ff5db4a9904409669da1e528a
4
- data.tar.gz: 378d0c24d1df02fadc06889bedc35aeca1812c3d870102ddfbbc905f7367604c
3
+ metadata.gz: 307359f3cf9ba5fe81a5fc3497f62ffad098a562c834ba304aed67df3db28aa4
4
+ data.tar.gz: 84fe08d252c7b0829ff1cd766ab2588ad8c1f32e1178ba57e102f8d51cea5e73
5
5
  SHA512:
6
- metadata.gz: 65015de342cc09d7112aab836e10d73c01407a6ab3bf552193449831891b29c74b4f77e9ec513c2b9ece46c2c39deb82c75a20cb9b91251313cae3727b2090db
7
- data.tar.gz: 3a1687df6e4eedfb576655af0b1e48489bd9dcf648440e067d561e89bb9b20e878284906117bd2cf3f967e27b23ae1fd1322322c8adafcc4ad0e8a7d3d6562cf
6
+ metadata.gz: d41f5d275c662501cc144b52ed0ac57500ee6a23522f8fefc29a039c3bda5ef19910aea5f769cbc745cafacefe41b616608e91459350962209f2ade80cb31ae3
7
+ data.tar.gz: 1bd0a12fb9a24f5cc93210b286a03a72cc5a10e0a8fada5b945eb9db736fdde0d4d22d211d33043d62e21035f2f3f8e1ea23ffc1b0ce14e4c258851b180f36be
@@ -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.207.0
4
+ version: 0.210.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-11 00:00:00.000000000 Z
11
+ date: 2022-08-23 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.207.0
19
+ version: 0.210.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.207.0
26
+ version: 0.210.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debase
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '2.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: parallel_tests
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 3.11.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 3.11.1
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: rake
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +142,14 @@ dependencies:
128
142
  requirements:
129
143
  - - "~>"
130
144
  - !ruby/object:Gem::Version
131
- version: 1.33.0
145
+ version: 1.35.1
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - "~>"
137
151
  - !ruby/object:Gem::Version
138
- version: 1.33.0
152
+ version: 1.35.1
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: ruby-debug-ide
141
155
  requirement: !ruby/object:Gem::Requirement