dependabot-python 0.119.6 → 0.120.4

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: d06cc0493e384b4156b2882654820dce32fe9b86e8052941cb908ab9e413299e
4
- data.tar.gz: fc6ae7eb998282fea39189db9260f5025dda112a885714d1580c56a411d857da
3
+ metadata.gz: 7f84ba5d0bdb90e654c519a81a07c00a9536ca7f4d1ce7045af92eefbc4eb0b7
4
+ data.tar.gz: 96846f159a4cab8763474dda96323fd14264f7c9388ca8f4058dd0b45380f7d5
5
5
  SHA512:
6
- metadata.gz: ff7c653ba55c0ef7e9d3cabc41bdaf0cdbb9306f2953afcbdc09b11913b0c16e2d213bf09a4794a2c83266dbd0115acb1ffa737c5ba449691c45c2ed3b8c0f5b
7
- data.tar.gz: 7d3d0ab6c559a9c9eb2c1680b48a57d9a6443af54b83aa3b3b686530e28548bbacd5413e349a138fcb8eec14dcaa1e0b849f4b607d7e616c6a4349315bf0f197
6
+ metadata.gz: 27185aef021099a80e202a2d7f7745c965e7dbda7c26f7df5b87426c6e7b05cb58c441a6ea64c3c492eaee54f5316928ee185f6e4e4d043700ff3640bccc9894
7
+ data.tar.gz: 8650057f2188022fd8dba60f1e780044cf50002c5497e3314eb48fcf8b7a6c8a9e98333ad3c2830495b34201c2f58b9e6313f7eb89645bb554e10698f4e8de9b
@@ -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"
@@ -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,13 +4,13 @@ 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
13
+ 3.8.6 3.8.5 3.8.4 3.8.3 3.8.2 3.8.1 3.8.0
14
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
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
@@ -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
  )
@@ -8,7 +8,7 @@ module Dependabot
8
8
  module Python
9
9
  class UpdateChecker
10
10
  class IndexFinder
11
- PYPI_BASE_URL = "https://pypi.python.org/simple/"
11
+ PYPI_BASE_URL = "https://pypi.org/simple/"
12
12
  ENVIRONMENT_VARIABLE_REGEX = /\$\{.+\}/.freeze
13
13
 
14
14
  def initialize(dependency_files:, credentials:)
@@ -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.119.6
4
+ version: 0.120.4
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-21 00:00:00.000000000 Z
11
+ date: 2020-10-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.119.6
19
+ version: 0.120.4
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.119.6
26
+ version: 0.120.4
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.90.0
103
+ version: 0.91.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.90.0
110
+ version: 0.91.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: vcr
113
113
  requirement: !ruby/object:Gem::Requirement