Commit Graph

25 Commits

Author SHA1 Message Date
Maximilian Downey Twiss
75bc603418 Run rubocop 1.76.0 on tree (#11998) 2025-06-06 11:04:01 +00:00
github-actions[bot]
a5e198e69f updates workflow run w/ pip fixes (#11944)
* Add unbuilt updated pip packages to updates-2025-05-24-15-08

* Add unbuilt updated ruby gem packages to updates-2025-05-24-15-08

* Modify pip buildsystem & add more debugging.

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

* Add built packages for linux/386 to updates-2025-05-24-15-08

* Add built packages for linux/amd64 to updates-2025-05-24-15-08

* Add built packages for linux/arm/v7 to updates-2025-05-24-15-08

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2025-05-24 21:36:17 +00:00
github-actions[bot]
626a53a7a7 Update buildsystems to use buildsystem name variables, and report contents of those variables/methods during use. (#11936)
* Update buildsystems, update jq, add jq to core for arm.

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

* Only report build options if they exist.

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

* Fix overeager sed replacement.

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

* workflow debugging

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

* Add logging for build errors.

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

* Revert to function in each package file.

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

* Update jq since it needs gcc14 to build.

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

* Add built packages for linux/386 to buildsystems

* remove deprecated gfbgraph

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

* fix git tag for gnome_maps

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

* Update llvm20 package file.

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

* Update gnome_maps deps.

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

* Abstract out buildsystems_methods reporting.

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

* Keep LIBC_VERSION const from being empty.

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

* Update crew_profile_base and libxml2

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

* clarify

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

* lint

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

* Update libarchive

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

* update libavif

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

* more updates

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

* Add libxml2 build comment.

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

* Add build comment to libarchive.

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

* Don't warn for missing directory during package removal.

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2025-05-23 19:50:48 +00:00
Satadru Pramanik, DO, MPH, MEng
36db736bb4 fix typo (#11931)
Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2025-05-22 16:03:27 +00:00
github-actions[bot]
8796d687f5 Fix method reporting in buildsystems, Fix Rust buildsystem, Rebuild uutils_coreutils. (#11930)
* Revamp rust buildsystem.

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

* Rebuild uutils_coreutils correctly.

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

* Add better method printing to buildsystems.

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

* Unify gem_name and gem_version variables.

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

* cleanup

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

* Add variable for packages to skip during install testing portion of unit tests.

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

* Avoid system override in python3 postinstall.

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

* Remove old pip 23.2.1 workaround.

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2025-05-22 15:52:26 +00:00
github-actions[bot]
b6eb01afe8 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>
2025-05-19 05:38:44 +00:00
github-actions[bot]
14f231621b pip: enable --resume-retries option for pip > 25.1 (#11836)
* Add python pip --resume-retries option for pip > 25.1

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

* Add PY3_PIP_RETRIES  to const.rb

* Add PY3_PIP_RETRIES  to pip.rb

* Update lib/buildsystems/pip.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Actually use env variable for PY3_PIP_RETRIES const.rb

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-27 22:53:41 +00:00
Satadru Pramanik, DO, MPH, MEng
79efa1dfd5 Python => 3.13.0 (#10585)
* Python => 3.13

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

* fix VER variables in const.rb

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

* bugfixes

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

* More plumbing changes...

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

* Adjust py3_pip and py3_setuptools to not error during python3 preinstall.

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

* fix hash error

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

* Add no_binaries_needed

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

* bugfixes...

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

* Add PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to pip.rb to fix python 3.13 builds.

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

* Add workaround for missing binaries...

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

* update cmake

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

* Add lots of package updates.

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

* Add py3_bcrypt, rename asciidoc, add more package builds.

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

* More updates

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

* revert postgresql update

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

* final updates?

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

* update curl

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

* lint

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

* Add curl to essential packages to try to prevent unit test failure on i686.

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

* updates

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

* lint

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

* fix accidental change to docker package.

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

* Fiz condition of no new updates leavimg a message with CREW_UNATTENDED set.

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

* more updates, add missing libabigail binaries

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

* rebuild py3_dbus_python

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

* add arm build for 5.10 musl_linuxheaders

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

* Add builds for openimageio.

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

* Adjust ruby buildsystem slightly to use cache more, adjust unit tests to properly invoke setarch, add py3_pynacl, update libsodium.

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

* Ruby adjustments...

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

* unit test adjustments...

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

* unit test adjustments...

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

* Add error message to pip install...

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

* expand pip error reporting

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

* More pip adjustments.

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

* Add more pip verbose error reporting.

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

* Add new workaround for pip failure on i686...

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

* Refactor pip again...

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

* more refactoring...

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

* Adjust py3_pip version restriction.

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

* Avoid container jdk dependency in snowflake.

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

* update trove classifiers.

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

* adjust package fxn exit

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

* adjust more jdk deps

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-10-12 16:03:50 -05:00
Satadru Pramanik, DO, MPH, MEng
24cda80f45 Add gem binary build functionality and also refactor upload to use regex in lieu of sed (#10494)
* Add initial plumbing for ruby gem-compiler use.

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

* Add binary gem building to ruby buildsystem.

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

* Refactor upload to avoid sed.

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

* Add gem binary build plumbing to crew.

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

* Add binary_compression to gems.

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

* Add ruby gem binaries.

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

* Move ruby_ruby_libversion to core.

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

* Ruby gem update check should account for local versions.

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

* Remove unused update_sha256 function.

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

* Add no_compile_needed to ruby_rubocop.rb

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

* Remove ruby_gem_compiler from buildessential.

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-09-19 11:52:39 -05:00
Satadru Pramanik, DO, MPH, MEng
a74a2a331c Require package.rb from buildsystems properly. (#10478)
* Require package.rb from buildsystems properly.

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

* Update build script to not prompt for aarch64 build.

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

* Update packages with 'yes | tools/build_updated_packages.rb' to make sure nothing broke.

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

* Update awscli binaries

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-09-14 15:29:01 -05:00
Satadru Pramanik, DO, MPH, MEng
db0de20fc4 Some pip refactoring... (#10463)
* Pip updates

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

* Add wheel upload capability to crew.

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

* reupload i686 binary of py3_twine

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

* Add :in_install.

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

* Mention uri in uri download failed message.

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

* Have gem maintenance use cleanup instead of pristine.

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

* Add binaries for py3_importlib_metadata

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

* update scripts...

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

* Suggested changes.

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

* dogfooding build_updated_packages script to make more updates...

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

* More changes to use CREW_GITLAB_PKG_REPO.

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

* Suggested changes and tools updates.

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

* Added a :prerelease property to buildsystems/pip because properties from package.rb are not seen by buildsystems/pip.rb

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

* Add more binaries

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

* update i686 hash

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

* update last hash

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-09-13 15:58:21 -05:00
Satadru Pramanik, DO, MPH, MEng
172ca528a1 Python => 3.12.6 (#10436)
* remove @_ver from py3 packages, change to use pip, and rename where appropriate

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

* Update py3_package versions.

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

* bump version of update_ruby...

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

* Attempt to fix i686 install.

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

* Update core_packages.txt.

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

* Python => 3.12.6

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

* Remove binaries...

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

* Remove binaries from py3_ packages.

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

* lint/fixup

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

* move py3_wheel to pip

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

* Move pytimeparse to pip.

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

* Add ruby_debug gem to buildessential since it is needed for irb.

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

* move py3_text_unidecode to pip

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

* lint

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

* convert more packages to pip

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

* replace appdirs with platformdirs

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

* fixup

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

* fixup

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

* Pip should unconditionally install...

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

* Adjust pip install...

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

* Adjust py3_python_ package deps

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

* Add error message for which package file was not found.

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

* cleanup py3_typing_extensions

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

* Update python packages...

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

* Add some binaries.

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

* Adjust py3_setuptools...

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

* fixup py3_setuptools_rust

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

* ruby adjustments

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

* Add setuptools binaries

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

* Remove ruby_debug from fixup deprecation list.

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

* Update py3_magic to py3_python_magic.

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

* Update python packages, adjust update_python script and buildsystems/pip

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

* Fix missing version in py3_parsedatetime.

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

* Update update scripts to use parallel.

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

* Add py3_patchelf and py3_libxml2 binaries

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

* Add unless defined check for USER in const.rb.

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

* Change CREW_CONST_GIT_COMMIT from being a constant.

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

* Add binaries for py3_pyopenssl.

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

* Have remove use pip if possible.

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

* fixup

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

* add more debug code to fixup.

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

* Prepare pip packages for build...

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

* fixup py3_pyyaml

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

* update py3_pyyaml

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

* fix py3_unsupported_python

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

* fix py3_unsupported_python

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

* remove some debug code

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

* more pip updates

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

* Add more binaries.

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

* Add binaries for py3_pyopenssl.

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

* Add py3_oci binaries.

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

* Add binaries

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

* Update py3_twine.

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

* update py3_oci_cli binaries

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

* cleanup buildsystems/pip

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

* add binaries for sphinx

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

* Update more packages.

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

* add binary_compression to pip files

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-09-10 10:55:11 -05:00
SupeChicken666
f9738c639d buildsystem: Use native ruby block in install_extras (#10110)
* buildsystem: Use native ruby block in `install_extras`

Signed-off-by: supechicken <me@supechicken666.dev>

* Make rubocop happy, disable `Security/Eval` cop

Signed-off-by: supechicken <me@supechicken666.dev>

---------

Signed-off-by: supechicken <me@supechicken666.dev>
2024-07-09 08:56:03 -05:00
Maximilian Downey Twiss
33901368d7 Enable more rubocop cops (#9980)
* Remove self.check in python3.rb as tests were not actuallly being run

* Enable Lint/ImplicitStringConcatenation cop

* Enable Layout/CommentIndentation cop

* Remove unnecessary configuration of Layout/IndentationStyle to EnforcedStyle: spaces, as this is already the default

* Enable Layout/LeadingCommentSpace cop

* Enable Layout/SpaceInsideBlockBraces cop

* Enable Layout/SpaceInsideParens cop

* Enable Layout/TrailingEmptyLines cop

* Enable Lint/LiteralAsCondition cop

* Document the current issue stopping us from enabling Style/OptionalBooleanParameter

* Stop downloading our rubocop config when installing ruby_rubocop
2024-06-17 16:19:11 -04:00
Satadru Pramanik, DO, MPH, MEng
7ef6d70736 Handle case where ruby needs an upgrade, but openssl also needs to be upgraded, and other M106 fixes. (#9912)
* handle case where ruby needs an upgrade, but openssl also needs to be upgraded

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

* update gcc_dev package for older glibc versions

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

* update libssp

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

* update py3_packaging

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

* rerun upgrade on openssl upgrade too

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

* Fixup pip for older ruby versions

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

* fixup pip logic

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

* do not break rubocop install with older ruby

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

* fix json gem breakage during ruby upgrade

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

* py3_pip => 24.0

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

* add comment

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

* fixup

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-06-06 00:58:13 -05:00
Satadru Pramanik, DO, MPH, MEng
43c334de5f Autosource ~/.bashrc (#9649)
* Autosource ~/.bashrc

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

* Add exitmessage...

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

* Use env variable to gate USR1

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

* add logging

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

* adjust logging, add more documentation

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

* move env sourced variable in const.rb

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

* Update flag variable to be CREW_SOURCE_BASHRC_ACTIVATED

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

* Remove need for CREW_SOURCE_BASHRC_ACTIVATED env variable

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

* fix logic for trap detection

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

* revert to using env variable as flag for bash trap enablement

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

* add reversion to env based crew_profile_base trap detection

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

* move SOURCE_BASHRC code block

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

* use fd instead of env variable, check for interactive terminal in selector

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

* fix fd check

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

* add exit to shell for installer so that bashrc does not have to be sourced manually after install is run.

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

* do not use @pkg unless defined

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

* Add some debug code to progress_bar

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

* Add some debug code to progress_bar

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

* Do not tread on #9654

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

* Add some debug code to progress_bar

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

* Add some debug code to progress_bar

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

* Add some debug code to progress_bar

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

* Add some debug code to progress_bar

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

* Add some debug code to progress_bar

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

* Add some debug code to progress_bar

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

* Add some debug code to progress_bar

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

* fixup selector and progress_bar

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

* remove debug code from progress_bar

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

* refactor to use changed bash process name

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

* Adjust comment

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

* disable more debug code

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

* fix comparison

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

* fix unit test

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

* add some debugging to selector

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

* move crewlog to separate file

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

* use global verbose

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

* adjust timeout to 1 for selector

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

* "workaround" using a global variable

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

* fix CREW_VERBOSE

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

* Use CREW_VERBOSE

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

* switch all @opt_verbose to CREW_VERBOSE

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

* try to work around missing constant on update

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

* add print_source_bashrc to ccache

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

* uncommented crewlog lines in crew

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

* remove debug crewlog lines

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-04-15 21:28:42 -05:00
Satadru Pramanik, DO, MPH, MEng
0b13bf72c4 use quotes in pip (#8950)
* use quotes in pip

* bump version
2023-11-17 08:58:03 +11:00
Satadru Pramanik, DO, MPH, MEng
d9ca5d8e1d rebuild bison,sed, anagram, openjpeg, libjxl, gegl, gimp; update cpio, strace, putty, gpgme, tre, elinks, libgudev, upower, libdeflate, openexr, R, graphviz, gdal, imagemagick7, openblas, mold (#8920)
* rebuild bison,sed; update cpio

* add strace

* expand comment

* add gpgme, putty

* update tre

* update elinks

* deprecate js91

* rebuild anagram, update libgudev & upower

* rebuild openjpeg

* update libdeflate

* update openexr

* remove ilmbase deps (replaced by openexr)

* deprecate ilmbase

* rebuild gegl with newer openexr

* update R

* libjxl rebuild

* graphviz => 9

* update gdal

* imagemagick7 update

* gimp rebuild

* suggested changes

* Add pre_ options to cmake and meson buildsystems

* suggested changes

* reversion gegl

* update gdal url

* redo versions

* update py3_numpy

* update openblas, mold

* remove 'pre_' empty? checks in buildsystems

* rebuild rust to fix binary issues on x86_64

* fixup missing rust completions
2023-11-16 00:33:52 +08:00
Satadru Pramanik, DO, MPH, MEng
98674d95d7 pip deps: handle nil case (#8882)
* pip deps: handle nil case

* bump version

* Use -U for pip everywhere, and also cleanup installing message.

* do not show Requirement already satisfied
2023-11-03 11:52:39 -05:00
Satadru Pramanik, DO, MPH, MEng
6d8c7659fe Add py3_ruff, modify pip logic to exclude extra packages (#8880)
* add py3_ruff to py3_codespell

* Add py3_ruff, modify pip logic to exclude extra packages

* add py3_cffi binaries
2023-11-03 00:43:57 -05:00
Satadru Pramanik, DO, MPH, MEng
46959db84c pip buildsystem: install python deps automatically (#8879)
* pip buildsystem: install python deps automatically

* add rust build dep for py3_azure_cli

* fix py3_cryptography

* handle nil array

* cleanup deps string

* cleanup

* adjust deps and messages

* adjust messages

* adjust messages

* adjust messages, change pip cmdline

* add binaries for py3_cryptography
2023-11-02 22:10:32 -05:00
Ed Reel
0661d880e3 Fix /usr/local/lib/crew/lib/buildsystems/pip.rb:21:in eval: no implicit conversion of nil into String (TypeError) (#8877) 2023-11-02 16:07:10 -04:00
Ed Reel
260222a232 Update azure_cli package (#8875)
Add pip_install_extra property to buildsystems/pip

Add py3_azure_cli package

Add az fake package

Convert azure_cli to a fake package
2023-11-02 14:20:07 -04:00
Satadru Pramanik, DO, MPH, MEng
121656b1bb Pip adjustments (#8848)
* force pip to use utf-8

* update pip

* Add pip update check in buildsystems/pip
2023-10-29 19:52:40 -05:00
Satadru Pramanik, DO, MPH, MEng
2d8645cd42 Python 3.12.0 (#8728)
* Add python buildsystem

* tk rebuild

* Initial x86_64,i686 python 3.12 builds

* update meson package

* update python3 to have all compat

* update packages

* Add PYTHON env variable.

* add arm build

* update x86_64 binary

* add i686 binary

* update more packages

* fixup

* fixup

* updates

* fixup

* updates

* updates

* refactor python buildsystem

* refactor python buildsystem

* adjust buildsystems/python

* refactor buildsystems/python

* refactor some core py3 packages

* python package rebuilds

* fix package versioning

* update asciidoc

* update libxml2

* update itstool and py3_libxml2

* boost => 1.83

* update gnome packages

* update py3_pip

* update xcb_proto

* add pip buildsystem

* py3_websockets using pip buildsystem

* more pip updates

* update cython, libnghttp2

* update py3_packaging, py3_pyparsing

* rebuild libcaca

* update talloc, tevent

* update tdb

* update lmdb

* update py3_dnsmarkdown, py3_markdown

* update ldb

* fixup

* fix cmake llvm dep

* update py3_pyyaml

* more llvm17 adjustments

* update py3_pygments

* fixup

* smbclient => 4.19.0

* update py3_abimap

* update py3_pytz

* update py3_wcwidth py3_pyte

* build py3_xlrd.rb py3_et_xmlfile.rb py3_openpyxl.rb py3_olefile.rb py3_babel.rb

* py3_six

* build py3_pyicu.rb py3_pytimeparse.rb py3_text_unidecode.rb py3_slugify.rb py3_isodate.rb py3_leather.rb py3_parsedatetime.rb py3_agate.rb py3_agate_excel.rb

* update py3_packaging

* py3_dbfread.rb  py3_agate_dfb.rb py3_sqlalchemy.rb py3_agate_sql.rb

* py3_alabaster.rb py3_argcomplete.rb py3_appdirs.rb py3_click.rb

* add py3_soupsieve

* rebuild gstreamer for libvpx, build py3_editables.rb py3_pathspec.rb py3_pluggy.rb py3_trove_classifiers.rb py3_hatchling.rb py3_hatch_vcs.rb py3_hatch_fancy_pypi_readme.rb py3_attrs.rb py3_beautifulsoup4.rb py3_dateutil.rb py3_arrow.rb

* build py3_setuptools_scm.rb py3_semantic_version.rb py3_typing_extensions.rb py3_setuptools_rust.rb

* rebuild qtbase

* fixup packages

* update cpython

* make pip/python use nproc

* update numpy, but remove binaries

* Convert remaining python packages to pip without binaries

* add new packages to packages.yaml

* remove pip binaries

* refactor pip

* align pip update code betwen python3 and py3_pip

* fixup

* py3_pip needs building

* adjust depends logic

* refactor pip dependency

* bump buildessential

* bump version

* cleanup

* refactor pip

* switch py3_build to pip

* fixup depends ordering

* add spacing before no_compile_needed

* add missing no_compile_needed
2023-10-06 15:41:29 -05:00