Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency convergence errors in 9.2.10.0 #6081

Closed
pzygielo opened this issue Feb 19, 2020 · 5 comments
Closed

Dependency convergence errors in 9.2.10.0 #6081

pzygielo opened this issue Feb 19, 2020 · 5 comments

Comments

@pzygielo
Copy link
Contributor

pzygielo commented Feb 19, 2020

Environment Information

  • JRuby version (jruby -v) and command line (flags, JRUBY_OPTS, etc): 9.2.10.0, maven project
  • Operating system and platform (e.g. uname -a): Linux

Expected Behavior

  • Describe your expectation of how JRuby should behave, perhaps by showing how CRuby/MRI behaves.

Dependencies used by JRuby converge to the same version.

  • Provide an executable Ruby script or a link to an example repository.

Repository using maven and jruby: jruby-convergence-errors

Actual Behavior

  • Describe or show the actual behavior.

#5741 is back with 9.2.10.0 release:

[WARNING] 
Dependency convergence error for com.github.jnr:jnr-posix:3.0.53 paths to dependency are:
+-pzrep:jruby-convergence:1-SNAPSHOT
  +-org.jruby:jruby:9.2.10.0
    +-org.jruby:jruby-core:9.2.10.0
      +-com.github.jnr:jnr-unixsocket:0.27
        +-com.github.jnr:jnr-posix:3.0.53
and
+-pzrep:jruby-convergence:1-SNAPSHOT
  +-org.jruby:jruby:9.2.10.0
    +-org.jruby:jruby-core:9.2.10.0
      +-com.github.jnr:jnr-posix:3.0.54

[WARNING] 
Dependency convergence error for org.jruby.jcodings:jcodings:1.0.45 paths to dependency are:
+-pzrep:jruby-convergence:1-SNAPSHOT
  +-org.jruby:jruby:9.2.10.0
    +-org.jruby:jruby-core:9.2.10.0
      +-org.jruby.joni:joni:2.1.30
        +-org.jruby.jcodings:jcodings:1.0.45
and
+-pzrep:jruby-convergence:1-SNAPSHOT
  +-org.jruby:jruby:9.2.10.0
    +-org.jruby:jruby-core:9.2.10.0
      +-org.jruby.jcodings:jcodings:1.0.46

I understand I can choose to not upgrade, or to manage problematic dependencies myself. But as I'm not using jcodings nor jnr-posix directly, I would rather jruby have them synchronized (and tested for cooperation).

@headius
Copy link
Member

headius commented Feb 19, 2020

jnr-unixsocket needs an updated jnr-posix and joni needs an updated jcodings.

Perhaps we can turn this dependency check into a CI job? Can you help with that?

@headius
Copy link
Member

headius commented Feb 19, 2020

This has been fixed on master (9.3) and on a new jruby-9.2 branch that would become 9.2.11 if we release it. @enebo not sure how to mark milestone for this... seems like 9.2.11 is more likely than we thought?

@headius headius added this to the JRuby 9.3.0.0 milestone Feb 19, 2020
@enebo
Copy link
Member

enebo commented Feb 19, 2020

yeah I will add a 9.2.11.0 for this and for the rubygems issue.

@enebo enebo modified the milestones: JRuby 9.3.0.0, JRuby 9.2.11.0 Feb 19, 2020
@pzygielo
Copy link
Contributor Author

pzygielo commented Feb 19, 2020

Perhaps we can turn this dependency check into a CI job? Can you help with that?

Now, that I know project is buildable in my proxied environment - I can try.
Could it be new IT in maven/jruby-complete/src/it with (probably failures-enabled) travis job?

@headius
Copy link
Member

headius commented Feb 23, 2020

Cool I see the PR now. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants