dependabot-python 0.229.0 → 0.230.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/build +15 -1
- data/helpers/requirements.txt +1 -1
- data/lib/dependabot/python/file_parser/pyproject_files_parser.rb +1 -1
- data/lib/dependabot/python/file_parser/setup_file_parser.rb +2 -2
- 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/file_updater/pipfile_file_updater.rb +1 -1
- data/lib/dependabot/python/file_updater/poetry_file_updater.rb +1 -1
- data/lib/dependabot/python/file_updater/requirement_replacer.rb +1 -1
- data/lib/dependabot/python/language_version_manager.rb +1 -1
- 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: 9ae3b5a483a1e9cb052729d34b14cc053e4a75d2f6a1a5f6abf5c4b25ddd33d8
|
|
4
|
+
data.tar.gz: fe4a64c0706b8cf7d41ccfa984899d2593ca6e56888728d71b16476aa3535dfd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62ef62141edc0821021d9a4cbcde7c33bff4480f52eddf4419a1324b6e4d69cdd5b051e72c45162ca325d0e519b294eaa21c1187b82b5cd1f4b537b1510fc760
|
|
7
|
+
data.tar.gz: d22f06823bb9a46d0a6fcc9d173924d096c9f2bf99b6639a03f15be8fcaf4139d0cf1e0d8621074cf9e9a97b2f9ec96d92434904348cb1c715aa6a074017fdca
|
data/helpers/build
CHANGED
|
@@ -18,4 +18,18 @@ cp -r \
|
|
|
18
18
|
"$install_dir"
|
|
19
19
|
|
|
20
20
|
cd "$install_dir"
|
|
21
|
-
PYENV_VERSION=$1 pyenv exec
|
|
21
|
+
PYENV_VERSION=$1 pyenv exec pip3 --disable-pip-version-check install --use-pep517 -r "requirements.txt"
|
|
22
|
+
|
|
23
|
+
# Remove the extra objects added during the previous install. Based on
|
|
24
|
+
# https://github.com/docker-library/python/blob/master/Dockerfile-linux.template
|
|
25
|
+
# And the image docker.io/library/python
|
|
26
|
+
find "${PYENV_ROOT:-/usr/local/.pyenv}/versions" -depth \
|
|
27
|
+
\( \
|
|
28
|
+
\( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \
|
|
29
|
+
-o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \
|
|
30
|
+
\) -exec rm -rf '{}' +
|
|
31
|
+
|
|
32
|
+
find -L "${PYENV_ROOT:-/usr/local/.pyenv}/versions" -type f \
|
|
33
|
+
-name '*.so' \
|
|
34
|
+
-exec strip --preserve-dates {} +
|
|
35
|
+
|
data/helpers/requirements.txt
CHANGED
|
@@ -247,7 +247,7 @@ module Dependabot
|
|
|
247
247
|
write_temporary_pyproject
|
|
248
248
|
|
|
249
249
|
SharedHelpers.run_helper_subprocess(
|
|
250
|
-
command: "pyenv exec
|
|
250
|
+
command: "pyenv exec python3 #{NativeHelpers.python_helper_path}",
|
|
251
251
|
function: "parse_pep621_dependencies",
|
|
252
252
|
args: [pyproject.name]
|
|
253
253
|
)
|
|
@@ -60,7 +60,7 @@ module Dependabot
|
|
|
60
60
|
write_temporary_dependency_files
|
|
61
61
|
|
|
62
62
|
requirements = SharedHelpers.run_helper_subprocess(
|
|
63
|
-
command: "pyenv exec
|
|
63
|
+
command: "pyenv exec python3 #{NativeHelpers.python_helper_path}",
|
|
64
64
|
function: "parse_setup",
|
|
65
65
|
args: [Dir.pwd]
|
|
66
66
|
)
|
|
@@ -81,7 +81,7 @@ module Dependabot
|
|
|
81
81
|
write_sanitized_setup_file
|
|
82
82
|
|
|
83
83
|
requirements = SharedHelpers.run_helper_subprocess(
|
|
84
|
-
command: "pyenv exec
|
|
84
|
+
command: "pyenv exec python3 #{NativeHelpers.python_helper_path}",
|
|
85
85
|
function: "parse_setup",
|
|
86
86
|
args: [Dir.pwd]
|
|
87
87
|
)
|
|
@@ -133,7 +133,7 @@ module Dependabot
|
|
|
133
133
|
write_temporary_dependency_files
|
|
134
134
|
|
|
135
135
|
requirements = SharedHelpers.run_helper_subprocess(
|
|
136
|
-
command: "pyenv exec
|
|
136
|
+
command: "pyenv exec python3 #{NativeHelpers.python_helper_path}",
|
|
137
137
|
function: "parse_requirements",
|
|
138
138
|
args: [Dir.pwd]
|
|
139
139
|
)
|
|
@@ -376,7 +376,7 @@ module Dependabot
|
|
|
376
376
|
|
|
377
377
|
def package_hashes_for(name:, version:, algorithm:)
|
|
378
378
|
SharedHelpers.run_helper_subprocess(
|
|
379
|
-
command: "pyenv exec
|
|
379
|
+
command: "pyenv exec python3 #{NativeHelpers.python_helper_path}",
|
|
380
380
|
function: "get_dependency_hash",
|
|
381
381
|
args: [name, version, algorithm]
|
|
382
382
|
).map { |h| "--hash=#{algorithm}:#{h['hash']}" }
|
|
@@ -326,7 +326,7 @@ module Dependabot
|
|
|
326
326
|
SharedHelpers.in_a_temporary_directory do |dir|
|
|
327
327
|
File.write(File.join(dir, "Pipfile"), pipfile_content)
|
|
328
328
|
SharedHelpers.run_helper_subprocess(
|
|
329
|
-
command: "pyenv exec
|
|
329
|
+
command: "pyenv exec python3 #{NativeHelpers.python_helper_path}",
|
|
330
330
|
function: "get_pipfile_hash",
|
|
331
331
|
args: [dir]
|
|
332
332
|
)
|
|
@@ -232,7 +232,7 @@ module Dependabot
|
|
|
232
232
|
write_temporary_dependency_files(pyproject_content)
|
|
233
233
|
|
|
234
234
|
SharedHelpers.run_helper_subprocess(
|
|
235
|
-
command: "pyenv exec
|
|
235
|
+
command: "pyenv exec python3 #{python_helper_path}",
|
|
236
236
|
function: "get_pyproject_hash",
|
|
237
237
|
args: [dir]
|
|
238
238
|
)
|
|
@@ -134,7 +134,7 @@ module Dependabot
|
|
|
134
134
|
|
|
135
135
|
def package_hashes_for(name:, version:, algorithm:)
|
|
136
136
|
SharedHelpers.run_helper_subprocess(
|
|
137
|
-
command: "pyenv exec
|
|
137
|
+
command: "pyenv exec python3 #{NativeHelpers.python_helper_path}",
|
|
138
138
|
function: "get_dependency_hash",
|
|
139
139
|
args: [name, version, algorithm]
|
|
140
140
|
).map { |h| "--hash=#{algorithm}:#{h['hash']}" }
|
|
@@ -23,7 +23,7 @@ module Dependabot
|
|
|
23
23
|
return if SharedHelpers.run_shell_command("pyenv versions").include?(" #{python_major_minor}.")
|
|
24
24
|
|
|
25
25
|
SharedHelpers.run_shell_command(
|
|
26
|
-
"tar
|
|
26
|
+
"tar -axf /usr/local/.pyenv/versions/#{python_version}.tar.zst -C /usr/local/.pyenv/versions"
|
|
27
27
|
)
|
|
28
28
|
end
|
|
29
29
|
|
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.230.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-08
|
|
11
|
+
date: 2023-09-08 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.230.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.230.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: debug
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -231,7 +231,7 @@ licenses:
|
|
|
231
231
|
- Nonstandard
|
|
232
232
|
metadata:
|
|
233
233
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
234
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
234
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.230.0
|
|
235
235
|
post_install_message:
|
|
236
236
|
rdoc_options: []
|
|
237
237
|
require_paths:
|