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

Dependencies of conda-forget repodata and index.json are out of sync #76

Open
1 task done
ZzEeKkAa opened this issue Mar 26, 2024 · 3 comments
Open
1 task done
Labels

Comments

@ZzEeKkAa
Copy link

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Dependencies version restriction are different for libxml2 in conda-forge channel and package metadata:

  • libxml2 >=2.11.5,<3.0.0a0 in conda-forge channel
  • libxml2 >=2.11.5,<2.12.0a0 in package metadata
conda search libhwloc=2.9.3=default_h554bfaf_1009 --info
Loading channels: done
libhwloc 2.9.3 default_h554bfaf_1009
------------------------------------
file name   : libhwloc-2.9.3-default_h554bfaf_1009.conda
name        : libhwloc
version     : 2.9.3
build       : default_h554bfaf_1009
build number: 1009
size        : 2.5 MB
license     : BSD-3-Clause
subdir      : linux-64
url         : https://conda.anaconda.org/conda-forge/linux-64/libhwloc-2.9.3-default_h554bfaf_1009.conda
md5         : f36ddc11ca46958197a45effdd286e45
timestamp   : 2023-09-12 15:30:03 UTC
dependencies:
  - libgcc-ng >=12
  - libstdcxx-ng >=12
  - libxml2 >=2.11.5,<3.0.0a0
cat info/index.json
{
  "arch": "x86_64",
  "build": "default_h554bfaf_1009",
  "build_number": 1009,
  "depends": [
    "libgcc-ng >=12",
    "libstdcxx-ng >=12",
    "libxml2 >=2.11.5,<2.12.0a0"
  ],
  "license": "BSD-3-Clause",
  "name": "libhwloc",
  "platform": "linux",
  "subdir": "linux-64",
  "timestamp": 1694532603730,
  "version": "2.9.3"
}

Installed packages

n/a

Environment info

n/a
@ZzEeKkAa ZzEeKkAa added the bug label Mar 26, 2024
@jan-janssen
Copy link
Member

I guess this is related to the incompatibility discussed in #72

@ZzEeKkAa
Copy link
Author

Thank you @jan-janssen for the quick response. It may be related, but more important question, how is it possible to have out of sync in metadata? Package was uploaded 4 month ago last time

@jan-janssen
Copy link
Member

I feel this is a misunderstanding. The libhwloc package was assumed to be compatible to libxml2 >=2.11.5,<3.0.0a0 this is why we added this in the meta.yaml file. In conda-forge libxml2 was fixed to 2.11. As this central fix was updated to 2.12 this broke the tests #71 . To my understanding this is fixed in libhwloc=2.10 that is why I would like to merge #72 .

In summary the statement libxml2 >=2.11.5,<3.0.0a0 is wrong, as it was not possible to update to 2.12.

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

No branches or pull requests

2 participants