dependabot-python 0.120.1 → 0.121.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: 5dfb0d371130bb92775065dbe1b354b7535bd4f17693adfa8c3ae7995b49c7a8
4
- data.tar.gz: 0efb436c58a3c63d6009014c091e2e8b098b3a4189daa76cb2dfc95f713e07e0
3
+ metadata.gz: d9d59fc05a8bca7883046e5d4acf872af2c17a8342991082499eb6b422382307
4
+ data.tar.gz: 5df5ab327ed66ca31b85c7856c1e1be3589f855bfe53d98f68d1ab7d76d09a91
5
5
  SHA512:
6
- metadata.gz: 882c486664bc9ec9bc8e8e780e6baf0c725a96f21839e6826043d84e950520c839cfefb704bbd056031d09a6a7a875827bcbc20f4eec7acc83a0c5c342575249
7
- data.tar.gz: 29a2b3f11a87e980c4abe4ce0339b1364751cfdbcb84f7421133e64d9f55214753ef9b4d789d4c43dc91a9d9def3f47c0c9e0520526e81817fa087ae85a0063a
6
+ metadata.gz: b9f3593c3de340720dc123659699afa84e357b4ccee4c818337332558e5243fb70543c9702f87e89eb2d10d49dc5b5804069b79693f6bc68de1384a246945c21
7
+ data.tar.gz: 30eb0cdf7d99db4c1dc42bc1201d722a64fe322063bcb3ed457962fc94440767bdac75eaef47769e404f3d04950f7f12c238ba56646450dc271e8df9ce7087c6
@@ -17,4 +17,4 @@ cp -r \
17
17
 
18
18
  cd "$install_dir"
19
19
  PYENV_VERSION=2.7.18 pyenv exec pip install -r "requirements.txt"
20
- PYENV_VERSION=3.8.5 pyenv exec pip install -r "requirements.txt"
20
+ PYENV_VERSION=3.8.6 pyenv exec pip install -r "requirements.txt"
@@ -3,7 +3,7 @@ pip-tools==5.3.1
3
3
  hashin==0.15.0
4
4
  pipenv==2018.11.26
5
5
  pipfile==0.0.2
6
- poetry==1.0.10
6
+ poetry==1.1.1
7
7
 
8
8
  # Some dependencies will only install if Cython is present
9
9
  Cython==0.29.21
@@ -166,7 +166,7 @@ module Dependabot
166
166
  repo_contents.
167
167
  select { |f| f.type == "file" }.
168
168
  select { |f| f.name.end_with?(".txt", ".in") }.
169
- reject { |f| f.size > 100_000 }.
169
+ reject { |f| f.size > 200_000 }.
170
170
  map { |f| fetch_file_from_host(f.name) }.
171
171
  select { |f| requirements_file?(f) }.
172
172
  each { |f| @req_txt_and_in_files << f }
@@ -186,7 +186,7 @@ module Dependabot
186
186
  repo_contents(dir: relative_reqs_dir).
187
187
  select { |f| f.type == "file" }.
188
188
  select { |f| f.name.end_with?(".txt", ".in") }.
189
- reject { |f| f.size > 100_000 }.
189
+ reject { |f| f.size > 200_000 }.
190
190
  map { |f| fetch_file_from_host("#{relative_reqs_dir}/#{f.name}") }.
191
191
  select { |f| requirements_file?(f) }
192
192
  end
@@ -52,6 +52,10 @@ module Dependabot
52
52
  next if git_or_path_requirement?(req)
53
53
  next if pipfile_lock && !dependency_version(dep_name, req, group)
54
54
 
55
+ # Empty requirements are not allowed in Dependabot::Dependency and
56
+ # equivalent to "*" (latest available version)
57
+ req = "*" if req == ""
58
+
55
59
  dependencies <<
56
60
  Dependency.new(
57
61
  name: normalised_name(dep_name),
@@ -4,14 +4,14 @@ module Dependabot
4
4
  module Python
5
5
  module PythonVersions
6
6
  PRE_INSTALLED_PYTHON_VERSIONS = %w(
7
- 3.8.5 2.7.18
7
+ 3.8.6 2.7.18
8
8
  ).freeze
9
9
 
10
10
  # Due to an OpenSSL issue we can only install the following versions in
11
11
  # the Dependabot container.
12
12
  SUPPORTED_VERSIONS = %w(
13
- 3.8.5 3.8.4 3.8.3 3.8.2 3.8.1 3.8.0
14
- 3.7.8 3.7.7 3.7.6 3.7.5 3.7.4 3.7.3 3.7.2 3.7.1 3.7.0
13
+ 3.8.6 3.8.5 3.8.4 3.8.3 3.8.2 3.8.1 3.8.0
14
+ 3.7.9 3.7.8 3.7.7 3.7.6 3.7.5 3.7.4 3.7.3 3.7.2 3.7.1 3.7.0
15
15
  3.6.9 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.6.0
16
16
  3.5.7 3.5.6 3.5.5 3.5.4 3.5.3
17
17
  2.7.18 2.7.17 2.7.16 2.7.15 2.7.14 2.7.13
@@ -277,7 +277,7 @@ module Dependabot
277
277
  return false unless details
278
278
 
279
279
  index_response = Excon.get(
280
- "https://pypi.org/pypi/#{normalised_name(details['name'])}/json",
280
+ "https://pypi.org/pypi/#{normalised_name(details['name'])}/json/",
281
281
  idempotent: true,
282
282
  **SharedHelpers.excon_defaults
283
283
  )
@@ -216,8 +216,7 @@ module Dependabot
216
216
  Excon.get(
217
217
  index_url + normalised_name + "/",
218
218
  idempotent: true,
219
- headers: { "Accept" => "text/html" },
220
- **SharedHelpers.excon_defaults
219
+ **SharedHelpers.excon_defaults(headers: { "Accept" => "text/html" })
221
220
  )
222
221
  end
223
222
 
@@ -225,8 +224,7 @@ module Dependabot
225
224
  Excon.get(
226
225
  index_url,
227
226
  idempotent: true,
228
- headers: { "Accept" => "text/html" },
229
- **SharedHelpers.excon_defaults
227
+ **SharedHelpers.excon_defaults(headers: { "Accept" => "text/html" })
230
228
  )
231
229
  end
232
230
 
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.120.1
4
+ version: 0.121.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-25 00:00:00.000000000 Z
11
+ date: 2020-10-06 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.120.1
19
+ version: 0.121.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.120.1
26
+ version: 0.121.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.91.0
103
+ version: 0.92.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.91.0
110
+ version: 0.92.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: vcr
113
113
  requirement: !ruby/object:Gem::Requirement