Skip to content

Version pin on eccodes not respected by eccodeslib #414

@cfkanesan

Description

@cfkanesan

What happened?

When pinning eccodes to a particular version, e.g. 2.44, the version of eccodeslib that is installed is still the latest (2.45 at the time of writing)

What are the steps to reproduce the bug?

pip install eccodes==2.44

Version

2.45

Platform (OS and architecture)

Ubuntu

Relevant log output

$ pip install eccodes==2.44
Looking in indexes: https://hub.meteoswiss.ch/nexus/repository/python-all/simple
Collecting eccodes==2.44
  Downloading https://hub.meteoswiss.ch/nexus/repository/python-all/packages/eccodes/2.44.0/eccodes-2.44.0-py3-none-any.whl (83 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.5/83.5 kB 1.2 MB/s eta 0:00:00
Collecting numpy (from eccodes==2.44)
  Using cached https://hub.meteoswiss.ch/nexus/repository/python-all/packages/numpy/2.4.2/numpy-2.4.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (16.6 MB)
Collecting attrs (from eccodes==2.44)
  Using cached https://hub.meteoswiss.ch/nexus/repository/python-all/packages/attrs/25.4.0/attrs-25.4.0-py3-none-any.whl (67 kB)
Collecting cffi (from eccodes==2.44)
  Using cached https://hub.meteoswiss.ch/nexus/repository/python-all/packages/cffi/2.0.0/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (219 kB)
Collecting findlibs (from eccodes==2.44)
  Using cached https://hub.meteoswiss.ch/nexus/repository/python-all/packages/findlibs/0.1.2/findlibs-0.1.2-py3-none-any.whl (10 kB)
Collecting eccodeslib (from eccodes==2.44)
  Using cached https://hub.meteoswiss.ch/nexus/repository/python-all/packages/eccodeslib/2.45.1.9/eccodeslib-2.45.1.9-cp312-cp312-manylinux_2_28_x86_64.whl (20.4 MB)
Collecting pycparser (from cffi->eccodes==2.44)
  Using cached https://hub.meteoswiss.ch/nexus/repository/python-all/packages/pycparser/3.0/pycparser-3.0-py3-none-any.whl (48 kB)
Collecting eckitlib==1.32.4.9 (from eccodeslib->eccodes==2.44)
  Using cached https://hub.meteoswiss.ch/nexus/repository/python-all/packages/eckitlib/1.32.4.9/eckitlib-1.32.4.9-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (44.9 MB)
Collecting fckitlib==0.14.1.9 (from eccodeslib->eccodes==2.44)
  Using cached https://hub.meteoswiss.ch/nexus/repository/python-all/packages/fckitlib/0.14.1.9/fckitlib-0.14.1.9-cp312-cp312-manylinux_2_28_x86_64.whl (12.8 MB)
Installing collected packages: findlibs, eckitlib, pycparser, numpy, fckitlib, attrs, eccodeslib, cffi, eccodes
Successfully installed attrs-25.4.0 cffi-2.0.0 eccodes-2.44.0 eccodeslib-2.45.1.9 eckitlib-1.32.4.9 fckitlib-0.14.1.9 findlibs-0.1.2 numpy-2.4.2 pycparser-3.0

Accompanying data

No response

Organisation

MeteoSwiss

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions