diff options
| author | Benson Muite <bkmgit@users.noreply.github.com> | 2024-11-03 18:43:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-03 16:43:47 +0100 |
| commit | 971d23c461d091b9cb467250d13887f15e234c2d (patch) | |
| tree | 96dea7bbf1d0a6faaff309d1516a30b90e9b37f7 | |
| parent | 33aff4a46d3cf91980824bebd369e220a9e0011f (diff) | |
Use colormath2 instead of colormath (#3266)
| -rw-r--r-- | lib/threads/palette.py | 6 | ||||
| -rw-r--r-- | requirements.txt | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/lib/threads/palette.py b/lib/threads/palette.py index ebb6b339..e303f09f 100644 --- a/lib/threads/palette.py +++ b/lib/threads/palette.py @@ -5,9 +5,9 @@ from collections.abc import Set -from colormath.color_conversions import convert_color -from colormath.color_diff import delta_e_cie1994 -from colormath.color_objects import LabColor, sRGBColor +from colormath2.color_conversions import convert_color +from colormath2.color_diff import delta_e_cie1994 +from colormath2.color_objects import LabColor, sRGBColor from .color import ThreadColor diff --git a/requirements.txt b/requirements.txt index 2563d1f2..58b0e560 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,10 +24,7 @@ requests # tomli is built as tomllib in python 3.11 and higher tomli -# colormath - last official release: 3.0.0 -# we need already submitted fixes - so let's grab them from the github repository -colormath @ git+https://github.com/gtaylor/python-colormath.git@4a076831fd5136f685aa7143db81eba27b2cd19a - +colormath2 flask>=2.2.0 fonttools trimesh>=3.15.2 |
