You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Python 3.12 installed from a PPA conflicts with libraries from the official repositories. If newer python is required, better solution would be to update the base image to v1.48.0-jammy or v1.48.0-noble.
To Reproduce
Steps to reproduce the behavior:
Launch container and try to import urllib3 in python
docker run -ti --rm marketsquare/robotframework-browser:18.9.1 bash
Unable to find image 'marketsquare/robotframework-browser:18.9.1' locally
18.9.1: Pulling from marketsquare/robotframework-browser
Digest: sha256:065293e926afa8db99fb4248287ae65a41eeeda163ed2b6e80b338a4818c6f96
Status: Downloaded newer image for marketsquare/robotframework-browser:18.9.1
pwuser@5a76ff979f44:/$ python3
Python 3.12.7 (main, Oct 1 2024, 08:52:11) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/urllib3/__init__.py", line 7, in <module>
from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 11, in <module>
from .exceptions import (
File "/usr/lib/python3/dist-packages/urllib3/exceptions.py", line 2, in <module>
from six.moves.http_client import IncompleteRead as httplib_IncompleteRead
ModuleNotFoundError: No module named 'six.moves'
>>>
Expected behavior
import of urllib3 works when you explicitly use the python provided by the official Ubuntu repositories.
docker run -ti --rm marketsquare/robotframework-browser:18.9.1 bash
pwuser@9519c297bcbf:/$ python3.8
Python 3.8.10 (default, Sep 11 2024, 16:02:53)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib3
>>>
Additional context
Was working fine with 18.8.0
The text was updated successfully, but these errors were encountered:
I don’t quite follow, what is actually broken? I see that urllib3 import failed, but as far I can see it’s not Browser library dependency. Therefore I don’t see what is actually broken?
It's not a Browser library dependency but people use robotframework-browser container to run their test suites with their libraries and other tools. So the python version change breaks any user test library that tries to import for example urllib3.
Describe the bug
Python 3.12 installed from a PPA conflicts with libraries from the official repositories. If newer python is required, better solution would be to update the base image to v1.48.0-jammy or v1.48.0-noble.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
import of urllib3 works when you explicitly use the python provided by the official Ubuntu repositories.
Additional context
Was working fine with 18.8.0
The text was updated successfully, but these errors were encountered: