clusterfuzz icon indicating copy to clipboard operation
clusterfuzz copied to clipboard

Is Python 3.9 still supported?

Open JarLob opened this issue 8 months ago • 1 comments

Trying local deployment. Ran python3.9 -m pipenv shell ang got this error. The internet search says the syntax requires 3.10 or later.

Asking because of these lines: https://github.com/google/clusterfuzz/blob/44d02ae7cbc93d58ed25120cd1eff7915dee8170/local/install_deps_linux.bash#L30-L35

Launching subshell in virtual environment. Type 'exit' or 'Ctrl+D' to return.
# python butler.py run_server --bootstrap
Traceback (most recent call last):
  File "/clusterfuzz/butler.py", line 430, in <module>
    sys.exit(main())
  File "/clusterfuzz/butler.py", line 415, in main
    command = importlib.import_module(f'local.butler.{args.command}')
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/clusterfuzz/src/local/butler/run_server.py", line 22, in <module>
    from clusterfuzz._internal.tests.test_libs import test_utils
  File "/clusterfuzz/src/clusterfuzz/_internal/tests/test_libs/test_utils.py", line 30, in <module>
    from clusterfuzz._internal.datastore import data_types
  File "/clusterfuzz/src/clusterfuzz/_internal/datastore/data_types.py", line 22, in <module>
    from clusterfuzz._internal.base import utils
  File "/clusterfuzz/src/clusterfuzz/_internal/base/utils.py", line 920, in <module>
    def current_source_version() -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

JarLob avatar Apr 26 '25 19:04 JarLob

No, we're now on python3.11

jonathanmetzman avatar May 14 '25 12:05 jonathanmetzman

This issue has not had any activity for 60 days and will be automatically closed in two weeks

github-actions[bot] avatar Jul 13 '25 13:07 github-actions[bot]

Automatically closing stale issue

github-actions[bot] avatar Jul 27 '25 13:07 github-actions[bot]