Re: Python Classroom Lab help needed: proj-data is suddenly 569M

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

 



Hello.

From my point of view and from the networkx perespective, we can brake this chain and don't install python3-gdal. python3-gdal brings support for special GIS Shapefile which I think we don't need by default in the classroom.

Have a nice day.

Lumír

On 1/27/21 3:17 PM, Miro Hrončok wrote:
Hello,

when debugging an unexpected significant file size grow of the Python Classroom Lab [1], I've realized the following package changes since Fedora 33:

 proj
-proj-datumgrid
+proj-data-at
+proj-data-au
+proj-data-be
+proj-data-br
+proj-data-ca
+proj-data-ch
+proj-data-de
+proj-data-dk
+proj-data-es
+proj-data-eur
+proj-data-fi
+proj-data-fo
+proj-data-fr
+proj-data-is
+proj-data-jp
+proj-data-nc
+proj-data-nl
+proj-data-nz
+proj-data-pt
+proj-data-se
+proj-data-sk
+proj-data-uk
+proj-data-us

And /usr/share/proj is huge:

[fedora-34]$ du -h /usr/share/proj
569M    /usr/share/proj

[fedora-33]$ du -h /usr/share/proj
14M    /usr/share/proj


When I attempt to remove proj, I get:

===============================================================================
 Package                       Arch      Version Repository    Size
===============================================================================
Removing:
 proj                          x86_64    7.2.1-1.fc34 @anaconda     13 M
Removing dependent packages:
 python3-gdal                  x86_64    3.2.1-3.fc34 @anaconda    4.1 M
Removing unused dependencies:
 SuperLU                       x86_64    5.2.1-14.fc33 @anaconda    467 k
 armadillo                     x86_64    10.1.2-1.fc34 @anaconda     99 k
 arpack                        x86_64    3.7.0-8.fc33 @anaconda    625 k
 cfitsio                       x86_64    3.470-3.fc33 @anaconda    1.7 M
 freexl                        x86_64    1.0.6-1.fc33 @anaconda     70 k
 gdal-libs                     x86_64    3.2.1-3.fc34 @anaconda     26 M
 geos                          x86_64    3.9.0-1.fc34 @anaconda    2.2 M
 hdf-libs                      x86_64    4.2.15-3.fc33 @anaconda    682 k
 libdap                        x86_64    3.20.6-2.fc33 @anaconda    2.1 M
 libgeotiff                    x86_64    1.6.0-3.fc34 @anaconda    344 k
 libgta                        x86_64    1.0.9-5.fc33 @anaconda     75 k
 libkml                        x86_64    1.3.0-29.fc33 @anaconda    1.2 M
 libpq                         x86_64    13.1-1.fc34 @anaconda    715 k
 librttopo                     x86_64    1.1.0-1.fc34 @anaconda    518 k
 libspatialite                 x86_64    5.0.0-3.fc34 @anaconda     16 M
 mariadb-connector-c           x86_64    3.1.11-1.fc34 @anaconda    539 k
 mariadb-connector-c-config    noarch    3.1.11-1.fc34 @anaconda    497
 minizip                       x86_64    2.10.2-1.fc34 @anaconda    354 k
 netcdf                        x86_64    4.7.3-5.fc34 @anaconda    1.9 M
 ogdi                          x86_64    4.1.0-4.fc33 @anaconda    871 k
 proj-data-at                  noarch    7.2.1-1.fc34 @anaconda    2.1 M
 proj-data-au                  noarch    7.2.1-1.fc34 @anaconda    118 M
 proj-data-be                  noarch    7.2.1-1.fc34 @anaconda    749 k
 proj-data-br                  noarch    7.2.1-1.fc34 @anaconda    1.0 M
 proj-data-ca                  noarch    7.2.1-1.fc34 @anaconda     94 M
 proj-data-ch                  noarch    7.2.1-1.fc34 @anaconda    1.6 M
 proj-data-de                  noarch    7.2.1-1.fc34 @anaconda     74 M
 proj-data-dk                  noarch    7.2.1-1.fc34 @anaconda    9.9 M
 proj-data-es                  noarch    7.2.1-1.fc34 @anaconda    1.0 M
 proj-data-eur                 noarch    7.2.1-1.fc34 @anaconda    1.0 M
 proj-data-fi                  noarch    7.2.1-1.fc34 @anaconda    288 k
 proj-data-fo                  noarch    7.2.1-1.fc34 @anaconda    1.5 k
 proj-data-fr                  noarch    7.2.1-1.fc34 @anaconda    1.2 M
 proj-data-is                  noarch    7.2.1-1.fc34 @anaconda    5.5 M
 proj-data-jp                  noarch    7.2.1-1.fc34 @anaconda    420 k
 proj-data-nc                  noarch    7.2.1-1.fc34 @anaconda    1.1 M
 proj-data-nl                  noarch    7.2.1-1.fc34 @anaconda    1.1 M
 proj-data-nz                  noarch    7.2.1-1.fc34 @anaconda     14 M
 proj-data-pt                  noarch    7.2.1-1.fc34 @anaconda    431 k
 proj-data-se                  noarch    7.2.1-1.fc34 @anaconda    2.2 M
 proj-data-sk                  noarch    7.2.1-1.fc34 @anaconda    1.2 M
 proj-data-uk                  noarch    7.2.1-1.fc34 @anaconda    4.8 M
 proj-data-us                  noarch    7.2.1-1.fc34 @anaconda    224 M
 unixODBC                      x86_64    2.3.9-1.fc34 @anaconda    1.4 M
 uriparser                     x86_64    0.9.4-2.fc33 @anaconda    160 k
 xerces-c                      x86_64    3.2.3-2.fc33 @anaconda    3.5 M

