Skip to content

Commit b997a4b

Browse files
cosminbascatimfel
authored andcommitted
[GR-21590] update imports.
PullRequest: graalpython/3101
2 parents 763fdce + 18ea8a8 commit b997a4b

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

ci.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "overlay": "d468353ccaa8044ff95a18897cc31aca23e97dae" }
1+
{ "overlay": "2e337945a8f38c10254b2e026bf1ede34b0271f6" }

mx.graalpython/mx_graalpython.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,9 @@ def run_python_unittests(python_binary, args=None, paths=None, aot_compatible=Fa
11241124
env['PYTHONHASHSEED'] = '0'
11251125
delete_bad_env_keys(env)
11261126

1127+
if mx.primary_suite() != SUITE:
1128+
env.setdefault("GRAALPYTEST_ALLOW_NO_JAVA_ASSERTIONS", "true")
1129+
11271130
# list of excluded tests
11281131
if aot_compatible:
11291132
exclude += AOT_INCOMPATIBLE_TESTS
@@ -1938,7 +1941,7 @@ def update_import_cmd(args):
19381941
overlaytip = str(vc.tip(overlaydir)).strip()
19391942

19401943
# update ci import in all our repos, commit the full update
1941-
prev_verbosity = mx._opts.very_verbose
1944+
prev_verbosity = mx.get_opts().very_verbose
19421945
for repo in repos:
19431946
jsonnetfile = os.path.join(repo, "ci.jsonnet")
19441947
with open(jsonnetfile, "w") as f:
@@ -1951,10 +1954,10 @@ def update_import_cmd(args):
19511954
if not args.no_push:
19521955
for repo in repos_updated:
19531956
try:
1954-
mx._opts.very_verbose = True
1957+
mx.get_opts().very_verbose = True
19551958
vc.git_command(repo, ["push", "-u", "origin", "HEAD:%s" % current_branch], abortOnError=True)
19561959
finally:
1957-
mx._opts.very_verbose = prev_verbosity
1960+
mx.get_opts().very_verbose = prev_verbosity
19581961

19591962
if repos_updated:
19601963
mx.log("\n ".join(["These repos were updated:"] + repos_updated))

mx.graalpython/suite.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,31 +45,31 @@
4545
},
4646
{
4747
"name": "sdk",
48-
"version": "8ae5773fb6fa23ebe1e3bf9e43d2cd32da10f7e3",
48+
"version": "f60f913bcbca61a4e8894eb89307d0ba0db48a16",
4949
"subdir": True,
5050
"urls": [
5151
{"url": "https://github.com/oracle/graal", "kind": "git"},
5252
]
5353
},
5454
{
5555
"name": "tools",
56-
"version": "8ae5773fb6fa23ebe1e3bf9e43d2cd32da10f7e3",
56+
"version": "f60f913bcbca61a4e8894eb89307d0ba0db48a16",
5757
"subdir": True,
5858
"urls": [
5959
{"url": "https://github.com/oracle/graal", "kind": "git"},
6060
],
6161
},
6262
{
6363
"name": "sulong",
64-
"version": "8ae5773fb6fa23ebe1e3bf9e43d2cd32da10f7e3",
64+
"version": "f60f913bcbca61a4e8894eb89307d0ba0db48a16",
6565
"subdir": True,
6666
"urls": [
6767
{"url": "https://github.com/oracle/graal", "kind": "git"},
6868
]
6969
},
7070
{
7171
"name": "regex",
72-
"version": "8ae5773fb6fa23ebe1e3bf9e43d2cd32da10f7e3",
72+
"version": "f60f913bcbca61a4e8894eb89307d0ba0db48a16",
7373
"subdir": True,
7474
"urls": [
7575
{"url": "https://github.com/oracle/graal", "kind": "git"},

0 commit comments

Comments
 (0)