Dnf update of python3-pandas package

Hey, dnf update on fedora 42 listed a large number of packages in ‘Installing dependencies’.
The dependencies are the result of updating “python3-pandas”.
I had a quick look at the pandas release notes between 2.2.3 and 2.3.3 but could not see a reason for the extra packages.
Could this be an issue with the package update?

dnf update python3-pandas
Updating and loading repositories:
Repositories loaded.
Package                                                         Arch           Version                                                         Repository                               Size
Upgrading:
 python3-pandas                                                 x86_64         2.3.3-2.fc42                                                    updates                              42.5 MiB
   replacing python3-pandas                                     x86_64         2.2.3-1.fc42~bootstrap                                          fedora                               42.2 MiB
Installing dependencies:
 blosc2                                                         x86_64         2.17.1-1.fc42                                                   updates                             552.1 KiB
 grpc                                                           x86_64         1.48.4-46.fc42                                                  fedora                               10.6 MiB
 grpc-cpp                                                       x86_64         1.48.4-46.fc42                                                  fedora                                3.0 MiB
 grpc-data                                                      noarch         1.48.4-46.fc42                                                  fedora                               29.6 KiB
 libarrow-flight-libs                                           x86_64         18.0.0-6.fc42                                                   updates                               1.4 MiB
 libarrow-glib-libs                                             x86_64         18.0.0-6.fc42                                                   updates                               1.4 MiB
 llhttp                                                         x86_64         9.2.1-6.fc42                                                    updates                              72.5 KiB
 perl-Text-Unidecode                                            noarch         1.30-26.fc42                                                    fedora                              448.7 KiB
 perl-XML-XPath                                                 noarch         1.48-8.fc42                                                     fedora                              202.3 KiB
 protobuf-compiler                                              x86_64         3.19.6-11.fc42                                                  fedora                                2.5 MiB
 python3-Bottleneck                                             x86_64         1.4.2-2.fc42                                                    fedora                              622.9 KiB
 python3-aiodns                                                 noarch         3.3.0-1.fc42                                                    updates                              40.9 KiB
 python3-aiohappyeyeballs                                       noarch         2.4.4-5.fc42                                                    fedora                               95.7 KiB
 python3-aiohttp                                                x86_64         3.10.11-2.fc42                                                  fedora                                3.2 MiB
 python3-aiosignal                                              noarch         1.4.0-1.fc42                                                    updates                              24.1 KiB
 python3-attrs                                                  noarch         25.1.0-1.fc42                                                   fedora                              396.3 KiB
 python3-blosc2                                                 x86_64         2.7.1-3.fc42                                                    fedora                                1.1 MiB
 python3-cachetools                                             noarch         5.5.1-1.fc42                                                    fedora                              135.2 KiB
 python3-contourpy                                              x86_64         1.3.3-1.fc42                                                    updates                             838.6 KiB
 python3-cpuinfo                                                noarch         9.0.0-11.fc42                                                   fedora                              307.9 KiB
 python3-cycler                                                 noarch         0.11.0-15.fc42                                                  fedora                               37.2 KiB
 python3-decorator                                              noarch         5.1.1-14.fc42                                                   fedora                               78.5 KiB
 python3-et_xmlfile                                             noarch         1.1.0-11.fc42                                                   fedora                               13.2 KiB
 python3-fonttools                                              x86_64         4.56.0-2.fc42                                                   fedora                               18.0 MiB
 python3-frozenlist                                             x86_64         1.5.0-3.fc42                                                    fedora                              150.6 KiB
 python3-google-api-core                                        noarch         1:2.11.1-11.fc42                                                fedora                              792.7 KiB
 python3-google-auth                                            noarch         1:2.41.1-1.fc42                                                 updates                               1.5 MiB
 python3-google-auth-oauthlib                                   noarch         1.2.2-1.fc42                                                    updates                              97.5 KiB
 python3-google-cloud-core                                      noarch         2.3.3-7.fc42                                                    fedora                              178.8 KiB
 python3-google-cloud-storage                                   noarch         2.14.0-7.fc42                                                   fedora                                1.2 MiB
 python3-google-crc32c                                          x86_64         1.7.1-1.fc42                                                    updates                              59.2 KiB
 python3-google-resumable-media                                 noarch         2.7.2-3.fc42                                                    fedora                              648.8 KiB
 python3-googleapis-common-protos                               noarch         1.63.0-8.fc42                                                   fedora                              777.0 KiB
 python3-grpcio                                                 x86_64         1.48.4-46.fc42                                                  fedora                                7.8 MiB
 python3-grpcio-status                                          noarch         1.48.4-46.fc42                                                  fedora                               14.0 KiB
 python3-jdcal                                                  noarch         1.4.1-13.fc42                                                   fedora                               35.3 KiB
 python3-kiwisolver                                             x86_64         1.4.9-1.fc42                                                    updates                             153.8 KiB
 python3-matplotlib-data                                        noarch         3.10.6-2.fc42                                                   updates                             742.7 KiB
 python3-matplotlib-data-fonts                                  noarch         3.10.6-2.fc42                                                   updates                               7.9 MiB
 python3-multidict                                              x86_64         6.1.0-2.fc42                                                    fedora                              156.6 KiB
 python3-ndindex                                                x86_64         1.9.2-4.fc42                                                    fedora                                1.0 MiB
 python3-oauthlib                                               noarch         3.2.2-6.fc42                                                    fedora                              987.3 KiB
 python3-pillow-tk                                              x86_64         11.1.0-2.fc42                                                   fedora                               72.9 KiB
 python3-pooch                                                  noarch         1.8.2-5.fc42                                                    fedora                              620.8 KiB
 python3-pyasn1                                                 noarch         0.6.1-3.fc42                                                    fedora                              863.7 KiB
 python3-pyasn1-modules                                         noarch         0.6.1-3.fc42                                                    fedora                                1.7 MiB
 python3-pycares                                                x86_64         4.10.0-1.fc42                                                   updates                             256.3 KiB
 python3-requests-oauthlib                                      noarch         1.3.1-11.fc42                                                   fedora                              133.1 KiB
 python3-rsa                                                    noarch         4.9-8.fc42                                                      fedora                              238.0 KiB
 python3-scipy                                                  x86_64         1.14.1-3.fc42                                                   fedora                               67.2 MiB
 python3-tkinter                                                x86_64         3.13.9-1.fc42                                                   updates                               1.9 MiB
 python3-yarl                                                   x86_64         1.13.1-2.fc42                                                   fedora                              536.8 KiB
 tcl8                                                           x86_64         1:8.6.15-10.fc42                                                fedora                                4.3 MiB
 texlive-base                                                   x86_64         11:20230311-89.fc42                                             fedora                               19.0 MiB
 texlive-cm                                                     noarch         11:svn57963-76.fc42                                             fedora                              994.9 KiB
 texlive-epstopdf                                               noarch         11:svn66461-89.fc42                                             fedora                               39.3 KiB
 texlive-epstopdf-pkg                                           noarch         11:svn53546-76.fc42                                             fedora                              386.5 KiB
 texlive-etex                                                   noarch         11:svn66203-76.fc42                                             fedora                               41.0 KiB
 texlive-graphics-def                                           noarch         11:svn64487-76.fc42                                             fedora                               98.2 KiB
 texlive-gsftopk                                                x86_64         11:svn52851-89.fc42                                             fedora                               47.0 KiB
 texlive-hyph-utf8                                              noarch         11:svn61719-76.fc42                                             fedora                               73.9 KiB
 texlive-hyphen-base                                            noarch         11:svn66413-76.fc42                                             fedora                               63.7 KiB
 texlive-knuth-lib                                              noarch         11:svn57963-76.fc42                                             fedora                               99.9 KiB
 texlive-kpathsea                                               x86_64         11:svn66209-89.fc42                                             fedora                                2.1 MiB
 texlive-lib                                                    x86_64         11:20230311-89.fc42                                             fedora                                1.1 MiB
 texlive-luatex                                                 x86_64         11:svn66967-89.fc42                                             fedora                                9.2 MiB
 texlive-plain                                                  noarch         11:svn57963-76.fc42                                             fedora                              109.4 KiB
 texlive-tex-ini-files                                          noarch         11:svn40533-76.fc42                                             fedora                                8.1 KiB
 texlive-texlive-scripts                                        noarch         11:svn66584-89.fc42                                             fedora                              337.2 KiB
 texlive-texlive.infra                                          noarch         11:svn66512-89.fc42                                             fedora                                1.0 MiB
 texlive-unicode-data                                           noarch         11:svn64423-76.fc42                                             fedora                                3.1 MiB
 tk8                                                            x86_64         1:8.6.15-5.fc42                                                 fedora                                3.2 MiB
 zlib-ng                                                        x86_64         2.2.5-2.fc42                                                    updates                             157.0 KiB
 zziplib                                                        x86_64         0.13.78-1.fc42                                                  fedora                              232.2 KiB
