Skip to content

Commit

Permalink
track down various uses of python and change to python3
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush committed Nov 3, 2023
1 parent bb7733b commit a407a51
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_package(output_file=None):
suffix = "tar"
t = datetime.datetime.now()
output_file = "%s.%04d.%02d.%02d.%s" % (repo_name,t.year,t.month,t.day,suffix)
cmd = "python " + pkg_script + " --prefix=ascent " + output_file
cmd = "python3 " + pkg_script + " --prefix=ascent " + output_file
print("[exe: {}]".format(cmd))
subprocess.call(cmd,shell=True)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export TAG_BASE=alpinedav/ascent-ci:ubuntu-18.04-cuda-11.4.0-devel-tpls

date

python ../build_and_tag.py ${TAG_BASE}
python3 ../build_and_tag.py ${TAG_BASE}

date
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export TAG_BASE=alpinedav/ascent-ci:ubuntu-20.04-cuda-12.1.1-devel-tpls

date

python ../build_and_tag.py ${TAG_BASE}
python3 ../build_and_tag.py ${TAG_BASE}

date
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export TAG_BASE=alpinedav/ascent-ci:ubuntu-20.04-devel-tpls

date

python ../build_and_tag.py ${TAG_BASE}
python3 ../build_and_tag.py ${TAG_BASE}

date

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export TAG_BASE=alpinedav/ascent-ci:ubuntu-20.04-rocm-5.1.3-devel-tpls

date

python ../build_and_tag.py ${TAG_BASE}
python3 ../build_and_tag.py ${TAG_BASE}

date
Empty file modified scripts/ci/docker/alpinedav_ubuntu_22.04_devel/build.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion scripts/ci/docker/alpinedav_ubuntu_22.04_devel_tpls/build.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export TAG_BASE=alpinedav/ascent-ci:ubuntu-22.04-devel-tpls

date

python ../build_and_tag.py ${TAG_BASE}
python3 ../build_and_tag.py ${TAG_BASE}

date

2 changes: 1 addition & 1 deletion scripts/ci/docker/build_and_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def main():
os.chdir("../../../../")

# get current copy of the ascent source
cmd ='python package.py {0}'
cmd ='python3 package.py {0}'
sexe(cmd.format(pjoin(orig_dir, "ascent.docker.src.tar.gz")))

# change back to orig working dir
Expand Down
2 changes: 1 addition & 1 deletion src/examples/docker/ubuntu/build_and_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def main():
os.chdir("../../../../")

# get current copy of the ascent source
cmd ='python package.py {0}'
cmd ='python3 package.py {0}'
sexe(cmd.format(pjoin(orig_dir, "ascent.docker.src.tar.gz")))

# change back to orig working dir
Expand Down

0 comments on commit a407a51

Please sign in to comment.