Skip to content

Upgrade certifi to 2.15.0 #149

Closed
@inaC

Description

@inaC

Describe the bug

The hackney library version 1.24.0 was released in May 26th of 2025 and now requires using certifi 2.15.0 as the minimum version.

However, trying to update hackney to such version returns a dependency resolution error, because it requires certifi 2.15.0, and launchdarkly sdk uses 2.14.0

To reproduce

  • Create a new elixir project using mix, add the following dependencies in mix.exs file
  # Run "mix help deps" to learn about dependencies.
  defp deps do
    [
      {:hackney, "~> 1.24.1"},
      {:ldclient, "~> 3.7.0", hex: :launchdarkly_server_sdk}
    ]
  end
  • run mix deps.get:
Resolving Hex dependencies...
Resolution completed in 0.13s
Because hackney >= 1.24.0 depends on certifi ~> 2.15.0 and launchdarkly_server_sdk >= 3.6.0 depends on certifi 2.14.0, hackney >= 1.24.0 is incompatible with launchdarkly_server_sdk >= 3.6.0.
And because your app depends on hackney ~> 1.24.1, launchdarkly_server_sdk >= 3.6.0 is forbidden.
So, because your app depends on launchdarkly_server_sdk ~> 3.7.0, version solving failed.

Expected behavior

Be able to update hackney to the latest version, without having dependency resolution error being returned

Logs
If applicable, add any log output related to your problem.

SDK version
3.7.0

Language version, developer tools
Elixir 1.16.0, Erlang 26.2.1

OS/platform
MacOS Sonoma (14.7.6)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions