Bug 2371852

Summary: F43FailsToInstall: python3-dask+array, python3-dask+bag, python3-dask+dataframe, python3-dask+delayed, python3-dask+distributed, python3-dask
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: python-daskAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, epel-packagers-sig, extras-orphan, jonathan, ksurma, mhroncok, python-packagers-sig, quantum.analyst
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-dask-2025.4.1-4.fc43~bootstrap Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-18 05:59:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2323168, 2367454, 2371847, 2371901, 2372026, 2372116    
Bug Blocks: 2322407, 2339432, 2339435, 2384425, 2371672, 2371827, 2371862, 2371916, 2372030, 2372104, 2372200, 2372202, 2385549    

Description Fedora Fails To Install 2025-06-11 08:08:40 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (python-dask) Fails To Install in Fedora 43:

can't install python3-dask+array:
  - nothing provides python(abi) = 3.13 needed by python3-dask+array-2025.4.1-1.fc43.noarch
  - nothing provides python3.13dist(numpy) >= 1.24 needed by python3-dask+array-2025.4.1-1.fc43.noarch
  
can't install python3-dask+bag:
  - nothing provides python(abi) = 3.13 needed by python3-dask+bag-2025.4.1-1.fc43.noarch
  
can't install python3-dask+dataframe:
  - nothing provides python(abi) = 3.13 needed by python3-dask+dataframe-2025.4.1-1.fc43.noarch
  - nothing provides python3.13dist(pandas) >= 2 needed by python3-dask+dataframe-2025.4.1-1.fc43.noarch
  - nothing provides python3.13dist(pyarrow) >= 14.0.1 needed by python3-dask+dataframe-2025.4.1-1.fc43.noarch
  
can't install python3-dask+delayed:
  - nothing provides python(abi) = 3.13 needed by python3-dask+delayed-2025.4.1-1.fc43.noarch
  
can't install python3-dask+distributed:
  - nothing provides python(abi) = 3.13 needed by python3-dask+distributed-2025.4.1-1.fc43.noarch
  
can't install python3-dask:
  - nothing provides python(abi) = 3.13 needed by python3-dask-2025.4.1-1.fc43.noarch
  - nothing provides python3.13dist(packaging) >= 20 needed by python3-dask-2025.4.1-1.fc43.noarch
  - nothing provides python3.13dist(pyyaml) >= 5.3.1 needed by python3-dask-2025.4.1-1.fc43.noarch
  - nothing provides python3.13dist(click) >= 8.1 needed by python3-dask-2025.4.1-1.fc43.noarch
  - nothing provides python3.13dist(cloudpickle) >= 3 needed by python3-dask-2025.4.1-1.fc43.noarch
  - nothing provides python3.13dist(fsspec) >= 2021.9 needed by python3-dask-2025.4.1-1.fc43.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-43-x86_64 --config-opts mirrored=False install python3-dask+array python3-dask+bag python3-dask+dataframe python3-dask+delayed python3-dask+distributed python3-dask


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Ben Beasley 2025-06-11 10:16:33 UTC
Problem 1: package python3-crick-0.0.8-3.fc42.x86_64 from fedora requires python(abi) = 3.13, but none of the providers can be installed
  - package python3-devel-3.14.0~b2-3.fc43.x86_64 from local conflicts with python3 < 3.14.0~b2-3.fc43 provided by python3-3.13.3-3.fc43.i686 from fedora
  - package python3-devel-3.14.0~b2-3.fc43.x86_64 from local conflicts with python3 < 3.14.0~b2-3.fc43 provided by python3-3.13.3-3.fc43.x86_64 from fedora
  - cannot install the best candidate for the job
 Problem 2: cannot install both python3-numpy-1:2.2.6-1.fc43.x86_64 from fedora and python3-numpy-1:2.2.6-2.fc43.x86_64 from local
  - package python3-scikit-image-0.25.2-1.fc43.x86_64 from fedora requires python3.13dist(numpy) >= 1.24, but none of the providers can be installed
  - package python3-Bottleneck-1.4.2-3.fc43.x86_64 from local requires python3.14dist(numpy), but none of the providers can be installed
  - cannot install the best candidate for the job
 Problem 3: cannot install both python3-numpy-1:2.2.6-1.fc43.x86_64 from fedora and python3-numpy-1:2.2.6-2.fc43.x86_64 from local
  - package python3-xarray-2025.4.0-1.fc43.noarch from fedora requires python3.13dist(numpy) >= 1.24, but none of the providers can be installed
  - package python3-h5py-3.13.0-3.fc43.x86_64 from local requires python3.14dist(numpy) >= 1.19.3, but none of the providers can be installed
  - cannot install the best candidate for the job

Comment 2 Fedora Fails To Install 2025-06-20 19:57:50 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 3 Fedora Fails To Install 2025-07-15 09:59:27 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 4+ weeks.
This is the second reminder (step 4) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 4 Miro Hrončok 2025-07-31 06:35:13 UTC
When building (in bootstrap), there are 3116 errors, most (of not all) of them with:

  FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0!

Adding -W ignore:FutureWarning to %check does not solve that trivially.

Additionally, there are 871 test failures.

https://koji.fedoraproject.org/koji/buildinfo?buildID=2783101
https://koji.fedoraproject.org/koji/taskinfo?taskID=135490743

Comment 5 Karolina Surma 2025-07-31 07:40:08 UTC
Other repeating failures include _pickle.PicklingError:

___________________________ test_apply_infer_columns ___________________________
[gw1] linux -- Python 3.14.0 /usr/bin/python3

    def test_apply_infer_columns():
        df = pd.DataFrame({"x": [1, 2, 3, 4], "y": [10, 20, 30, 40]})
        ddf = from_pandas(df, npartitions=2)
    
        def return_df(x):
            return pd.Series([x.sum(), x.mean()], index=["sum", "mean"])
    
        with pytest.warns(UserWarning, match="metadata"):
            result = ddf.apply(return_df, axis=1)
        assert_eq(result.columns, pd.Index(["sum", "mean"]))
>       assert_eq(result, df.apply(return_df, axis=1))

dask/dataframe/dask_expr/tests/test_collection.py:1549: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

a = Dask DataFrame Structure:
                   sum     mean
npartitions=2                  
0              float64  floa...=Apply(frame=df, function=<function test_apply_infer_columns.<locals>.return_df at 0x7fe63c415b10>, kwargs={'axis': 1})
b =     sum  mean
0  11.0   5.5
1  22.0  11.0
2  33.0  16.5
3  44.0  22.0
serialize_graph = True, args = (), kwargs = {}
obj = Dask DataFrame Structure:
                   sum     mean
npartitions=2                  
0              float64  floa...=Apply(frame=df, function=<function test_apply_infer_columns.<locals>.return_df at 0x7fe63c415b10>, kwargs={'axis': 1})

    def assert_eq(a, b, *args, serialize_graph=True, **kwargs):
        if serialize_graph:
            # Check that no `Expr` instances are found in
            # the graph generated by `Expr.dask`
            with config.set({"dask-expr-no-serialize": True}):
                for obj in [a, b]:
                    if hasattr(obj, "dask"):
                        try:
>                           pickle.dumps(obj.dask)
E                           _pickle.PicklingError: Can't pickle local object <function test_apply_infer_columns.<locals>.return_df at 0x7fe63c415b10>
E                           when serializing tuple item 1
E                           when serializing tuple item 5
E                           when serializing dask._task_spec.Task state
E                           when serializing dask._task_spec.Task object
E                           when serializing dict item ('apply-5162b5b5fd476e06cca94614bbbfcc40', 0)

../BUILDROOT/usr/lib/python3.14/site-packages/dask/dataframe/dask_expr/tests/_util.py:34: PicklingError

Comment 6 Miro Hrončok 2025-07-31 08:39:08 UTC
(In reply to Miro Hrončok from comment #4)
> When building (in bootstrap), there are 3116 errors, most (of not all) of
> them with:
> 
>   FutureWarning: ChainedAssignmentError: behaviour will change in pandas 3.0!
> 
> Adding -W ignore:FutureWarning to %check does not solve that trivially.

Ah, as pointed out on Matrix by Elliott Sales de Andrade, I had a typo. -W ignore::FutureWarning (two colons) makes them go away and results in:


  = 87 failed, 15736 passed, 1240 skipped, 265 xfailed, 279 xpassed, 96 warnings in 253.35s (0:04:13) =

Comment 7 Fedora Fails To Install 2025-08-12 12:20:06 UTC
This package has been orphaned.

You can pick it up at https://src.fedoraproject.org/rpms/python-dask by clicking button "Take". If nobody picks it up, it will be retired and removed from a distribution.

Comment 8 Fedora Admin user for bugzilla script actions 2025-08-12 13:29:22 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 9 Fedora Fails To Install 2025-08-12 20:27:45 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 10 Elliott Sales de Andrade 2025-08-12 22:49:48 UTC
Down to 3 failures to investigate now.

Comment 11 Elliott Sales de Andrade 2025-08-18 05:59:14 UTC
I pushed some fixes and test skips to get this building.