dependabot-python 0.242.1 → 0.243.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/helpers/requirements.txt +1 -1
- data/lib/dependabot/python/file_parser.rb +1 -1
- data/lib/dependabot/python/file_updater/pip_compile_file_updater.rb +1 -1
- data/lib/dependabot/python/update_checker/index_finder.rb +2 -2
- data/lib/dependabot/python/update_checker/pip_compile_version_resolver.rb +1 -1
- data/lib/dependabot/python/version.rb +3 -3
- data/lib/dependabot/python.rb +0 -3
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b21f11fc70d892878937bbee1ebb777bfe04b7d5a343d2532e95d7e0ffbfb31
|
|
4
|
+
data.tar.gz: 1f801c4b70837b1beba89ef13fad5465d7cd3694e870b7651160d86d5feeace7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bf132f27cdcb751c790c4bf789dc5226243075811cbf87567f255a8a0d4d6e4d0819f4faa433ba1c371468ae1be00eaf0434a22ac1bd967bae7dc5fb3811930
|
|
7
|
+
data.tar.gz: f62aa6eaa2ec10aa079b9cfcdbb6dcc6191662a28ee2afe687d8c92241cf676b0aeb2dbda44a9229e51e494d44f7ae3c07bd95a5a67ab551a87b2e6d17606431
|
data/helpers/requirements.txt
CHANGED
|
@@ -91,7 +91,7 @@ module Dependabot
|
|
|
91
91
|
}]
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
# PyYAML < 6.0 will cause `pip-compile` to fail due to
|
|
94
|
+
# PyYAML < 6.0 will cause `pip-compile` to fail due to incompatibility with Cython 3. Workaround it.
|
|
95
95
|
SharedHelpers.run_shell_command("pyenv exec pip install cython<3.0") if old_pyyaml?(name, version)
|
|
96
96
|
|
|
97
97
|
dependencies <<
|
|
@@ -146,13 +146,13 @@ module Dependabot
|
|
|
146
146
|
index_url_creds = credentials
|
|
147
147
|
.select { |cred| cred["type"] == "python_index" }
|
|
148
148
|
|
|
149
|
-
if (main_cred = index_url_creds.find
|
|
149
|
+
if (main_cred = index_url_creds.find(&:replaces_base?))
|
|
150
150
|
urls[:main] = AuthedUrlBuilder.authed_url(credential: main_cred)
|
|
151
151
|
end
|
|
152
152
|
|
|
153
153
|
urls[:extra] =
|
|
154
154
|
index_url_creds
|
|
155
|
-
.reject
|
|
155
|
+
.reject(&:replaces_base?)
|
|
156
156
|
.map { |cred| AuthedUrlBuilder.authed_url(credential: cred) }
|
|
157
157
|
|
|
158
158
|
urls
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# typed:
|
|
1
|
+
# typed: true
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
require "dependabot/version"
|
|
@@ -59,7 +59,7 @@ module Dependabot
|
|
|
59
59
|
return epoch_comparison unless epoch_comparison.zero?
|
|
60
60
|
|
|
61
61
|
version_comparison = super(other)
|
|
62
|
-
return version_comparison unless version_comparison
|
|
62
|
+
return version_comparison unless version_comparison&.zero?
|
|
63
63
|
|
|
64
64
|
post_version_comparison = post_version_comparison(other)
|
|
65
65
|
return post_version_comparison unless post_version_comparison.zero?
|
|
@@ -96,7 +96,7 @@ module Dependabot
|
|
|
96
96
|
|
|
97
97
|
local_comparison = Gem::Version.new(lhs) <=> Gem::Version.new(rhs)
|
|
98
98
|
|
|
99
|
-
return local_comparison unless local_comparison
|
|
99
|
+
return local_comparison unless local_comparison&.zero?
|
|
100
100
|
|
|
101
101
|
lhsegments.count <=> rhsegments.count
|
|
102
102
|
end
|
data/lib/dependabot/python.rb
CHANGED
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.243.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-02-13 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.
|
|
19
|
+
version: 0.243.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.
|
|
26
|
+
version: 0.243.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: debug
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -274,7 +274,7 @@ licenses:
|
|
|
274
274
|
- Nonstandard
|
|
275
275
|
metadata:
|
|
276
276
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
277
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
277
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.243.0
|
|
278
278
|
post_install_message:
|
|
279
279
|
rdoc_options: []
|
|
280
280
|
require_paths:
|