Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-modern-colorthief for
openSUSE:Factory checked in at 2026-04-11 22:25:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-modern-colorthief (Old)
and /work/SRC/openSUSE:Factory/.python-modern-colorthief.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-modern-colorthief"
Sat Apr 11 22:25:37 2026 rev:8 rq:1345988 version:0.1.14
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-modern-colorthief/python-modern-colorthief.changes
2026-04-08 17:14:47.229594061 +0200
+++
/work/SRC/openSUSE:Factory/.python-modern-colorthief.new.21863/python-modern-colorthief.changes
2026-04-11 22:29:55.225092957 +0200
@@ -1,0 +2,6 @@
+Sat Apr 11 02:32:18 UTC 2026 - Richard Rahl <[email protected]>
+
+- Update to version 0.1.14:
+ + feat: add more docs and enable support for gil-less python
+
+-------------------------------------------------------------------
Old:
----
python-modern-colorthief-0.1.13.tar.gz
New:
----
python-modern-colorthief-0.1.14.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-modern-colorthief.spec ++++++
--- /var/tmp/diff_new_pack.ydlsF4/_old 2026-04-11 22:29:55.821117334 +0200
+++ /var/tmp/diff_new_pack.ydlsF4/_new 2026-04-11 22:29:55.825117499 +0200
@@ -19,7 +19,7 @@
%{?sle15_python_module_pythons}
%define pyname modern_colorthief
Name: python-modern-colorthief
-Version: 0.1.13
+Version: 0.1.14
Release: 0
Summary: Colorthief reimagined
License: MIT
++++++ python-modern-colorthief-0.1.13.tar.gz ->
python-modern-colorthief-0.1.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/modern_colorthief-0.1.13/Cargo.toml
new/modern_colorthief-0.1.14/Cargo.toml
--- old/modern_colorthief-0.1.13/Cargo.toml 2026-04-06 18:16:39.000000000
+0200
+++ new/modern_colorthief-0.1.14/Cargo.toml 2026-04-10 12:24:23.000000000
+0200
@@ -1,6 +1,6 @@
[package]
name = "modern_colorthief"
-version = "0.1.13"
+version = "0.1.14"
edition = "2024"
# See more keys and their definitions at
https://doc.rust-lang.org/cargo/reference/manifest.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/modern_colorthief-0.1.13/README.md
new/modern_colorthief-0.1.14/README.md
--- old/modern_colorthief-0.1.13/README.md 2026-04-06 18:16:39.000000000
+0200
+++ new/modern_colorthief-0.1.14/README.md 2026-04-10 12:24:23.000000000
+0200
@@ -4,14 +4,6 @@
[`ColorThief`](https://github.com/fengsp/color-thief-py) reimagined
-## Why use `modern_colorthief` ?
-
-- It's backend is written in `rust`
-
-## Why shouldn't you use `modern_colorthief` ?
-
-- `modern_colorthief` does not support EOL python versions.
-
## Examples :
Binary files old/modern_colorthief-0.1.13/docs/_static/pdfs/mediancut.pdf and
new/modern_colorthief-0.1.14/docs/_static/pdfs/mediancut.pdf differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/modern_colorthief-0.1.13/docs/api_differences.md
new/modern_colorthief-0.1.14/docs/api_differences.md
--- old/modern_colorthief-0.1.13/docs/api_differences.md 2026-04-06
18:16:39.000000000 +0200
+++ new/modern_colorthief-0.1.14/docs/api_differences.md 2026-04-10
12:24:23.000000000 +0200
@@ -1,3 +1,5 @@
+# Api Differences
+
## With `color-thief`
The difference between `color-thief` and `modern_colorthief` is very negligible
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/modern_colorthief-0.1.13/docs/index.rst
new/modern_colorthief-0.1.14/docs/index.rst
--- old/modern_colorthief-0.1.13/docs/index.rst 2026-04-06 18:16:39.000000000
+0200
+++ new/modern_colorthief-0.1.14/docs/index.rst 2026-04-10 12:24:23.000000000
+0200
@@ -19,6 +19,7 @@
parity
differences
roadmaps
+ mmcq
license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/modern_colorthief-0.1.13/docs/mmcq.rst
new/modern_colorthief-0.1.14/docs/mmcq.rst
--- old/modern_colorthief-0.1.13/docs/mmcq.rst 1970-01-01 01:00:00.000000000
+0100
+++ new/modern_colorthief-0.1.14/docs/mmcq.rst 2026-04-10 12:24:23.000000000
+0200
@@ -0,0 +1,35 @@
+Median Cut Color Quantization (MMCQ)
+====================================
+
+Median Cut Color Quantization is an algorithm used to reduce the number of
colors
+in an image while preserving visual similarity. It is widely used in image
+processing and color palette extraction.
+
+Overview
+--------
+
+The algorithm works by recursively dividing the RGB color space into smaller
+"boxes" and selecting representative colors.
+
+Steps
+-----
+
+1. Collect all pixels from the image.
+2. Place them into a single 3D RGB box.
+3. Find the color channel (R, G, or B) with the largest range.
+4. Sort pixels along that channel.
+5. Split the box at the median point.
+6. Repeat until the desired number of colors is reached.
+7. Compute the average color of each box to form the palette.
+
+Advantages
+----------
+
+- Simple and efficient
+- Produces visually good palettes
+- Widely used
+
+Reference
+---------
+
+:download:`Detailed PDF explanation <_static/pdfs/mediancut.pdf>`
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/modern_colorthief-0.1.13/src/rust/lib.rs
new/modern_colorthief-0.1.14/src/rust/lib.rs
--- old/modern_colorthief-0.1.13/src/rust/lib.rs 2026-04-06
18:16:39.000000000 +0200
+++ new/modern_colorthief-0.1.14/src/rust/lib.rs 2026-04-10
12:24:23.000000000 +0200
@@ -95,7 +95,7 @@
VERSION.get_or_init(|| env!("CARGO_PKG_VERSION").to_owned())
}
/// A Python module implemented in Rust.
-#[pymodule]
+#[pymodule(gil_used = false)]
fn _modern_colorthief(_py: Python, m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add("__version__", get_version())?;
++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/python-modern-colorthief/vendor.tar.zst
/work/SRC/openSUSE:Factory/.python-modern-colorthief.new.21863/vendor.tar.zst
differ: char 7, line 1