mobile-nixos icon indicating copy to clipboard operation
mobile-nixos copied to clipboard

CI: update Ruby and Python versions

Open craigem opened this issue 7 months ago • 2 comments

Deprecated versions of Ruby and Python are causing evaluations to fail.

Versions were chosen purely because they were most recent and I could get them to work. There may be good reasons to use other versions.

craigem avatar Apr 22 '25 11:04 craigem

ugh, while this progressed locally, it's still not working in CI.

The error was originally:

/nix/store/xk96lh29cjq0ak8zf89as6yk3wj7zh0x-ruby-3.3.6/lib/ruby/3.3.0/open3.rb:534:in `spawn': No such file or directory - hydra-eval-jobs (Errno::ENOENT)
from /nix/store/xk96lh29cjq0ak8zf89as6yk3wj7zh0x-ruby-3.3.6/lib/ruby/3.3.0/open3.rb:534:in `popen_run'
	from /nix/store/xk96lh29cjq0ak8zf89as6yk3wj7zh0x-ruby-3.3.6/lib/ruby/3.3.0/open3.rb:379:in `popen2'
	from /nix/store/xk96lh29cjq0ak8zf89as6yk3wj7zh0x-ruby-3.3.6/lib/ruby/3.3.0/open3.rb:785:in `capture2'
	from bin/hydra-eval:136:in `<top (required)>'
	from -e:1:in `load'
	from -e:1:in `<main>'
Error: Process completed with exit code 1.

and now it's:

/nix/store/qbip6w3k4dknaiqx3p3mwq5g8igh0sws-ruby-3.3.7/lib/ruby/3.3.0/open3.rb:534:in `spawn': No such file or directory - hydra-eval-jobs (Errno::ENOENT)
	from /nix/store/qbip6w3k4dknaiqx3p3mwq5g8igh0sws-ruby-3.3.7/lib/ruby/3.3.0/open3.rb:534:in `popen_run'
	from /nix/store/qbip6w3k4dknaiqx3p3mwq5g8igh0sws-ruby-3.3.7/lib/ruby/3.3.0/open3.rb:379:in `popen2'
	from /nix/store/qbip6w3k4dknaiqx3p3mwq5g8igh0sws-ruby-3.3.7/lib/ruby/3.3.0/open3.rb:785:in `capture2'
	from bin/hydra-eval:136:in `<top (required)>'
	from -e:1:in `load'
	from -e:1:in `<main>'
Error: Process completed with exit code 1.

So it looks to me like something is hard coding 3.3.0/open3.rb somewhere. I'll revisit this tomorrow.

craigem avatar Apr 22 '25 12:04 craigem

Are we in a situation @samueldr where my PR is failing CI because it needs to be merged to run successfully?

craigem avatar Apr 22 '25 12:04 craigem