dependabot-python 0.169.6 → 0.170.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51e14d8a363b2aa97b5ace28f81b8d6d85cdcbcd7ef8ab6bbd3c144e4a5cd550
|
4
|
+
data.tar.gz: a7f32263dbcd9611c8cc008270e8926a7963355ab57101c3cef285ca232255ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb5afe040941df87dbeadddcd537d8fc35950a24c2f2753f82bcc8f8d9a5075f142a812b51b1b0daa0964a1128ff15cc4c762163d06e9765c7758b877da5d9ad
|
7
|
+
data.tar.gz: 2f0217dbe3d828dc276d8aebdb3f30e3861cea5835d149b08e4d3b23cc8c2f5549ec4317978512a737b6e8fd0f20d239ab02f2fd8b7636ce96a55f84b893f3ef
|
data/helpers/requirements.txt
CHANGED
@@ -22,8 +22,18 @@ module Dependabot
|
|
22
22
|
pyproject_object = TomlRB.parse(pyproject_content)
|
23
23
|
poetry_object = pyproject_object.fetch("tool").fetch("poetry")
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
sources_hash = pyproject_sources.map { |source| [source["url"], source] }.to_h
|
26
|
+
|
27
|
+
config_variable_sources(credentials).each do |source|
|
28
|
+
if sources_hash.key?(source["original_url"])
|
29
|
+
sources_hash[source["original_url"]]["url"] = source["url"]
|
30
|
+
else
|
31
|
+
source.delete("original_url")
|
32
|
+
sources_hash[source["url"]] = source
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
poetry_object["source"] = sources_hash.values unless sources_hash.empty?
|
27
37
|
|
28
38
|
TomlRB.dump(pyproject_object)
|
29
39
|
end
|
@@ -105,6 +115,7 @@ module Dependabot
|
|
105
115
|
select { |cred| cred["type"] == "python_index" }.
|
106
116
|
map do |c|
|
107
117
|
{
|
118
|
+
"original_url" => c["index-url"],
|
108
119
|
"url" => AuthedUrlBuilder.authed_url(credential: c),
|
109
120
|
"name" => SecureRandom.hex[0..3],
|
110
121
|
"default" => c["replaces-base"]
|
@@ -11,7 +11,7 @@ module Dependabot
|
|
11
11
|
# the Dependabot container.
|
12
12
|
SUPPORTED_VERSIONS = %w(
|
13
13
|
3.10.0
|
14
|
-
3.9.7 3.9.6 3.9.5 3.9.4 3.9.2 3.9.1 3.9.0
|
14
|
+
3.9.9 3.9.8 3.9.7 3.9.6 3.9.5 3.9.4 3.9.2 3.9.1 3.9.0
|
15
15
|
3.8.12 3.8.11 3.8.10 3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 3.8.2 3.8.1 3.8.0
|
16
16
|
3.7.12 3.7.11 3.7.10 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
|
17
17
|
3.6.15 3.6.14 3.6.13 3.6.12 3.6.11 3.6.10 3.6.9 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3
|
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.
|
4
|
+
version: 0.170.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.170.1
|
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.
|
26
|
+
version: 0.170.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.0.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: gpgme
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|