vittoriodisomma opened a new issue, #154: URL: https://github.com/apache/openserverless/issues/154
### Ⅰ. Issue Description Incopatibility between Scrapy and pyOpenSSL versions when the Scrapy library is run in an action. ### Ⅱ. Describe what happened "2025-07-18T10:42:14.817492326Z stdout: dhcls = load_object(path)", "2025-07-18T10:42:14.817495769Z stdout: ^^^^^^^^^^^^^^^^^", "2025-07-18T10:42:14.817499666Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/utils/misc.py\", line 61, in load_object", "2025-07-18T10:42:14.817502846Z stdout: mod = import_module(module)", "2025-07-18T10:42:14.817506004Z stdout: ^^^^^^^^^^^^^^^^^^^^^", "2025-07-18T10:42:14.817523945Z stdout: File \"/usr/local/lib/python3.12/importlib/__init__.py\", line 90, in import_module", "2025-07-18T10:42:14.817527774Z stdout: return _bootstrap._gcd_import(name[level:], package, level)", "2025-07-18T10:42:14.817535073Z stdout: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "2025-07-18T10:42:14.81753931Z stdout: File \"<frozen importlib._bootstrap>\", line 1387, in _gcd_import", "2025-07-18T10:42:14.817543003Z stdout: File \"<frozen importlib._bootstrap>\", line 1360, in _find_and_load", "2025-07-18T10:42:14.817546615Z stdout: File \"<frozen importlib._bootstrap>\", line 1331, in _find_and_load_unlocked", "2025-07-18T10:42:14.817549971Z stdout: File \"<frozen importlib._bootstrap>\", line 935, in _load_unlocked", "2025-07-18T10:42:14.817553459Z stdout: File \"<frozen importlib._bootstrap_external>\", line 995, in exec_module", "2025-07-18T10:42:14.81755668Z stdout: File \"<frozen importlib._bootstrap>\", line 488, in _call_with_frames_removed", "2025-07-18T10:42:14.817560237Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/handlers/http.py\", line 2, in <module>", "2025-07-18T10:42:14.817563447Z stdout: from scrapy.core.downloader.handlers.http11 import (", "2025-07-18T10:42:14.817566734Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/handlers/http11.py\", line 23, in <module>", "2025-07-18T10:42:14.817570177Z stdout: from scrapy.core.downloader.contextfactory import load_context_factory_from_settings", "2025-07-18T10:42:14.817573426Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/contextfactory.py\", line 11, in <module>", "2025-07-18T10:42:14.817576821Z stdout: from scrapy.core.downloader.tls import DEFAULT_CIPHERS, openssl_methods, ScrapyClientTLSOptions", "2025-07-18T10:42:14.817580103Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/tls.py\", line 23, in <module>", "2025-07-18T10:42:14.817583292Z stdout: METHOD_SSLv3: SSL.SSLv3_METHOD, # SSL 3 (NOT recommended)", "2025-07-18T10:42:14.817586561Z stdout: ^^^^^^^^^^^^^^^^", "2025-07-18T10:42:14.817589858Z stdout: AttributeError: module 'OpenSSL.SSL' has no attribute 'SSLv3_METHOD'. Did you mean: 'SSLv23_METHOD'?", "2025-07-18T10:42:14.821132497Z stdout: 2025-07-18 10:42:14 [scrapy.core.downloader.handlers] ERROR: Loading \"scrapy.core.downloader.handlers.s3.S3DownloadHandler\" for scheme \"s3\"", "2025-07-18T10:42:14.821151298Z stdout: Traceback (most recent call last):", "2025-07-18T10:42:14.821156855Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/handlers/__init__.py\", line 49, in _load_handler", "2025-07-18T10:42:14.821160932Z stdout: dhcls = load_object(path)", "2025-07-18T10:42:14.821164459Z stdout: ^^^^^^^^^^^^^^^^^", "2025-07-18T10:42:14.82116858Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/utils/misc.py\", line 61, in load_object", "2025-07-18T10:42:14.821172589Z stdout: mod = import_module(module)", "2025-07-18T10:42:14.82117556Z stdout: ^^^^^^^^^^^^^^^^^^^^^", "2025-07-18T10:42:14.821177776Z stdout: File \"/usr/local/lib/python3.12/importlib/__init__.py\", line 90, in import_module", "2025-07-18T10:42:14.821180101Z stdout: return _bootstrap._gcd_import(name[level:], package, level)", "2025-07-18T10:42:14.821182056Z stdout: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", "2025-07-18T10:42:14.821184437Z stdout: File \"<frozen importlib._bootstrap>\", line 1387, in _gcd_import", "2025-07-18T10:42:14.821186394Z stdout: File \"<frozen importlib._bootstrap>\", line 1360, in _find_and_load", "2025-07-18T10:42:14.821188371Z stdout: File \"<frozen importlib._bootstrap>\", line 1331, in _find_and_load_unlocked", "2025-07-18T10:42:14.82119045Z stdout: File \"<frozen importlib._bootstrap>\", line 935, in _load_unlocked", "2025-07-18T10:42:14.82119247Z stdout: File \"<frozen importlib._bootstrap_external>\", line 995, in exec_module", "2025-07-18T10:42:14.821194446Z stdout: File \"<frozen importlib._bootstrap>\", line 488, in _call_with_frames_removed", "2025-07-18T10:42:14.821206649Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/handlers/s3.py\", line 3, in <module>", "2025-07-18T10:42:14.821208852Z stdout: from scrapy.core.downloader.handlers.http import HTTPDownloadHandler", "2025-07-18T10:42:14.821210829Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/handlers/http.py\", line 2, in <module>", "2025-07-18T10:42:14.821213194Z stdout: from scrapy.core.downloader.handlers.http11 import (", "2025-07-18T10:42:14.821217476Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/handlers/http11.py\", line 23, in <module>", "2025-07-18T10:42:14.821219557Z stdout: from scrapy.core.downloader.contextfactory import load_context_factory_from_settings", "2025-07-18T10:42:14.821221578Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/contextfactory.py\", line 11, in <module>", "2025-07-18T10:42:14.821223811Z stdout: from scrapy.core.downloader.tls import DEFAULT_CIPHERS, openssl_methods, ScrapyClientTLSOptions", "2025-07-18T10:42:14.821225799Z stdout: File \"/usr/local/lib/python3.12/site-packages/scrapy/core/downloader/tls.py\", line 23, in <module>", "2025-07-18T10:42:14.821227771Z stdout: METHOD_SSLv3: SSL.SSLv3_METHOD, # SSL 3 (NOT recommended)", "2025-07-18T10:42:14.821229933Z stdout: ^^^^^^^^^^^^^^^^", "2025-07-18T10:42:14.821231963Z stdout: AttributeError: module 'OpenSSL.SSL' has no attribute 'SSLv3_METHOD'. Did you mean: 'SSLv23_METHOD' -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@openserverless.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org