Skip to content

Commit edb2e64

Browse files
committed
[GR-21590] Update imports
PullRequest: graalpython/4228
2 parents 1405376 + bbae48a commit edb2e64

5 files changed

Lines changed: 12 additions & 9 deletions

File tree

ci/graal/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"labsjdk-ee-21": {"name": "labsjdk", "version": "ee-21.0.2+13-jvmci-23.1-b33", "platformspecific": true },
4242
"labsjdk-ee-21Debug": {"name": "labsjdk", "version": "ee-21.0.2+13-jvmci-23.1-b33-debug", "platformspecific": true },
4343
"labsjdk-ee-21-llvm": {"name": "labsjdk", "version": "ee-21.0.2+13-jvmci-23.1-b33-sulong", "platformspecific": true },
44-
"graalvm-ee-21": {"name": "graalvm-java21", "version": "23.1.6", "platformspecific": true },
44+
"graalvm-ee-21": {"name": "graalvm-java21", "version": "23.1.10", "platformspecific": true },
4545

4646
"oraclejdk24": {"name": "jpg-jdk", "version": "24", "build_id": "jdk-24.0.1+9", "platformspecific": true, "extrabundles": ["static-libs"]},
4747

ci/python-gate.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,10 +534,10 @@
534534
$.overlay_imports.BUILDBOT_COMMIT_SERVICE + '?repoName=graal&target=weekly&before-ts=${MAIN_COMMIT_TS}']],
535535
["git", "clone", $.overlay_imports.GRAAL_ENTERPRISE_GIT, "../graal-enterprise"],
536536
['git', '-C', '../graal', 'checkout', '${GRAAL_COMMIT}'],
537+
// NOTE: this will checkout older graalpy. We need to live with that to ensure consistency with graal
537538
['mx', '-p', '../graal/vm', '--dynamicimports', 'graalpython', 'sforceimports'],
538539
// NOTE: jvm-only, so not need to handle substratevm-enterprise-gcs
539540
['mx', '-p', '../graal-enterprise/vm-enterprise', 'checkout-downstream', 'vm', 'vm-enterprise'],
540-
['git', 'checkout', '${MAIN_REVISION}'],
541541
],
542542
run: [
543543
['mx', 'python-coverage'] + self.coverage_args,

graalpython/com.oracle.graal.python.benchmarks/python/harness.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0
@@ -41,7 +41,7 @@
4141

4242
try:
4343
# https://docs.python.org/3/library/time.html#time.monotonic
44-
# The reference point of the returned value is undefined,
44+
# The reference point of the returned value is undefined,
4545
# so that **only the difference between the results of two calls is valid**.
4646
from time import monotonic_ns
4747
_module_start_time = monotonic_ns()
@@ -143,6 +143,8 @@ def avg(values):
143143

144144
def norm(values):
145145
_max, _min = max(values), min(values)
146+
if _max == _min:
147+
return zeros(len(values))
146148
return [float(v - _min) / (_max - _min) * 100.0 for v in values]
147149

148150

@@ -487,7 +489,7 @@ def run_benchmark(args):
487489
else:
488490
bench_args.append(arg)
489491
i += 1
490-
492+
491493
if startup and self_measurement:
492494
raise RuntimeError("It is not allowed to use the startup argument when self_measurement is enabled")
493495

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_io.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,9 @@ test.test_io.CMiscIOTest.test_attributes @ darwin-arm64,linux-aarch64,linux-aarc
195195
test.test_io.CMiscIOTest.test_check_encoding_warning @ darwin-arm64,linux-aarch64,linux-aarch64-github,linux-x86_64,linux-x86_64-github
196196
test.test_io.CMiscIOTest.test_create_fail @ darwin-arm64,linux-aarch64,linux-aarch64-github,linux-x86_64,linux-x86_64-github
197197
test.test_io.CMiscIOTest.test_create_writes @ darwin-arm64,linux-aarch64,linux-aarch64-github,linux-x86_64,linux-x86_64-github
198-
test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stderr_deadlock @ darwin-arm64,linux-aarch64,linux-aarch64-github,linux-x86_64,linux-x86_64-github
199-
test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stdout_deadlock @ darwin-arm64,linux-aarch64,linux-aarch64-github,linux-x86_64,linux-x86_64-github
198+
# GR-72206
199+
!test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stderr_deadlock
200+
!test.test_io.CMiscIOTest.test_daemon_threads_shutdown_stdout_deadlock
200201
test.test_io.CMiscIOTest.test_io_after_close @ darwin-arm64,linux-aarch64,linux-aarch64-github,linux-x86_64,linux-x86_64-github
201202
test.test_io.CMiscIOTest.test_nonblock_pipe_write_bigbuf @ darwin-arm64,linux-aarch64,linux-aarch64-github,linux-x86_64,linux-x86_64-github
202203
test.test_io.CMiscIOTest.test_nonblock_pipe_write_smallbuf @ darwin-arm64,linux-aarch64,linux-aarch64-github,linux-x86_64,linux-x86_64-github

mx.graalpython/suite.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@
5353
},
5454
{
5555
"name": "tools",
56-
"version": "ac527eda5ff144d2f7e9994c5e82bd292b82b6ed",
56+
"version": "f912c60fd6dda3b30d9a363ff244676f164fc166",
5757
"subdir": True,
5858
"urls": [
5959
{"url": "https://github.com/oracle/graal", "kind": "git"},
6060
],
6161
},
6262
{
6363
"name": "regex",
64-
"version": "ac527eda5ff144d2f7e9994c5e82bd292b82b6ed",
64+
"version": "f912c60fd6dda3b30d9a363ff244676f164fc166",
6565
"subdir": True,
6666
"urls": [
6767
{"url": "https://github.com/oracle/graal", "kind": "git"},

0 commit comments

Comments
 (0)