<#1900 Remove tangled_up_in_unicode from Dockerfil...
# flyte-github
a
#1900 Remove tangled_up_in_unicode from Dockerfile Pull request opened by danpf Basically, the currently released
visions
package has the requirement
tangled-up-in-unicode
.
visions:develop
does not have that requirement anymore.
visions
hasn't had a release since 2021 - so I doubt it will be updated anytime soon. The problem is, is that for some python versions the
tangled-up-in-unicode
package is 1.5 GB, which is not ideal. If you run
pip uninstall
it should get rid of that unnecessary package. Before:
Copy code
3.0M    /usr/local/lib/python3.10/site-packages/PIL                                                                                                                                                                     
3.1M    /usr/local/lib/python3.10/site-packages/regex                                                                                                                                                                   
3.2M    /usr/local/lib/python3.10/site-packages/prompt_toolkit                                                                                                                                                          
4.5M    /usr/local/lib/python3.10/site-packages/aiohttp                                                                                                                                                                 
4.9M    /usr/local/lib/python3.10/site-packages/setuptools                                                                                                                                                              
4.9M    /usr/local/lib/python3.10/site-packages/widgetsnbextension                                                                                                                                                      
5.8M    /usr/local/lib/python3.10/site-packages/IPython                                                                                                                                                                 
6.4M    /usr/local/lib/python3.10/site-packages/kiwisolver                                                                                                                                                              
7.2M    /usr/local/lib/python3.10/site-packages/google                                                                                                                                                                  
7.2M    /usr/local/lib/python3.10/site-packages/jupyterlab_plotly                                                                                                                                                       
7.5M    /usr/local/lib/python3.10/site-packages/azure                                                                                                                                                                   
8.0M    /usr/local/lib/python3.10/site-packages/pygments                                                                                                                                                                
9.1M    /usr/local/lib/python3.10/site-packages/Pillow.libs                                                                                                                                                             
9.2M    /usr/local/lib/python3.10/site-packages/pydantic                                                                                                                                                                
11M     /usr/local/lib/python3.10/site-packages/jedi                                                                                                                                                                    
13M     /usr/local/lib/python3.10/site-packages/grpc                                                                                                                                                                    
13M     /usr/local/lib/python3.10/site-packages/pip                                                                                                                                                                     
14M     /usr/local/lib/python3.10/site-packages/networkx                                                                                                                                                                
15M     /usr/local/lib/python3.10/site-packages/cryptography                                                                                                                                                            
18M     /usr/local/lib/python3.10/site-packages/pywt                                                                                                                                                                    
23M     /usr/local/lib/python3.10/site-packages/fontTools                                                                                                                                                               
25M     /usr/local/lib/python3.10/site-packages/kubernetes                                                                                                                                                              
26M     /usr/local/lib/python3.10/site-packages/numba                                                                                                                                                                   
35M     /usr/local/lib/python3.10/site-packages/scipy.libs                                                                                                                                                              
36M     /usr/local/lib/python3.10/site-packages/numpy                                                                                                                                                                   
37M     /usr/local/lib/python3.10/site-packages/numpy.libs                                                                                                                                                              
38M     /usr/local/lib/python3.10/site-packages/matplotlib                                                                                                                                                              
49M     /usr/local/lib/python3.10/site-packages/statsmodels                                                                                                                                                             
61M     /usr/local/lib/python3.10/site-packages/pandas                                                                                                                                                                  
83M     /usr/local/lib/python3.10/site-packages/botocore                                                                                                                                                                
90M     /usr/local/lib/python3.10/site-packages/scipy                                                                                                                                                                   
118M    /usr/local/lib/python3.10/site-packages/pyarrow                                                                                                                                                                 
129M    /usr/local/lib/python3.10/site-packages/llvmlite                                                                                                                                                                
152M    /usr/local/lib/python3.10/site-packages/plotly                                                                                                                                                                  
1.8G    /usr/local/lib/python3.10/site-packages/tangled_up_in_unicode
After: ``` 3.0M /usr/local/lib/python3.10/site-packages/PIL 3.1M /usr/local/lib/python3.10/… flyteorg/flytekit GitHub Actions: build-plugins Codecov: 40.27% (-11.40%) compared to 9812bf4 GitHub Actions: build (ubuntu-latest, 3.11) GitHub Actions: build (ubuntu-latest, 3.8) GitHub Actions: docs ✅ 11 other checks have passed 11/16 successful checks