Skip to content

makedep: Update interpreter directive to python3#953

Merged
Hallberg-NOAA merged 1 commit into
NOAA-GFDL:dev/gfdlfrom
marshallward:makedep_use_py3
Sep 10, 2025
Merged

makedep: Update interpreter directive to python3#953
Hallberg-NOAA merged 1 commit into
NOAA-GFDL:dev/gfdlfrom
marshallward:makedep_use_py3

Conversation

@marshallward
Copy link
Copy Markdown
Member

The interpreter directive ("shebang") of makedep is updated to python3, rather than the version-agnostic python.

Although we never invoke the shebang of the script, there are OS environments out there which will object to any presence of a versionless python. PEP 394 also strongly recommends the adoption of python3 as the executable name, regardless of Py2 support.

@Hallberg-NOAA
Copy link
Copy Markdown
Member

This PR has passed pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/MOM6/-/pipelines/28776.

The interpreter directive ("shebang") of makedep is updated to
`python3`, rather than the version-agnostic `python`.

Although we never invoke the shebang of the script, there are OS
environments out there which will object to any presence of a
versionless python.  PEP 394 also strongly recommends the adoption of
python3 as the executable name, regardless of Py2 support.
@Hallberg-NOAA
Copy link
Copy Markdown
Member

After rebasing, this PR has passed pipeline testing again at https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/MOM6/-/pipelines/28783.

@Hallberg-NOAA Hallberg-NOAA merged commit 83a1048 into NOAA-GFDL:dev/gfdl Sep 10, 2025
52 checks passed
@marshallward marshallward deleted the makedep_use_py3 branch November 17, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants