guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#69579] [PATCH] gnu: python-joblib: Update to 1.3.2.


From: Nicolas Graves
Subject: [bug#69579] [PATCH] gnu: python-joblib: Update to 1.3.2.
Date: Fri, 08 Mar 2024 23:20:30 +0100

On 2024-03-08 12:29, Vagrant Cascadian wrote:

> On 2024-03-06, Nicolas Graves wrote:
>> * gnu/packages/python-xyz.scm (python-joblib): Update to 1.3.2.
>> [build-system]: Update to pyproject-build-system.
>> [arguments]
>>   <#:phases>: Remove check phase.
>>   <#:test-flags>: Keep former test flag.
>> [propagated-inputs]: Add python-psutil.
>>
>> Change-Id: Ide110a19431b1d26e1d7dd8d1adc3b3f0f417749
>> ---
>>  gnu/packages/python-xyz.scm | 22 ++++++++--------------
>>  1 file changed, 8 insertions(+), 14 deletions(-)
>>
>> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
>> index 46232d3c98..122dca6e4e 100644
>> --- a/gnu/packages/python-xyz.scm
>> +++ b/gnu/packages/python-xyz.scm
>> @@ -6169,26 +6169,20 @@ (define-public python-pystitcher
>>  (define-public python-joblib
>>    (package
>>      (name "python-joblib")
>> -    (version "1.1.1")
>> +    (version "1.3.2")
>>      (source (origin
>>                (method url-fetch)
>>                (uri (pypi-uri "joblib" version))
>>                (sha256
>>                 (base32
>> -                "0019p280s2k941mihl67l7y6amwx86639xp3zvpsg1lmyish67rh"))))
>> -    (build-system python-build-system)
>> +                "1cbjjzsh9hzaqr2cqja95673p7j88b8bd02hjpkq8xz147k6by4j"))))
>> +    (build-system pyproject-build-system)
>>      (arguments
>> -     `(#:phases
>> -       (modify-phases %standard-phases
>> -         (replace 'check
>> -           (lambda* (#:key tests? #:allow-other-keys)
>> -             (when tests?
>> -               (setenv "JOBLIB_MULTIPROCESSING" "0")
>> -               (invoke "pytest" "-v" "joblib"
>> -                       ;; We disable this test to avoid having to depend on 
>> ipython/jupyter
>> -                       "-k" "not 
>> test_parallel_call_cached_function_defined_in_jupyter")))))))
>> -    (native-inputs
>> -     (list python-pytest))
>> +     (list
>> +      #:test-flags  ; disabled to avoid having to depend on ipython/jupyter
>> +      #~(list "-k" "not 
>> test_parallel_call_cached_function_defined_in_jupyter")))
>> +    (native-inputs (list python-pytest))
>> +    (propagated-inputs (list python-psutil))
>>      (home-page "https://joblib.readthedocs.io/";)
>>      (synopsis "Using Python functions as pipeline jobs")
>>      (description
>> -- 
>> 2.41.0
>
> I did a local test build, and tried to build the moderately large list
> of dependents (~90 if I recall), which seems to fix some builds and
> introduces some new failures, and some still fail in both cases...
>
> with python-joblib 1.3.2 patch:
>
> guix build: error: build of
> `/gnu/store/1f7fjigxbran1bn1lwvy4v7vfdfz09rj-python-pingouin-0.5.2.drv',
> `/gnu/store/4g2r98m4d5zkwvlgghdqgvnda8p5b8lf-tadbit-1.0.1-1.5c4c1dd.drv',
> `/gnu/store/8gkvizln2kjpdjn4m89vws9xpj3f62dw-python-scikit-allel-1.3.5.drv',
> `/gnu/store/cm2dr4npm0bn9w7xiyrfizcq097laibw-python-pyts-0.13.0.drv',
> `/gnu/store/h5l1cymbzrz2havw6ygn0gafxwvf5k9m-python-matplotlib-documentation-3.8.2.drv',
> `/gnu/store/ijg5hbhwj3h89bzh0n9l8zrg595bnscz-python-openturns-1.21.3.drv',
> `/gnu/store/n0f7flida4sag8ifsvmczg4r33r07ry8-python-pytorch-geometric-2.4.0.drv',
> `/gnu/store/yl5rndzgfprfr0lpcrhdwmvix61zyccr-python-poliastro-0.17.0.drv'
> failed
>
> without python-joblib 1.3.2 patch:
>
> guix build: error: build of
> `/gnu/store/rhd4p3n7ih0apdbqn552dvgf67ljmj5s-python-pingouin-0.5.2.drv',
> `/gnu/store/mdcf9g773mz96397fpy7hbhj624svdai-python-scikit-allel-1.3.5.drv',
> `/gnu/store/7b2px2nkw02i62zbc8izh5wlc08bvpp3-python-matplotlib-documentation-3.5.2.drv',
> `/gnu/store/36hdl27cw8gb9s7alf3ginmqk40lzjzm-python-xgboost-1.5.2.drv',
> `/gnu/store/jja4pvcnsxd63mb6jxlilkyjjf0a524m-python-hicexplorer-3.7.2.drv',
> `/gnu/store/mqzg965f7qhiz1rk93yqlq5p6p93h30j-python-episcanpy-0.4.0.drv',
> `/gnu/store/r4bx6mx0bkhk25zq4g91wma0s5ll016q-python-multivelo-0.1.2.drv',
> `/gnu/store/wrpm94hkilphkznif8nzan8gblaflrqp-python-ikarus-0.0.2.drv' failed

Thanks for this, I'll investigate further. 

-- 
Best regards,
Nicolas Graves





reply via email to

[Prev in Thread] Current Thread [Next in Thread]