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

Stop setting the PYTHONHOME env var #309

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Stop setting the PYTHONHOME env var #309

merged 1 commit into from
Dec 17, 2024

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Dec 17, 2024

Since it was only set to:
(a) work around a uWSGI bug (unbit/uwsgi#2525), and that bug does not occur when using a venv (which we now use as of #257).
(b) prevent issues for apps that have an invalid PYTHONHOME env var set - but such apps will now be caught by the env checks added in #308.

Closes #265.
GUS-W-17454520.

Since it was only set to work around a uWSGI bug, and that
bug does not occur when using a venv (which we now use
as of #257).

Closes #265.
GUS-W-17454520.
@edmorley edmorley self-assigned this Dec 17, 2024
@edmorley edmorley marked this pull request as ready for review December 17, 2024 16:20
@edmorley edmorley requested a review from a team as a code owner December 17, 2024 16:20
@edmorley edmorley enabled auto-merge (squash) December 17, 2024 17:11
@edmorley edmorley merged commit 7304505 into main Dec 17, 2024
8 checks passed
@edmorley edmorley deleted the rm-pythonhome branch December 17, 2024 17:50
heroku-linguist bot added a commit that referenced this pull request Dec 18, 2024
## heroku/python

### Changed

- The build now fails early if known problematic Python and pip-related env vars have been set by the user or earlier buildpacks. ([#308](#308))
- The `PIP_PYTHON` env var is now only set at build time. ([#307](#307))

### Removed

- Stopped setting the `LANG` env var. ([#306](#306))
- Stopped setting the `PYTHONHOME` env var. ([#309](#309))
heroku-linguist bot added a commit to heroku/cnb-builder-images that referenced this pull request Dec 18, 2024
## heroku/python

### Changed

- The build now fails early if known problematic Python and pip-related env vars have been set by the user or earlier buildpacks. ([#308](heroku/buildpacks-python#308))
- The `PIP_PYTHON` env var is now only set at build time. ([#307](heroku/buildpacks-python#307))

### Removed

- Stopped setting the `LANG` env var. ([#306](heroku/buildpacks-python#306))
- Stopped setting the `PYTHONHOME` env var. ([#309](heroku/buildpacks-python#309))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop setting PYTHONHOME
2 participants