Skip to content

Dependency conflict with fesom_icb_pism plugin #1422

@FinnHeu

Description

@FinnHeu

Hi there,

it seems there is a dependency conflict with the packaging python library when installing the fesom_icb_pism plugin.

The dependency conflict occurs due to a version pinning issue in setup.py (l. 27):

  1. esm_tools requires packaging==21.3 (pinned version)
  2. The fesom_icb_pism plugin (installed when with_icb: True in fesom-2.6.yaml (l. 278-281) depends on pyfesom2
  3. pyfesom2 requires jupyter, which brings in ipykernel and jupyter-server
  4. Both ipykernel and jupyter-server require packaging>=22
  5. At runtime, when pkg_resources tries to load the plugin, it detects the version conflict and raises ContextualVersionConflict

Is there a particular reason the packaging library is pinned? When I modified setup.py and allowed more recent versions packaging>=21.3 everything was working fine again.

Best,
Finn


I am working on branch feat/awiesm3-v3.4-co2 but the version conflict also appears in the latest release.

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