Post-Python 3.14.1 cleanups & Python package updates (#13716)

* Adjust py3_readme_renderer to use CREW_PY_VER.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add Python 3.14 to install.sh, add more filelists.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add note in lib/const.rb about variable changes needing to go into install.sh

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update py3_pip, add more filelists.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Handle crew upload being passed multiple files properly, and keep no_compile_needed packages from having a binary block added.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Move yt_dlp to pip buildsystem.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* python_cleanup: Package File Update Run on linux/386 container.

* Update py3_ldapdomaindump and mark as fixed.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust crew pip upload logic.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Gate verbose version.rb logging behind VERY_VERBOSE.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Do not let package_utils.clean_name change pkg.name, which affects using version.rb on py3_pygobject.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* pip package updates

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2025-12-05 13:08:57 -05:00
committed by GitHub
parent 1e56b08db2
commit f43ba1d543
82 changed files with 66255 additions and 66202 deletions

View File

@@ -4,7 +4,7 @@ require 'etc'
require 'open3'
OLD_CREW_VERSION = defined?(CREW_VERSION) ? CREW_VERSION : '1.0'
CREW_VERSION = '1.68.6' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
CREW_VERSION = '1.68.7' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
# Kernel architecture.
KERN_ARCH = Etc.uname[:machine]
@@ -345,6 +345,7 @@ PY3_PIP_RETRIES = ENV.fetch('PY3_PIP_RETRIES', '5')
# Defaults for the current versions used in version checking, in case
# we are checking versions from outside Chromebrew, such as in CI.
# Do adjust necessary variables in install.sh when changed here.
crew_gcc_ver_default = '15'
crew_icu_ver_default = '77.1'
crew_llvm_ver_default = '21'
@@ -380,7 +381,6 @@ CREW_UPDATER_EXCLUDED_PKGS = Set[
{ pkg_name: 'ld_default', comments: 'Internal Chromebrew Package.' },
{ pkg_name: 'linuxheaders', comments: 'Requires manual update.' },
{ pkg_name: 'pkg_config', comments: 'Upstream is abandoned.' },
{ pkg_name: 'py3_ldapdomaindump', comments: 'Build is broken.' },
{ pkg_name: 'ruby', comments: 'i686 needs building with GCC 14.' },
{ pkg_name: 'util_linux', comments: '2.41.2 build broken. See https://github.com/util-linux/util-linux/issues/3763' },
{ pkg_name: 'xdg_base', comments: 'Internal Chromebrew Package.' }

View File

@@ -103,18 +103,19 @@ class PackageUtils
# Remove our language-specific prefixes and any build splitting suffixes.
# This is mostly for use when querying Anitya in tools/version.rb, and is not suitable for Repology.
def self.get_clean_name(pkg_name)
cleaned_name = pkg_name.dup
# Delete language-specific prefixes.
pkg_name.delete_prefix!('perl_')
pkg_name.delete_prefix!('py3_')
pkg_name.delete_prefix!('ruby_')
cleaned_name.delete_prefix!('perl_')
cleaned_name.delete_prefix!('py3_')
cleaned_name.delete_prefix!('ruby_')
# Delete suffixes for split packages.
pkg_name.delete_suffix!('_build')
pkg_name.delete_suffix!('_dev')
pkg_name.delete_suffix!('_lib')
cleaned_name.delete_suffix!('_build')
cleaned_name.delete_suffix!('_dev')
cleaned_name.delete_suffix!('_lib')
# Delete the _static suffix for statically built packages.
pkg_name.delete_suffix!('_static')
cleaned_name.delete_suffix!('_static')
return pkg_name
return cleaned_name
end
def self.get_gitlab_pkginfo(pkg_name, pkg_version, pkg_arch, build = nil, verbose = nil)