Skip to content

Commit ae9cb6f

Browse files
committed
[py] Update python version in MODULE.bazel
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent aaf2070 commit ae9cb6f

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ use_repo(oci, "chrome_standalone", "firefox_standalone", "java_image_base")
111111
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
112112
python.toolchain(
113113
is_default = True,
114-
python_version = "3.8",
114+
python_version = "3.9",
115115
)
116-
python.toolchain(python_version = "3.9")
117116
python.toolchain(python_version = "3.10")
118117
python.toolchain(python_version = "3.11")
118+
python.toolchain(python_version = "3.12")
119119
use_repo(python, "pythons_hub")
120120

121121
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
@@ -127,10 +127,10 @@ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
127127
requirements_lock = "//py:requirements_lock.txt",
128128
)
129129
for version in [
130-
"3.8",
131130
"3.9",
132131
"3.10",
133132
"3.11",
133+
"3.12",
134134
]
135135
]
136136

py/requirements_lock.txt

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.8
2+
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
55
# bazel run //py:requirements.update
@@ -271,10 +271,6 @@ importlib-metadata==6.8.0 \
271271
# -r py/requirements.txt
272272
# keyring
273273
# twine
274-
importlib-resources==6.1.1 \
275-
--hash=sha256:3893a00122eafde6894c59914446a512f728a0c1a45f9bb9b63721b6bacf0b4a \
276-
--hash=sha256:e8bf90d8213b486f428c9c39714b920041cb02c184686a3dee24905aaa8105d6
277-
# via keyring
278274
inflection==0.5.1 \
279275
--hash=sha256:1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417 \
280276
--hash=sha256:f38b2b640938a4f35ade69ac3d053042959b62a0f1076a5bbaa1b9526605a8a2
@@ -292,9 +288,7 @@ jaraco-classes==3.3.0 \
292288
jeepney==0.8.0 \
293289
--hash=sha256:5efe48d255973902f6badc3ce55e2aa6c5c3b3bc642059ef3a91247bcfcc5806 \
294290
--hash=sha256:c0a454ad016ca575060802ee4d590dd912e35c122fa04e70306de3d076cce755
295-
# via
296-
# keyring
297-
# secretstorage
291+
# via secretstorage
298292
keyring==24.3.0 \
299293
--hash=sha256:4446d35d636e6a10b8bce7caa66913dd9eca5fd222ca03a3d42c38608ac30836 \
300294
--hash=sha256:e730ecffd309658a08ee82535a3b5ec4b4c8669a9be11efb66249d8e0aeb9a25
@@ -522,9 +516,7 @@ rich==13.7.0 \
522516
secretstorage==3.3.3 \
523517
--hash=sha256:2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 \
524518
--hash=sha256:f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99
525-
# via
526-
# -r py/requirements.txt
527-
# keyring
519+
# via -r py/requirements.txt
528520
sniffio==1.3.1 \
529521
--hash=sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2 \
530522
--hash=sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc
@@ -563,9 +555,7 @@ twine==4.0.2 \
563555
typing-extensions==4.9.0 \
564556
--hash=sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783 \
565557
--hash=sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd
566-
# via
567-
# -r py/requirements.txt
568-
# rich
558+
# via -r py/requirements.txt
569559
urllib3[socks]==2.0.7 \
570560
--hash=sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84 \
571561
--hash=sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e
@@ -589,4 +579,3 @@ zipp==3.17.0 \
589579
# via
590580
# -r py/requirements.txt
591581
# importlib-metadata
592-
# importlib-resources

0 commit comments

Comments
 (0)