Dne 27. 09. 22 v 19:28 Pavel Valena napsal(a):
On Tue, Sep 27, 2022 at 4:42 PM Vít Ondruch <vondruch@redhat.com> wrote:

Dne 26. 09. 22 v 15:36 Mamoru TASAKA napsal(a):
> Vít Ondruch wrote on 2022/09/26 19:57:
>>
>> Which fails due to Racc:
>>
>> https://copr.fedorainfracloud.org/coprs/pvalena/rubygems-testing/build/4871170/
>>
>>
>> The issue seems to be fixed upstream:
>>
>> https://github.com/ruby/racc/pull/191
>>
>>
>> It is unfortunate that such a minor bug might influence quite lot of
>> the ecosystem. Hopefully we will be in better shape in few months.
>> And if on, just remember we have to fix this one ;)
>>
>
> I've backported this.
> https://src.fedoraproject.org/rpms/rubygem-racc/c/3c4085f926366417a372f0ee6e9746f79ca46bb7
>


Nice, thx.

Last build of Racc done 7h ago failed again:

https://copr.fedorainfracloud.org/coprs/pvalena/rubygems-testing/build/4874736/

But this was still -204. Pavle, how is this updated? Does it need any
intervention? Or successful Rawhide compose?

Good point. I forgot to put git pull there.

Fixing now. Thanks!


Yep, that works.


And another issue for Mamoru, this time from rspec-core:


~~~

expected "\nAn error occurred while loading ./spec/example_spec.rb.\nFailure/Error:\n  RSpec.describe Fixnum d...files took 0.05699 seconds to load)\n0 examples, 0 failures, 1 error occurred outside of examples\n" not to string includes: "0 examples"
Diff:
@@ -1,2 +1,22 @@
-0 examples
+
+An error occurred while loading ./spec/example_spec.rb.
+Failure/Error:
+  RSpec.describe Fixnum do
+    describe 'inner' do
+      describe String do
+        it "is available as described_class" do
+          expect(described_class).to eq(String)
+        end
+      end
+    end
+  end
+
+NameError:
+  uninitialized constant Fixnum
+# ./spec/example_spec.rb:1:in `<top (required)>'
+No examples found.
+
+
+Finished in 0.00003 seconds (files took 0.05699 seconds to load)
+0 examples, 0 failures, 1 error occurred outside of examples

~~~


And here is the fix:

https://github.com/rspec/rspec-core/commit/bf49c78d7a92e253d557924a3f85fd6991e32ca3


This is likely due to:

https://github.com/ruby/ruby/blob/28840d74c26189f4e730b906c2383e32ea6165fe/NEWS.md?plain=1#L232


In short, it seems to be due to removing deprecated `Fixnum` and `Bignum`. This might cause some troubles. Not in rspec-core.



Vít



Pavel
 


Vít


>
> Mamoru
>
> _______________________________________________
> ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
> To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue