Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929523 - dev-ruby/rbst: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: dev-ruby/rbst: needs upgrade to Python 3.12 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:42 UTC by Michał Górny
Modified: 2024-11-03 09:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:42:50 UTC
This package does not support Python 3.12.  Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html.  Please check the information provided in the tracker.  Ask in #gentoo-python on IRC if need any help.
Comment 1 Pacho Ramos gentoo-dev 2024-07-30 08:05:46 UTC
Probably not related with python version, but tests fail with:
* Running test phase for ruby31
/usr/bin/ruby31 -w -I"lib:lib:test" /usr/lib64/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_rbst.rb" 
/usr/lib64/ruby/gems/3.1.0/gems/mocha-1.16.1/lib/mocha/integration/mini_test/adapter.rb:26:in `included': uninitialized constant MiniTest (NameError)

          Mocha::ExpectationErrorFactory.exception_class = ::MiniTest::Assertion
                                                           ^^^^^^^^^^
Did you mean?  Minitest
	from /usr/lib64/ruby/gems/3.1.0/gems/mocha-1.16.1/lib/mocha/integration/mini_test.rb:50:in `include'
	from /usr/lib64/ruby/gems/3.1.0/gems/mocha-1.16.1/lib/mocha/integration/mini_test.rb:50:in `activate'
	from /usr/lib64/ruby/gems/3.1.0/gems/mocha-1.16.1/lib/mocha/minitest.rb:5:in `<top (required)>'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:160:in `require'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:40:in `require'
	from /var/tmp/portage/dev-ruby/rbst-0.6.5-r1/work/ruby31/rbst-0.6.5/test/helper.rb:6:in `<top (required)>'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
	from /var/tmp/portage/dev-ruby/rbst-0.6.5-r1/work/ruby31/rbst-0.6.5/test/test_rbst.rb:3:in `<top (required)>'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
	from /usr/lib64/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>'
	from /usr/lib64/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
	from /usr/lib64/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require': cannot load such file -- mocha/minitest (LoadError)
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
	from /var/tmp/portage/dev-ruby/rbst-0.6.5-r1/work/ruby31/rbst-0.6.5/test/helper.rb:6:in `<top (required)>'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
	from /var/tmp/portage/dev-ruby/rbst-0.6.5-r1/work/ruby31/rbst-0.6.5/test/test_rbst.rb:3:in `<top (required)>'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
	from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:86:in `require'
	from /usr/lib64/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>'
	from /usr/lib64/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
	from /usr/lib64/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
rake aborted!
Command failed with status (1): [ruby -w -I"lib:lib:test" /usr/lib64/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_rbst.rb" ]

Tasks: TOP => test
(See full trace by running task with --trace)
Comment 2 Larry the Git Cow gentoo-dev 2024-11-03 09:12:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9990fcfe98daa6ae75b6afeac3108756d266a788

commit 9990fcfe98daa6ae75b6afeac3108756d266a788
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-11-03 08:23:09 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-11-03 09:12:00 +0000

    dev-ruby/rbst:  add python3_12, ruby33, fix tests
    
    Closes: https://bugs.gentoo.org/835404
    Closes: https://bugs.gentoo.org/929523
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/rbst/rbst-0.6.5-r1.ebuild | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)