Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

track down various uses of python and change to python3 #1219

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading