Skip to content

Support for python 3.13.0? #125

@blockjon-dd

Description

@blockjon-dd

Should this work with python 3.13.0?

When I try to use the new rules_python 0.37.1 and to use Python version 3.13.0, rules_pycross fails with this message:

$ bazel run //services/demohelloworldpython:main
INFO: Invocation ID: 98cd8f79-6766-42d9-b389-a2c703ee34da
ERROR: /home/dev/.cache/bazel/_bazel_dev/155bb1574771dc607335fbe8110386b4/external/rules_python~/python/config_settings/BUILD.bazel: no such target '@@rules_python~//python/config_settings:is_python_3.10.11': target 'is_python_3.10.11' not declared in package 'python/config_settings' defined by /home/dev/.cache/bazel/_bazel_dev/155bb1574771dc607335fbe8110386b4/external/rules_python~/python/config_settings/BUILD.bazel (did you mean is_python_3.11.10, _is_python_3.11.10, is_python_3.10, is_python_3.11, is_python_3.12.7, is_python_3.13.0, is_python_3.8.12, _is_python_3.12.7, _is_python_3.13.0, or is_python_3.12?)
ERROR: /home/dev/.cache/bazel/_bazel_dev/155bb1574771dc607335fbe8110386b4/external/rules_pycross~~toolchains~pycross_toolchains/BUILD.bazel:6:33: errors encountered resolving select() keys for @@rules_pycross~~toolchains~pycross_toolchains//:_interpreter_version
ERROR: /workspaces/myproject/services/demohelloworldpython/BUILD.bazel:3:10: Analysis failed
ERROR: Analysis of target '//services/demohelloworldpython:main' failed; build aborted
INFO: Elapsed time: 1.274s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions