Skip to content

Cannot bundle install due to gemspec deps #1166

@amaciejk

Description

@amaciejk

I'm attempting to build the logstash-output-elasticsearch plugin locally from main, however bundle install fails with:

logstash-output-elasticsearch % jruby -S bundle install
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies.....................
Bundler could not find compatible versions for gem "logstash-core":
  In Gemfile:
    logstash-output-elasticsearch was resolved to 11.22.2, which depends on
logstash-core-plugin-api (>= 1.60, <= 2.99) was resolved to 1.60.1, which
depends on
        logstash-core (<= 2.4.99, >= 2.4.0.snapshot1)

    logstash-output-elasticsearch was resolved to 11.22.2, which depends on
logstash-mixin-deprecation_logger_support (~> 1.0) was resolved to 1.0.0,
which depends on
        logstash-core (>= 5.0.0)

Does the logstash-output-elasticsearch.gemspec need updating? I'm curious as to how your build must be working internally yet it doesn't build locally?!

jruby -version
jruby 9.4.5.0 (3.1.4) 2023-11-02 1abae2700f OpenJDK 64-Bit Server VM 21.0.2 on 21.0.2 +jit [arm64-darwin]
bundle --version
Bundler version 2.3.26

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions