Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    
/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/urllib3/__init__.py:35:
 NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 
'ssl' module is compiled with 'GraalVM JSSE'. See: 
https://github.com/urllib3/urllib3/issues/3020
      warnings.warn(
    Traceback (most recent call last):
      File "/Users/runner/work/pywikibot/pywikibot/pwb.py", line 40, in <module>
        sys.exit(main())
      File "/Users/runner/work/pywikibot/pywikibot/pwb.py", line 36, in main
        runpy.run_path(str(path), run_name='__main__')
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/runpy.py", 
line 291, in run_path
        return _run_module_code(code, init_globals, run_name,
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/runpy.py", 
line 98, in _run_module_code
        _run_code(code, mod_globals, init_globals,
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/runpy.py", 
line 88, in _run_code
        exec(code, run_globals)
      File 
"/Users/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 
569, in <module>
        main()
      File 
"/Users/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 
552, in main
        if not execute():
      File 
"/Users/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 
539, in execute
        run_python_file(filename, script_args, module)
      File 
"/Users/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 
154, in run_python_file
        exec(compile(source, filename, 'exec', dont_inherit=True),
      File 
"/Users/runner/work/pywikibot/pywikibot/pywikibot/scripts/version.py", line 
126, in <module>
        main()
      File 
"/Users/runner/work/pywikibot/pywikibot/pywikibot/scripts/version.py", line 79, 
in main
        pywikibot.info('Pywikibot: ' + getversion())
      File "/Users/runner/work/pywikibot/pywikibot/pywikibot/version.py", line 
70, in getversion
        hsh[getversion_onlinerepo(path)] = branch
      File "/Users/runner/work/pywikibot/pywikibot/pywikibot/version.py", line 
235, in getversion_onlinerepo
        buf = fetch(
      File "/Users/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py", 
line 510, in fetch
        callback(response)
      File "/Users/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py", 
line 390, in error_handling_callback
        raise response from None
      File "/Users/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py", 
line 500, in fetch
        response = session.request(method, uri,
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/requests/sessions.py",
 line 651, in request
        resp = self.send(prep, **send_kwargs)
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/requests/sessions.py",
 line 784, in send
        r = adapter.send(request, **kwargs)
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/requests/adapters.py",
 line 696, in send
        resp = conn.urlopen(
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/urllib3/connectionpool.py",
 line 788, in urlopen
        response = self._make_request(
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/urllib3/connectionpool.py",
 line 464, in _make_request
        self._validate_conn(conn)
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/urllib3/connectionpool.py",
 line 1106, in _validate_conn
        conn.connect()
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/urllib3/connection.py",
 line 796, in connect
        sock_and_verified = _ssl_wrap_socket_and_match_hostname(
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/urllib3/connection.py",
 line 928, in _ssl_wrap_socket_and_match_hostname
        context = create_urllib3_context(
      File 
"/Users/runner/hostedtoolcache/GraalPy/24.1.2/arm64/lib/python3.11/site-packages/urllib3/util/ssl_.py",
 line 220, in create_urllib3_context
        raise TypeError("Can't create an SSLContext object without an ssl 
module")
    TypeError: Can't create an SSLContext object without an ssl module
    CRITICAL: Exiting due to uncaught exception TypeError: Can't create an 
SSLContext object without an ssl module
    Error: Process completed with exit code 1.

TASK DETAIL
  https://phabricator.wikimedia.org/T430455

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to