mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
e7c7dfdb26
The following env vars are no longer exposed to subprocesses run by the buildpack (such as the `bin/pre_compile` and `bin/post_compile` hooks): * `BPLOG_PREFIX` * `CACHED_PYTHON_STACK` * `DEFAULT_PYTHON_STACK` * `DEFAULT_PYTHON_VERSION` * `LATEST_27` * `LATEST_34` * `LATEST_35` * `LATEST_36` * `LATEST_37` * `LATEST_38` * `PIP_UPDATE` * `PY27` * `PY34` * `PY35` * `PY36` * `PY37` * `PYPY_27` * `PYPY_36` * `RECOMMENDED_PYTHON_VERSION` * `WARNINGS_LOG` There were previously no tests at all for the pre/post-compile hooks, so I've added some now. Fixes #1010.
17 lines
471 B
Bash
Executable File
17 lines
471 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Disable unused env var warning, since shellcheck doesn't take into account
|
|
# that this file is sourced. We don't want to use export since it exposes
|
|
# the env vars to subprocesses.
|
|
# shellcheck disable=2034
|
|
|
|
DEFAULT_PYTHON_VERSION="python-3.6.11"
|
|
LATEST_38="python-3.8.5"
|
|
LATEST_37="python-3.7.8"
|
|
LATEST_36="python-3.6.11"
|
|
LATEST_35="python-3.5.9"
|
|
LATEST_34="python-3.4.10"
|
|
LATEST_27="python-2.7.18"
|
|
PYPY_36="pypy3.6-7.3.1"
|
|
PYPY_27="pypy2.7-7.3.1"
|