colour-science breaking custom nodes installation

Open
#575 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
numpy, python
Domain
build-system

Research direction

The problem is the dependency declaration for colour-science, which the issue says was added recently and pulls in numpy 2.x. Start with the requirements file (requirements.txt or pyproject.toml) and check the git history for when colour-science was added, then find which code imports it. Done means a pinned or relaxed requirement that keeps numpy 1.x installable, verified by installing the dependencies into a numpy 1.x environment and confirming the nodes still import. The fix may need a maintainer decision on whether colour-science is needed at all.

Written by the indexing model from the issue text.

Description

I'm trying to install the latest ComfyUI-LTXVideo, and it seems a new python package requirement was added, colour-science. Installing colour-science forces my numpy version to 2.x, which totally breaks my Comfyui custom_nodes installation, which many require numpy 1.x. Is there some other way around this, while keeping numpy 1.x?

Dominant language
Python
Stars
4.2k
Forks
508
Avg merge
7h 14m
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Lightricks/ComfyUI-LTXVideo

All issues in Lightricks/ComfyUI-LTXVideo

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.