Installing weak dependencies:
 python3-PyMySQL                                                noarch         1.1.1-3.fc42                                                    fedora                              396.7 KiB
 python3-QtPy                                                   noarch         2.4.2-2.fc42                                                    fedora                              633.3 KiB
 python3-aiohttp+speedups                                       x86_64         3.10.11-2.fc42                                                  fedora                                8.2 KiB
 python3-fsspec                                                 noarch         2025.9.0-1.fc42                                                 updates                               1.8 MiB
 python3-gcsfs                                                  noarch         2025.9.0-1.fc42                                                 updates                             349.4 KiB
 python3-html5lib                                               noarch         1:1.1-27.fc42                                                   fedora                                1.5 MiB
 python3-matplotlib                                             x86_64         3.10.6-2.fc42                                                   updates                              22.4 MiB
 python3-matplotlib-tk                                          x86_64         3.10.6-2.fc42                                                   updates                             262.4 KiB
 python3-odfpy                                                  noarch         1.4.1-13.fc42                                                   fedora                                1.3 MiB
 python3-openpyxl                                               noarch         3.1.2-9.fc42                                                    fedora                                1.9 MiB
 python3-pyarrow                                                x86_64         18.0.0-6.fc42                                                   updates                              22.7 MiB
 python3-tables                                                 x86_64         3.10.1-5.fc42                                                   fedora                               10.1 MiB
 python3-xarray                                                 noarch         2025.1.1-3.fc42                                                 fedora                               18.2 MiB
 python3-xlrd                                                   noarch         2.0.1-20.fc42                                                   fedora                                1.0 MiB
 python3-xlsxwriter                                             noarch         3.2.9-1.fc42                                                    updates                               1.6 MiB
 texlive-dvipng                                                 x86_64         11:svn66203-89.fc42                                             fedora                              438.1 KiB
 xclip                                                          x86_64         0.13-24.git11cba61.fc42                                         fedora                               58.2 KiB

Transaction Summary:
 Installing:        91 packages
 Upgrading:          1 package
 Replacing:          1 package

Total size of inbound packages is 74 MiB. Need to download 74 MiB.
After this operation, 273 MiB extra will be used (install 315 MiB, remove 42 MiB).
1 Like

I suspect that dnf is being slightly misleading here, and the long list of dependencies are actually the indirect dependencies brought in by the list of weak dependencies (Recommends:) at the bottom. You can test this by passing the --setopt=install_weak_deps=False option to dnf and checking what dependencies remain.

These are legitimate weak dependencies that enable more features in Pandas. The odd thing is that they were not present in the previous build: compare Making sure you're not a bot! to Making sure you're not a bot! , while noting that the last time this part of the spec file was significantly updated was before either of those builds, Making sure you're not a bot! . It looks like the previous build suffered from some kind of infrastructure glitch that caused it to be missing its weak dependencies, and the latest update corrects that.

3 Likes

Yes: imagine A has a weak dependency on B, which has a strong dependency on C. Then when you try to install A, C appears in the “dependencies” section, not the “weak dependencies”.