Package: src:python-pomegranate
Version: 0.14.8-3
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12

Error compiling Cython file:
------------------------------------------------------------
...

cpdef disable_gpu():
        global GPU
        GPU = False

cdef ndarray_wrap_cpointer(void* data, numpy.npy_intp n):
     ^
------------------------------------------------------------

pomegranate/utils.pyx:120:5: Function signature does not match previous declaration performance hint: pomegranate/utils.pyx:157:5: Exception check on 'mdot' will always require the GIL to be acquired.
Possible solutions:
1. Declare the function as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on the function to allow an error code to be returned.
Compiling pomegranate/BayesClassifier.pyx because it changed.
Compiling pomegranate/BayesianNetwork.pyx because it changed.
Compiling pomegranate/FactorGraph.pyx because it changed.
Compiling pomegranate/MarkovChain.pyx because it changed.
Compiling pomegranate/MarkovNetwork.pyx because it changed.
Compiling pomegranate/NaiveBayes.pyx because it changed.
Compiling pomegranate/base.pyx because it changed.
Compiling pomegranate/bayes.pyx because it changed.
Compiling pomegranate/gmm.pyx because it changed.
Compiling pomegranate/hmm.pyx because it changed.
Compiling pomegranate/kmeans.pyx because it changed.
Compiling pomegranate/parallel.pyx because it changed.
Compiling pomegranate/utils.pyx because it changed.
Compiling pomegranate/distributions/BernoulliDistribution.pyx because it changed.
Compiling pomegranate/distributions/BetaDistribution.pyx because it changed.
Compiling pomegranate/distributions/ConditionalProbabilityTable.pyx because it changed. Compiling pomegranate/distributions/DirichletDistribution.pyx because it changed. Compiling pomegranate/distributions/DiscreteDistribution.pyx because it changed. Compiling pomegranate/distributions/ExponentialDistribution.pyx because it changed. Compiling pomegranate/distributions/GammaDistribution.pyx because it changed. Compiling pomegranate/distributions/IndependentComponentsDistribution.pyx because it changed. Compiling pomegranate/distributions/JointProbabilityTable.pyx because it changed.
Compiling pomegranate/distributions/KernelDensities.pyx because it changed.
Compiling pomegranate/distributions/LogNormalDistribution.pyx because it changed. Compiling pomegranate/distributions/MultivariateGaussianDistribution.pyx because it changed. Compiling pomegranate/distributions/NormalDistribution.pyx because it changed. Compiling pomegranate/distributions/PoissonDistribution.pyx because it changed. Compiling pomegranate/distributions/UniformDistribution.pyx because it changed.
Compiling pomegranate/distributions/distributions.pyx because it changed.
[ 1/29] Cythonizing pomegranate/BayesClassifier.pyx
[ 2/29] Cythonizing pomegranate/BayesianNetwork.pyx
[ 3/29] Cythonizing pomegranate/FactorGraph.pyx
[ 4/29] Cythonizing pomegranate/MarkovChain.pyx
[ 5/29] Cythonizing pomegranate/MarkovNetwork.pyx
[ 6/29] Cythonizing pomegranate/NaiveBayes.pyx
[ 7/29] Cythonizing pomegranate/base.pyx
[ 8/29] Cythonizing pomegranate/bayes.pyx
[ 9/29] Cythonizing pomegranate/distributions/BernoulliDistribution.pyx
[10/29] Cythonizing pomegranate/distributions/BetaDistribution.pyx
[11/29] Cythonizing pomegranate/distributions/ConditionalProbabilityTable.pyx
[12/29] Cythonizing pomegranate/distributions/DirichletDistribution.pyx
[13/29] Cythonizing pomegranate/distributions/DiscreteDistribution.pyx
[14/29] Cythonizing pomegranate/distributions/ExponentialDistribution.pyx
[15/29] Cythonizing pomegranate/distributions/GammaDistribution.pyx
[16/29] Cythonizing pomegranate/distributions/IndependentComponentsDistribution.pyx
[17/29] Cythonizing pomegranate/distributions/JointProbabilityTable.pyx
[18/29] Cythonizing pomegranate/distributions/KernelDensities.pyx
[19/29] Cythonizing pomegranate/distributions/LogNormalDistribution.pyx
[20/29] Cythonizing pomegranate/distributions/MultivariateGaussianDistribution.pyx
[21/29] Cythonizing pomegranate/distributions/NormalDistribution.pyx
[22/29] Cythonizing pomegranate/distributions/PoissonDistribution.pyx
[23/29] Cythonizing pomegranate/distributions/UniformDistribution.pyx
[24/29] Cythonizing pomegranate/distributions/distributions.pyx
[25/29] Cythonizing pomegranate/gmm.pyx
[26/29] Cythonizing pomegranate/hmm.pyx
[27/29] Cythonizing pomegranate/kmeans.pyx
[28/29] Cythonizing pomegranate/parallel.pyx
[29/29] Cythonizing pomegranate/utils.pyx
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 61, in <module>
extensions = cythonize(extensions, compiler_directives={'language_level' : "2"})

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
    cythonize_one(*args)
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: pomegranate/utils.pyx
E: pybuild pybuild:395: clean: plugin distutils failed with: exit code=1: python3.12 setup.py clean dh_auto_clean: error: pybuild --clean -i python{version} -p "3.12 3.11" returned exit code 13
make[1]: *** [debian/rules:19: override_dh_auto_clean] Error 25

Reply via email to