Skip to content

[CI][Packaging] Fix gemfury-related failures on CI due to deprecated DidYouMean::SPELL_CHECKERS #45157

Closed

Description

@amoeba

Describe the bug, including details regarding any error messages, version, and platform.

We recently started seeing failures of the "Upload package to Gemfury" step in jobs like Build wheel for manylinux 2-28

Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeReadIO` instead!
Top level ::Parts is deprecated, require 'multipart/post' and use `Multipart::Post::Parts` instead!
/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor/error.rb:105:in '<class:Thor>': uninitialized constant DidYouMean::SPELL_CHECKERS (NameError)

    DidYouMean::SPELL_CHECKERS.merge!(
              ^^^^^^^^^^^^^^^^
Did you mean?  DidYouMean::SpellChecker
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor/error.rb:1:in '<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor/base.rb:3:in 'Kernel#require_relative'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor/base.rb:3:in '<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor.rb:2:in 'Kernel#require_relative'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor.rb:2:in '<top (required)>'
	from <internal:/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from <internal:/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/gemfury-0.12.0/lib/gemfury/command.rb:5:in '<top (required)>'
	from <internal:/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from <internal:/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/gemfury-0.12.0/bin/fury:8:in '<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/bin/fury:25:in 'Kernel#load'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/bin/fury:25:in '<main>'
Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeReadIO` instead!
Top level ::Parts is deprecated, require 'multipart/post' and use `Multipart::Post::Parts` instead!
/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor/error.rb:105:in '<class:Thor>': uninitialized constant DidYouMean::SPELL_CHECKERS (NameError)

    DidYouMean::SPELL_CHECKERS.merge!(
              ^^^^^^^^^^^^^^^^
Did you mean?  DidYouMean::SpellChecker
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor/error.rb:1:in '<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor/base.rb:3:in 'Kernel#require_relative'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor/base.rb:3:in '<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor.rb:2:in 'Kernel#require_relative'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/thor-1.0.1/lib/thor.rb:2:in '<top (required)>'
	from <internal:/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from <internal:/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/gemfury-0.12.0/lib/gemfury/command.rb:5:in '<top (required)>'
	from <internal:/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from <internal:/opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/3.4.0/rubygems/core_ext/kernel_require.rb>:136:in 'Kernel#require'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/gemfury-0.12.0/bin/fury:8:in '<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/bin/fury:25:in 'Kernel#load'
	from /opt/hostedtoolcache/Ruby/3.4.1/x64/bin/fury:25:in '<main>'
Error: Process completed with exit code 1.

Component(s)

Continuous Integration, Packaging

Activity

  1. amoeba commented on Jan 2, 2025

    @amoeba
    MemberAuthor

    There's been past discussion on deprecating our use of Gemfury, see #43904, though that hasn't yet been done. It looks like the issue here is partly due to us pinning gemfury to 0.12.0 in the past in #36692. The previous pinning was for other reasons and I suspect we can remove this pin now. I'll put up a PR to test in a bit.

    Other things I think we could do here are:

  2. added this to the 19.0.0 milestone on Jan 2, 2025
  3. added a commit that references this issue on Jan 2, 2025
  4. kou commented on Jan 2, 2025

    @kou
    Member

    Issue resolved by pull request 45158
    #45158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions