Commit Graph

12 Commits

Author SHA1 Message Date
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