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

x.py: env python no longer available in macos monterey 12.3 #94964

Closed
Walther opened this issue Mar 15, 2022 · 1 comment
Closed

x.py: env python no longer available in macos monterey 12.3 #94964

Walther opened this issue Mar 15, 2022 · 1 comment

Comments

@Walther
Copy link

Walther commented Mar 15, 2022

macOS Monterey 12.3 was released today.

The release notes include:

Python

Deprecations

  • Python 2.7 was removed from macOS in this update. Developers should use Python 3 or an alternative language instead. (39795874)

The x.py tool used for the development process of the compiler starts with the line

#!/usr/bin/env python

On macOS Monterey 12.3, running env python results in

env: python: No such file or directory

It would probably be the time to make the script require Python 3, with

#!/usr/bin/env python3

See also #71818 for older context.

@Mark-Simulacrum
Copy link
Member

I'm going to close this in favor of #71818, which seems like still the right issue to track this problem; I don't think this release significantly changes the calculus in my eyes. An updated summary for various platforms would be great to post on that issue though (e.g., including https://bugs.python.org/issue46645 as a link).

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

No branches or pull requests

2 participants