Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1660

The gemspec dependency on "json ~> 0" breaks anyone dependning on a recent version of json

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.18.1
    • ruby-binding
    • None

    Description

      https://github.com/apache/qpid-proton/blob/0790bb99fabc4a6d7c1c12fb09c0ff76a3594f5a/proton-c/bindings/ruby/qpid_proton.gemspec.in#L31

      This line was recently changed in qpid-proton master. It causes any project that depends on a recent version of json to break when pulling together dependencies. The pessimistic style of version constraint means that qpid-proton requires a json version of >= 0.0, but < 1.

      For instance, our project has a dependency on json 2.x. And, we see this error when bundling with qpid-proton:

       
      Bundler could not find compatible versions for gem "json": 
        In Gemfile: manageiq-providers-azure was resolved to 0.1.0, 
        which depends on azure-armrest (~> 0.9.1) was resolved to 0.9.1, which depends on json (~> 2.0.1) 
        qpid_proton (~> 0.18) was resolved to 0.18.0, which depends on json (~> 0) 
      

      Attachments

        Activity

          People

            aconway Alan Conway
            blomquisg Greg Blomquist
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: