From: Colin Watson <cjwatson@debian.org>
Date: Sun, 19 Oct 2025 02:54:10 +0100
Subject: Fix mixin order

scikit-learn >= 1.6 is pickier about this.

Forwarded: https://github.com/holgern/scikit-optimize/pull/8
Bug-Debian: https://bugs.debian.org/1117992
Last-Update: 2025-10-19
---
 skopt/learning/gbrt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/skopt/learning/gbrt.py b/skopt/learning/gbrt.py
index 2d39653..7259d51 100644
--- a/skopt/learning/gbrt.py
+++ b/skopt/learning/gbrt.py
@@ -9,7 +9,7 @@ def _parallel_fit(regressor, X, y):
     return regressor.fit(X, y)
 
 
-class GradientBoostingQuantileRegressor(BaseEstimator, RegressorMixin):
+class GradientBoostingQuantileRegressor(RegressorMixin, BaseEstimator):
     """Predict several quantiles with one estimator.
 
     This is a wrapper around `GradientBoostingRegressor`'s quantile
