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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93a70a7f3c4e96285de023eb663ea0fa6d630296e4b1b3f44de8a3e85e26eeb5
4
- data.tar.gz: 2c551d185578cbed65a03acbb16cad9ab1b363f7abf67c58d5d81d497620a9ac
3
+ metadata.gz: 9ae3b5a483a1e9cb052729d34b14cc053e4a75d2f6a1a5f6abf5c4b25ddd33d8
4
+ data.tar.gz: fe4a64c0706b8cf7d41ccfa984899d2593ca6e56888728d71b16476aa3535dfd
5
5
  SHA512:
6
- metadata.gz: 604d86a08450481b4001381d363cc4a64a54dd3cbbe56ae86b884638a6a9110b0195bf63a02b6c6f05284d4fda28aff94cbaaf5d969df2430b7559fdad0311bc
7
- data.tar.gz: 30aff24275926344ddfe6ec48f4570b114a4fd485d431526898f5260581c3254da7558c179ce21376f8c060bc528f5a2ec826fcd8694c3b20ab4b98bc5c10d80
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 pip --disable-pip-version-check install --use-pep517 -r "requirements.txt"
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
+
@@ -7,4 +7,4 @@ pipfile==0.0.2
7
7
  poetry==1.6.1
8
8
 
9
9
  # Some dependencies will only install if Cython is present
10
- Cython==3.0.0
10
+ Cython==3.0.2
@@ -247,7 +247,7 @@ module Dependabot
247
247
  write_temporary_pyproject
248
248
 
249
249
  SharedHelpers.run_helper_subprocess(
250
- command: "pyenv exec python #{NativeHelpers.python_helper_path}",
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 python #{NativeHelpers.python_helper_path}",
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 python #{NativeHelpers.python_helper_path}",
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 python #{NativeHelpers.python_helper_path}",
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 python #{NativeHelpers.python_helper_path}",
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 python #{NativeHelpers.python_helper_path}",
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 python #{python_helper_path}",
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 python #{NativeHelpers.python_helper_path}",
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 xzf /usr/local/.pyenv/#{python_major_minor}.tar.gz -C /usr/local/.pyenv/"
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.229.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-30 00:00:00.000000000 Z
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.229.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.229.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.229.0
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: