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

CIL pulls unnecessary dependencies via matplotlib #1936

Open
samtygier-stfc opened this issue Sep 26, 2024 · 0 comments
Open

CIL pulls unnecessary dependencies via matplotlib #1936

samtygier-stfc opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@samtygier-stfc
Copy link
Contributor

Description

Installing the CIL via conda e.g. with
conda create --name cil -c conda-forge -c https://software.repos.intel.com/python/conda -c ccpi cil=24.1.0
installs some unnecessary dependencies.

This is because it depends on matplotlib which is a metapackage that depends on pyside6 (or pyqt depending on the version) and tornado. In many cases a user will not need these (or may want to work with a different Qt version).

In the case of Mantid Imaging this results in our environment getting both Qt5 and Qt6.

This could be avoid by switching the dependency to matplotlib-base, or dropping matplotlib as a mandatory dependency.

Environment

24.1.0 -1 3.12.6 | packaged by conda-forge | (main, Sep 22 2024, 14:16:49) [GCC 13.3.0] linux

@samtygier-stfc samtygier-stfc added the bug Something isn't working label Sep 26, 2024
@gfardell gfardell added this to the v24.2.0 milestone Oct 3, 2024
@MargaretDuff MargaretDuff modified the milestones: v24.2.0, v24.3.0 Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

4 participants