You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/05 10:14:00 UTC
[jira] [Commented] (AVRO-1996) incompatibility with ruby 2.4
[ https://issues.apache.org/jira/browse/AVRO-1996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426703#comment-16426703 ]
ASF GitHub Bot commented on AVRO-1996:
--------------------------------------
casperisfine commented on issue #191: AVRO-1996: compatibility with Ruby 2.4
URL: https://github.com/apache/avro/pull/191#issuecomment-378887264
In the meantime I've silenced it with:
```ruby
# Gemfile
gem 'avro', '1.8.2', require: %w(./lib/patches/avro_fixnum_deprecation avro)
# lib/patches/avro_fixnum_deprecation.rb
module Avro
class Schema
Fixnum = ::Integer
end
end
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
> incompatibility with ruby 2.4
> -----------------------------
>
> Key: AVRO-1996
> URL: https://issues.apache.org/jira/browse/AVRO-1996
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Reporter: Tim Perkins
> Assignee: Tim Perkins
> Priority: Minor
> Labels: test
> Fix For: 1.9.0
>
>
> On master, there are failing tests with ruby 2.4.
> The problem is due to the unification of Fixnum and Bignum types as Integer in ruby 2.4.
> The only loss of functionality is minor: in schema validation messages the datum is reported as long instead of int.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)