-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
The error Error in fail: Unknown Python version '3.13', available values are: 3.8,3.9,3.10,3.11,3.12
appears when running gbazelisk run //tests/integration:asset_update
in a Python 3.13 environment. rules_python
appears in the stack trace. rules_python
may need to be updated to a newer version that supports 3.13:
gapic-generator-python/WORKSPACE
Lines 25 to 34 in 1c6e9a4
_rules_python_version = "0.26.0" | |
_rules_python_sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b" | |
http_archive( | |
name = "rules_python", | |
sha256 = _rules_python_sha256, | |
strip_prefix = "rules_python-{}".format(_rules_python_version), | |
url = "https://github.com/bazelbuild/rules_python/archive/{}.tar.gz".format(_rules_python_version), | |
) |
py3133partheniou@partheniou-vm-3:~/git/gapic-generator-python$ gbazelisk run //tests/integration:asset_update
ERROR: Traceback (most recent call last):
File "/usr/local/google/home/partheniou/git/gapic-generator-python/WORKSPACE", line 127, column 27, in <toplevel>
python_register_toolchains(
File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/158c73e91735c8bd1e202dd9acfefc6b/external/rules_python/python/repositories.bzl", line 537, column 34, in python_register_toolchains
python_version = full_version(python_version)
File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/158c73e91735c8bd1e202dd9acfefc6b/external/rules_python/python/private/full_version.bzl", line 36, column 13, in full_version
fail(
Error in fail: Unknown Python version '3.13', available values are: 3.8,3.9,3.10,3.11,3.12
ERROR: Error computing the main repository mapping: error loading package 'external': Package 'external' contains errors
Loading:
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.