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
On May 2023 urllib3 stopped supporting OpenSSL versions older than 1.1.1.
The current test image is using openssl version OpenSSL 1.0.2g 1 Mar 2016
This causes build issues when initiating tests:
E
======================================================================
ERROR: continuousprint (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: continuousprint
Traceback (most recent call last):
File "/opt/python/3.7.13/lib/python3.7/unittest/loader.py", line 470, in _find_test_path
package = self._get_module_from_name(name)
File "/opt/python/3.7.13/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "/home/travis/build/smartin015/continuousprint/continuousprint/__init__.py", line 4, in <module>
import octoprint.plugin
File "/home/travis/virtualenv/python3.7.13/lib/python3.7/site-packages/octoprint/plugin/__init__.py", line 22, in <module>
from octoprint.plugin.core import Plugin, PluginInfo, PluginManager # noqa: F401
File "/home/travis/virtualenv/python3.7.13/lib/python3.7/site-packages/octoprint/plugin/core.py", line 36, in <module>
from octoprint.util import sv, time_this, to_unicode
File "/home/travis/virtualenv/python3.7.13/lib/python3.7/site-packages/octoprint/util/__init__.py", line 36, in <module>
from octoprint.util.connectivity import ConnectivityChecker # noqa: F401
File "/home/travis/virtualenv/python3.7.13/lib/python3.7/site-packages/octoprint/util/connectivity.py", line 9, in <module>
from octoprint.util.net import resolve_host, server_reachable
File "/home/travis/virtualenv/python3.7.13/lib/python3.7/site-packages/octoprint/util/net.py", line 11, in <module>
import requests
File "/home/travis/virtualenv/python3.7.13/lib/python3.7/site-packages/requests/__init__.py", line 43, in <module>
import urllib3
File "/home/travis/virtualenv/python3.7.13/lib/python3.7/site-packages/urllib3/__init__.py", line 42, in <module>
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2g 1 Mar 2016'. See: https://github.com/urllib3/urllib3/issues/2168
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
The command "coverage run -m unittest discover -p "*_test.py"" exited with 1.
Done. Your build exited with 1.
Python or OpenSSL versions need to be bumped to fix the problem.
Describe the bug
On May 2023 urllib3 stopped supporting OpenSSL versions older than 1.1.1.
The current test image is using
openssl version
OpenSSL 1.0.2g 1 Mar 2016
This causes build issues when initiating tests:
Python or OpenSSL versions need to be bumped to fix the problem.
Browser logs:
Build log
https://app.travis-ci.com/github/smartin015/continuousprint/jobs/615061017
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: