robocorp / rpaframework

Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used with both Robot Framework and Python
https://www.rpaframework.org/
Apache License 2.0
1.17k stars 225 forks source link

RPA.Assistant: Cannot install rpaframework-assistant because flet 0.4.2 (and 0.2.2) does not exist #1178

Closed LydiaPeabody closed 7 months ago

LydiaPeabody commented 7 months ago

It looks like flet v0.4.2 and earlier have been removed from pypi: flet release history

This blocks installing RPA.Assistant.

Observed this in a python 3.8.13 project running in Linux using poetry for dependency management, with error message: Because rpaframework-assistant (2.2.1) depends on flet (0.4.2) which doesn't match any versions, rpaframework-assistant is forbidden.

Minimal reproducible steps run in using python 3.10.12 on Windows:

python -m venv .venv
.\.venv\Scripts\activate
pip install rpaframework-assistant 

Produces error output:

Collecting rpaframework-assistant        
Downloading rpaframework_assistant-3.0.3-py3-none-any.whl.metadata (1.7 kB)                                                                                      
INFO: pip is looking at multiple versions of rpaframework-assistant to determine which version is compatible with other requirements. This could take a while.         
Downloading rpaframework_assistant-3.0.2-py3-none-any.whl.metadata (1.6 kB)
Downloading rpaframework_assistant-3.0.1-py3-none-any.whl.metadata (1.6 kB)
Downloading rpaframework_assistant-3.0.0-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-2.3.0-py3-none-any.whl.metadata (1.7 kB)
Downloading rpaframework_assistant-2.2.2-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-2.2.1-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-2.2.0-py3-none-any.whl.metadata (1.8 kB)                                                                                        
INFO: pip is still looking at multiple versions of rpaframework-assistant to determine which version is compatible with other requirements. This could take a while.   Downloading rpaframework_assistant-2.1.2-py3-none-any.whl.metadata (1.8 kB)                                                                                          
Downloading rpaframework_assistant-2.1.1-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-2.1.0-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-2.0.0-py3-none-any.whl.metadata (1.8 kB) 
Downloading rpaframework_assistant-1.2.4-py3-none-any.whl.metadata (1.8 kB)                                                                                        
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.                                                                                           
Downloading rpaframework_assistant-1.2.3-py3-none-any.whl.metadata (1.8 kB) 
Downloading rpaframework_assistant-1.2.2-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-1.2.1-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-1.2.0-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-1.1.0-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-1.0.6-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-1.0.5-py3-none-any.whl.metadata (1.8 kB) 
Downloading rpaframework_assistant-1.0.4-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-1.0.3-py3-none-any.whl.metadata (1.8 kB)  
Downloading rpaframework_assistant-1.0.2-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-1.0.1-py3-none-any.whl.metadata (1.8 kB) 
Downloading rpaframework_assistant-1.0.0-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-0.1.7-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-0.1.5-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-0.1.4-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-0.1.3-py3-none-any.whl.metadata (1.8 kB)
Downloading rpaframework_assistant-0.1.2-py3-none-any.whl.metadata (1.8 kB) 
Downloading rpaframework_assistant-0.1.1-py3-none-any.whl.metadata (1.8 kB)                                                                                        
ERROR: Cannot install rpaframework-assistant==0.1.1, rpaframework-assistant==0.1.2, rpaframework-assistant==0.1.3, rpaframework-assistant==0.1.4, rpaframework-assistant==0.1.5, rpaframework-assistant==0.1.7, rpaframework-assistant==1.0.0, rpaframework-assistant==1.0.1, rpaframework-assistant==1.0.2, rpaframework-assistant==1.0.3, rpaframework-assistant==1.0.4, rpaframework-assistant==1.0.5, rpaframework-assistant==1.0.6, rpaframework-assistant==1.1.0, rpaframework-assistant==1.2.0, rpaframework-assistant==1.2.1, rpaframework-assistant==1.2.2, rpaframework-assistant==1.2.3, rpaframework-assistant==1.2.4, rpaframework-assistant==2.0.0, rpaframework-assistant==2.1.0, rpaframework-assistant==2.1.1, rpaframework-assistant==2.1.2, rpaframework-assistant==2.2.0, rpaframework-assistant==2.2.1, rpaframework-assistant==2.2.2, rpaframework-assistant==2.3.0, rpaframework-assistant==3.0.0, rpaframework-assistant==3.0.1, rpaframework-assistant==3.0.2 and rpaframework-assistant==3.0.3 because these package versions have conflicting dependencies.                                                                                                                                                                                                                                                                                  
The conflict is caused by:    
rpaframework-assistant 3.0.3 depends on flet==0.4.2
rpaframework-assistant 3.0.2 depends on flet==0.4.2
rpaframework-assistant 3.0.1 depends on flet==0.4.2 
rpaframework-assistant 3.0.0 depends on flet==0.4.2
rpaframework-assistant 2.3.0 depends on flet==0.4.2
rpaframework-assistant 2.2.2 depends on flet==0.4.2
rpaframework-assistant 2.2.1 depends on flet==0.4.2
rpaframework-assistant 2.2.0 depends on flet==0.4.2
rpaframework-assistant 2.1.2 depends on flet==0.4.2
rpaframework-assistant 2.1.1 depends on flet==0.4.2
rpaframework-assistant 2.1.0 depends on flet==0.4.2
rpaframework-assistant 2.0.0 depends on flet==0.4.2
rpaframework-assistant 1.2.4 depends on flet==0.2.2                                                       
rpaframework-assistant 1.2.3 depends on flet==0.2.2
rpaframework-assistant 1.2.2 depends on flet==0.2.2
rpaframework-assistant 1.2.1 depends on flet==0.2.2
rpaframework-assistant 1.2.0 depends on flet==0.2.2
rpaframework-assistant 1.1.0 depends on flet==0.2.2
rpaframework-assistant 1.0.6 depends on flet==0.2.2
rpaframework-assistant 1.0.5 depends on flet==0.2.2
rpaframework-assistant 1.0.4 depends on flet==0.2.2
rpaframework-assistant 1.0.3 depends on flet==0.2.2
rpaframework-assistant 1.0.2 depends on flet==0.2.2
rpaframework-assistant 1.0.1 depends on flet==0.2.2
rpaframework-assistant 1.0.0 depends on flet==0.2.2
rpaframework-assistant 0.1.7 depends on flet==0.2.2
rpaframework-assistant 0.1.5 depends on flet==0.2.2
rpaframework-assistant 0.1.4 depends on flet==0.2.2
rpaframework-assistant 0.1.3 depends on flet==0.2.2
rpaframework-assistant 0.1.2 depends on flet==0.2.2 
rpaframework-assistant 0.1.1 depends on flet==0.2.2
To fix this you could try to:
1. loosen the range of package versions you've specified                               
2. remove package versions to allow pip attempt to solve the dependency conflict                                               

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts 
mikahanninen commented 7 months ago

Thank you for the issue report. We have received a similar report in our Developer Slack and are working on a fix as soon as possible.

This problem was caused by flet package maintainers removing released versions from the PyPI so we are in process of making our own forked PyPI package.

apallier commented 7 months ago

Thanks for the quick fix @mikahanninen and @bogdancondurache!

Do you know the reason of this sudden Flet Pypi package removal?

bogdancondurache commented 7 months ago

@apallier Apparently that's a common thing they are doing, mostly only keeping the last few releases.