Skip to content

Commit

Permalink
Merge pull request #2269 from souravpy/patch-1
Browse files Browse the repository at this point in the history
Remove legacy python2 dependency
  • Loading branch information
mesmith75 authored Mar 22, 2024
2 parents d036c94 + 474c29a commit e172bba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ganga/GangaCore/Lib/Batch/BatchScriptTemplate.py.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
from __future__ import print_function

import glob
Expand Down
2 changes: 1 addition & 1 deletion ganga/GangaCore/Lib/Notebook/Notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Notebook(IPrepareApp):
),
'kernel': SimpleItem(
preparable=1,
defvalue='python2',
defvalue='python3',
doc="The kernel to use for the notebook execution. \
Depending on configuration, python3, Root and R might be available.",
),
Expand Down
4 changes: 2 additions & 2 deletions ganga/GangaCore/test/GPI/Notebook/Test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"kernelspec": {
"display_name": "Python 2",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -39,7 +39,7 @@
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"pygments_lexer": "ipython3",
"version": "2.7.12"
}
},
Expand Down

0 comments on commit e172bba

Please sign in to comment.