mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
AutoBuild: updates-2025-05-18-00-23 started at 2025-05-19-01UTC (#11910)
* Add unbuilt updated pip packages to updates-2025-05-18-00-23 * Modify py3_numpy package to remove gold dep. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add some binaries. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust pip logic. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix pip builds. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update py3_cryptography Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
75f90806c7
commit
b6eb01afe8
@@ -28,7 +28,7 @@ def pip_hard_reinstall
|
||||
pip_site_packages_folder = `python3 -c "import sysconfig; print(sysconfig.get_paths()['purelib'])"`.chomp
|
||||
Kernel.system "python3 -m pip install #{@pip_resume_retries} trash-cli"
|
||||
Kernel.system "trash-put #{pip_site_packages_folder}/#{@py_pkg}*"
|
||||
Kernel.system "PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 python3 -m pip install #{@pip_resume_retries} --force-reinstall --upgrade '#{@py_pkg}==#{@py_pkg_chromebrew_version}'"
|
||||
system "PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 python3 -m pip install #{@pip_resume_retries} --force-reinstall --upgrade '#{@py_pkg}==#{@py_pkg_chromebrew_version}'"
|
||||
get_pip_info(@py_pkg)
|
||||
end
|
||||
|
||||
@@ -88,7 +88,7 @@ class Pip < Package
|
||||
puts "A wheel for #{@py_pkg}==#{@py_pkg_chromebrew_version} was found!".lightblue
|
||||
else
|
||||
puts "A wheel for #{@py_pkg}==#{@py_pkg_chromebrew_version} was unavailable, so we will build a wheel.".orange
|
||||
Kernel.system "PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 python3 -m pip install #{@pip_resume_retries} #{prerelease? ? '--pre' : ''} --force-reinstall --upgrade '#{@py_pkg}==#{@py_pkg_chromebrew_version}'" unless prerelease?
|
||||
system "PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 python3 -m pip install #{@pip_resume_retries} #{prerelease? ? '--pre' : ''} --force-reinstall --upgrade '#{@py_pkg}==#{@py_pkg_chromebrew_version}'" unless prerelease?
|
||||
# Assume all pip non-SKIP sources are git.
|
||||
@pip_wheel = if @source_url == 'SKIP'
|
||||
`PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 MAKEFLAGS=-j#{CREW_NPROC} #{@pre_configure_options} python3 -m pip wheel #{prerelease? ? '--pre' : ''} -w #{@pip_cache_dir} #{@py_pkg}==#{@py_pkg_version}`[/(?<=filename=)(.*)*?(\S+)/, 0]
|
||||
|
||||
Reference in New Issue
Block a user