Transaction Summary
===============================================================================
Remove  48 Packages

Freed space: 637 M


When I only remove the data, I get:

===============================================================================
 Package              Architecture  Version Repository        Size
===============================================================================
Removing:
 proj-data-at         noarch        7.2.1-1.fc34 @anaconda        2.1 M
 proj-data-au         noarch        7.2.1-1.fc34 @anaconda        118 M
 proj-data-be         noarch        7.2.1-1.fc34 @anaconda        749 k
 proj-data-br         noarch        7.2.1-1.fc34 @anaconda        1.0 M
 proj-data-ca         noarch        7.2.1-1.fc34 @anaconda         94 M
 proj-data-ch         noarch        7.2.1-1.fc34 @anaconda        1.6 M
 proj-data-de         noarch        7.2.1-1.fc34 @anaconda         74 M
 proj-data-dk         noarch        7.2.1-1.fc34 @anaconda        9.9 M
 proj-data-es         noarch        7.2.1-1.fc34 @anaconda        1.0 M
 proj-data-eur        noarch        7.2.1-1.fc34 @anaconda        1.0 M
 proj-data-fi         noarch        7.2.1-1.fc34 @anaconda        288 k
 proj-data-fo         noarch        7.2.1-1.fc34 @anaconda        1.5 k
 proj-data-fr         noarch        7.2.1-1.fc34 @anaconda        1.2 M
 proj-data-is         noarch        7.2.1-1.fc34 @anaconda        5.5 M
 proj-data-jp         noarch        7.2.1-1.fc34 @anaconda        420 k
 proj-data-nc         noarch        7.2.1-1.fc34 @anaconda        1.1 M
 proj-data-nl         noarch        7.2.1-1.fc34 @anaconda        1.1 M
 proj-data-nz         noarch        7.2.1-1.fc34 @anaconda         14 M
 proj-data-pt         noarch        7.2.1-1.fc34 @anaconda        431 k
 proj-data-se         noarch        7.2.1-1.fc34 @anaconda        2.2 M
 proj-data-sk         noarch        7.2.1-1.fc34 @anaconda        1.2 M
 proj-data-uk         noarch        7.2.1-1.fc34 @anaconda        4.8 M
 proj-data-us         noarch        7.2.1-1.fc34 @anaconda        224 M

Transaction Summary
===============================================================================
Remove  23 Packages

Freed space: 559 M


The dependency chain that brings in proj is:

python3-scikit-image (from @python-science) requires python3-networkx which recommends python3-gdal which requires proj.


My questions are:


1) What happens if I keep proj but remove the data? Or should I remove gdal entirely instead?


2) Why so sudden growth?


Thanks for help.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1902354

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux