Files
heroku-buildpack-python/test/fixtures
Ed Morley eb6ee49dfe Emit metrics for how the Python version was chosen (#1069)
Currently an app's Python version can be set via a few different means:
- explicitly by the user (via `runtime.txt` or `Pipfile.lock`)
- implicitly via the sticky versions feature (for existing apps)
- implicitly via default version for new apps / those with empty cache

In order to determine the priority of features like automatic Python
patch version upgrades for sticky-versioned apps, it's useful to have
metrics for these.

There were previously no tests for either the sticky versions feature,
or changing the Python version by updating the `runtime.txt` file, so
I've added some now (given that I updated the conditional to add the
metrics, so useful to have coverage).

I've also removed the confusing overwrite of `DEFAULT_PYTHON_VERSION`
with the cached version, and kept them as two separate variables.

Closes @W-8099632@.
Closes @W-8099645@.
2020-09-18 18:48:57 +01:00
..
2017-08-02 19:59:44 -04:00
2018-04-26 09:16:11 -04:00
2017-03-14 13:36:14 -04:00
2020-03-24 14:48:17 -04:00
2017-03-14 13:36:14 -04:00
2018-05-24 11:37:01 +01:00
2017-01-24 23:16:36 -05:00
2017-06-05 13:47:48 -04:00
2019-03-11 13:22:29 -04:00
2019-03-13 12:25:03 -07:00
2019-03-21 10:54:12 -07:00
2019-03-21 10:54:12 -07:00
2019-10-28 15:16:14 -07:00
2018-12-12 17:26:28 -05:00
2019-03-21 10:54:12 -07:00
2018-12-12 17:26:28 -05:00
2018-12-12 17:26:28 -05:00
2019-03-21 10:54:12 -07:00
2018-12-12 17:26:28 -05:00
2020-02-27 15:26:33 -07:00
2019-10-17 15:01:32 -07:00
2017-02-01 15:09:49 -05:00