CHANGELOG.md 6.6 KB
Newer Older
Kenneth Reitz's avatar
Kenneth Reitz committed
1 2
# Python Buildpack Changelog

Terence Lee's avatar
Terence Lee committed
3 4 5 6
# 137

Prevent 3.7.0 from appearing as unsupported in buildpack messaging.

7 8 9 10
# 136

Upgrade to 3.6.6 and support 3.7.0 on all runtimes.

11 12 13 14
# 135

Upgrade Pipenv to v2018.5.18.

Kenneth Reitz's avatar
Kenneth Reitz committed
15 16 17 18
# 134

Default to 3.6.5, bugfixes.

Kenneth Reitz's avatar
Kenneth Reitz committed
19 20 21 22
# 133

Fixes for Pip 10 release.

Kenneth Reitz's avatar
Kenneth Reitz committed
23 24 25 26
# 132

Improve pip installation, with the release of v9.0.2.

Kenneth Reitz's avatar
Kenneth Reitz committed
27 28 29 30
# 131

Fix bug with pip.

Kenneth Reitz's avatar
pip  
Kenneth Reitz committed
31 32 33 34
# 130

Better upgrade strategy for pip.

Kenneth Reitz's avatar
Kenneth Reitz committed
35 36
# 129

Kenneth Reitz's avatar
Kenneth Reitz committed
37
Don't upgrade pip (from v128).
Kenneth Reitz's avatar
Kenneth Reitz committed
38

Kenneth Reitz's avatar
pipenv  
Kenneth Reitz committed
39 40
# 128

Kenneth Reitz's avatar
Kenneth Reitz committed
41
Upgrade pip, pin to Pipenv v11.8.2.
Kenneth Reitz's avatar
pipenv  
Kenneth Reitz committed
42

Kenneth Reitz's avatar
Kenneth Reitz committed
43 44 45 46
# 127

Pin to Pipenv v11.7.1.

47 48 49 50
# 126

Bugfixes.

Kenneth Reitz's avatar
Kenneth Reitz committed
51 52 53 54
# 125

Bugfixes.

Kenneth Reitz's avatar
Kenneth Reitz committed
55
# 124
56

Kenneth Reitz's avatar
Kenneth Reitz committed
57
Update buildpack to automatically install `[dev-packages]` during Heroku CI Pipenv builds.
58

Kenneth Reitz's avatar
Kenneth Reitz committed
59
- Skip installs if Pipfile.lock hasn't changed, and uninstall stale dependencies with Pipenv.
Kenneth Reitz's avatar
Kenneth Reitz committed
60
- Set `PYTHONPATH` during collectstatic runs.
Kenneth Reitz's avatar
Kenneth Reitz committed
61
- No longer warn if there is no `Procfile`.
Kenneth Reitz's avatar
Kenneth Reitz committed
62
- Update Pipenv's "3.6" runtime specifier to point to "3.6.4".
63

Kenneth Reitz's avatar
Kenneth Reitz committed
64 65
# 123

Kenneth Reitz's avatar
Kenneth Reitz committed
66
Update gunicorn `init.d` script to allow overrides.
Kenneth Reitz's avatar
Kenneth Reitz committed
67 68 69 70 71

# 122

Update default Python to v3.6.4.

Kenneth Reitz's avatar
Kenneth Reitz committed
72 73 74 75 76 77
# 121

Update default Python to v3.6.3.

# 120

Kenneth Reitz's avatar
Kenneth Reitz committed
78
Use `$ pipenv --deploy`.
Kenneth Reitz's avatar
Kenneth Reitz committed
79

Kenneth Reitz's avatar
Kenneth Reitz committed
80 81 82 83 84 85 86 87 88 89 90
# 119

Improvements to Pipenv support, warning on unsupported Python versions.

- We now warn when a user is not using latest 2.x or 3.x Python.
- Heroku now supports `[requires]` `python_full_version` in addition to `python_version`.

# 118

Improvements to Pipenv support.

Kenneth Reitz's avatar
Kenneth Reitz committed
91 92 93 94
# 117

Bug fix.

Kenneth Reitz's avatar
Kenneth Reitz committed
95
# 116
96

Kenneth Reitz's avatar
Kenneth Reitz committed
97 98 99 100
Vendoring improvements.

- Geos libraries should work on Heroku-16 now.
- The libffi/libmemcached vendoring step is now skipped on Heroku-16 (since they are installed in the base image).
101

102 103 104 105 106 107
# 115

Revert a pull request.

- No longer using `sub_env` for `pip install` step.

Kenneth Reitz's avatar
Kenneth Reitz committed
108 109 110 111 112 113
# 114

- Bugfixes.

Blacklisting `PYTHONHOME` and `PYTHONPATH` for older apps. Upgrades to nltk support.

Kenneth Reitz's avatar
Kenneth Reitz committed
114 115
# 113

116
Updates to Pipenv support.
Kenneth Reitz's avatar
Kenneth Reitz committed
117

Kenneth Reitz's avatar
Kenneth Reitz committed
118 119 120 121 122 123
# 112

Bugfix.

- Fixed grep output bug.

Kenneth Reitz's avatar
Kenneth Reitz committed
124 125
# 111

Kenneth Reitz's avatar
Kenneth Reitz committed
126
Linting, bugfixes.
Kenneth Reitz's avatar
Kenneth Reitz committed
127

128
# 110
129

130
Update default Python to 3.6.2.
131

Kenneth Reitz's avatar
Kenneth Reitz committed
132 133
# 109

134 135 136
Update Default Python to 3.6.1, bugfixes.

- Fixed automatic pip uninstall of dependencies removed from requirements.txt.
Kenneth Reitz's avatar
Kenneth Reitz committed
137

Kenneth Reitz's avatar
Kenneth Reitz committed
138 139
# 108

140
Fix output for collectstatic step.
Kenneth Reitz's avatar
Kenneth Reitz committed
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157

# 107

Bugfix for C dependency installation.

# 106

 Don't install packages that could mess up packaging.

 - The Python buildpack will automatically remove `six`, `pyparsing`, `appdirs`,
   `setuptools`, and `distribute` from a `requirements.txt` file now, as these
   packages are provided by the Python buildpack.

 # 105

 Improvements to output messaging.

158 159
# 104

Kenneth Reitz's avatar
Kenneth Reitz committed
160
General improvements.
161

Kenneth Reitz's avatar
Kenneth Reitz committed
162
- Fix for Heroku CI.
163 164 165 166 167
- Use `pkg_resources` to check if a distribution is installed instead of
  parsing `requirements.txt`. ([#395][395])

[395]: https://github.com/heroku/heroku-buildpack-python/pull/395

Kenneth Reitz's avatar
Kenneth Reitz committed
168 169 170 171 172 173 174 175 176 177
## 103

Bug fixes and improvements.

- Fix for Pipenv.
- Fix for Heroku CI.
- Improve handling of WEB_CONCURRENCY when using multiple buildpacks.
- Adjust environment variables set during the build to more closely match those in the dyno environment (DYNO is now available, STACK is not).
- Restore the build cache prior to running bin/pre_compile.

Kenneth Reitz's avatar
Kenneth Reitz committed
178 179 180 181 182 183
## 102

Buildpack code cleanup.

- Improved messaging around NLTK.

Kenneth Reitz's avatar
Kenneth Reitz committed
184 185 186 187 188 189
## 101

Updated setuptools installation method.

- Improved pipenv support.

Kenneth Reitz's avatar
v100!  
Kenneth Reitz committed
190 191 192 193
## 100

Preliminary pipenv support.

Kenneth Reitz's avatar
v99  
Kenneth Reitz committed
194 195 196 197
## 99

Cleanup.

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
198 199 200 201 202 203 204
## 98

Official NLTK support and other improvements.

- Support for `nltk.txt` file for declaring corpora to be downloaded.
- Leading zeros for auto-set WEB_CONCURRENCY.

Kenneth Reitz's avatar
v97  
Kenneth Reitz committed
205 206 207 208
## 97

Improved egg-link functionality.

Kenneth Reitz's avatar
v96  
Kenneth Reitz committed
209 210 211 212
## 96

Bugfix.

Kenneth Reitz's avatar
v95  
Kenneth Reitz committed
213 214
## 95

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
215
Improved output support.
Kenneth Reitz's avatar
v95  
Kenneth Reitz committed
216 217 218 219 220

## v94

Improved support for PyPy.

Kenneth Reitz's avatar
Kenneth Reitz committed
221 222 223 224
## v93

Improved support for PyPy.

Kenneth Reitz's avatar
v92  
Kenneth Reitz committed
225 226
## v92

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
227
Improved cache functionality and fix egg-links regression.
Kenneth Reitz's avatar
v92  
Kenneth Reitz committed
228

Kenneth Reitz's avatar
Kenneth Reitz committed
229 230 231 232
## v91

Bugfix, rolled back to v88.

Kenneth Reitz's avatar
v90  
Kenneth Reitz committed
233 234 235 236
## v90

Bugfix.

Kenneth Reitz's avatar
v89  
Kenneth Reitz committed
237 238
## v89

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
239
Improved cache functionality and fix egg-links regression.
Kenneth Reitz's avatar
v89  
Kenneth Reitz committed
240

Kenneth Reitz's avatar
v88  
Kenneth Reitz committed
241 242
## v88

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
243
Fixed bug with editable pip installations.
Kenneth Reitz's avatar
v88  
Kenneth Reitz committed
244

Kenneth Reitz's avatar
v87  
Kenneth Reitz committed
245 246 247 248
## v87

Updated default Python 2.7.13.

Kenneth Reitz's avatar
Kenneth Reitz committed
249 250 251
- Python 2.7.13 uses UCS-4 build, more compatibile with linux wheels.
- Updated setuptools to v32.1.0.

Kenneth Reitz's avatar
v86  
Kenneth Reitz committed
252 253 254 255
## v86

Refactor and multi-buildpack compatibility.

Kenneth Reitz's avatar
Kenneth Reitz committed
256 257
## v85

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
258
Packaging fix.
Kenneth Reitz's avatar
Kenneth Reitz committed
259

Kenneth Reitz's avatar
Kenneth Reitz committed
260 261 262 263 264 265 266
## v84

Updated pip and setuptools.

- Updated pip to v9.0.1.
- Updated setuptools to v28.8.0.

Kenneth Reitz's avatar
Kenneth Reitz committed
267 268
## v83

Kenneth Reitz's avatar
Kenneth Reitz committed
269 270
Support for Heroku CI.

Kenneth Reitz's avatar
Kenneth Reitz committed
271 272
- Cffi support for argon2

Kenneth Reitz's avatar
Kenneth Reitz committed
273 274 275 276 277 278
## v82 (2016-08-22)

Update to library detection mechnisms (pip-pop).

- Updated setuptools to v25.5.0

Kenneth Reitz's avatar
v81  
Kenneth Reitz committed
279 280 281 282
## v81 (2016-06-28)

Updated default Python to 2.7.11.

Kenneth Reitz's avatar
v87  
Kenneth Reitz committed
283 284
- Updated pip to v8.1.2.
- Updated setuptools to v23.1.0.
Kenneth Reitz's avatar
v81  
Kenneth Reitz committed
285

Kenneth Reitz's avatar
v80  
Kenneth Reitz committed
286 287 288 289
## v80 (2016-04-05)

Improved pip-pop compatibility with latest pip releases.

Kenneth Reitz's avatar
v79  
Kenneth Reitz committed
290 291 292 293
## v79 (2016-03-22)

Compatibility improvements with heroku-apt-buildpack.

Kenneth Reitz's avatar
Kenneth Reitz committed
294
## v78 (2016-03-18)
295 296 297 298 299 300 301 302 303 304 305

Added automatic configuration of Gunicorn's `FORWARDED_ALLOW_IPS` setting.

Improved detection of libffi dependency when using bcrypt via `Django[bcrypt]`.

Improved GDAL support.

- GDAL dependency detection now checks for pygdal and is case-insensitive.
- The vendored GDAL library has been updated to 1.11.1.
- GDAL bootstrapping now also installs the GEOS and Proj.4 libraries.

Kenneth Reitz's avatar
Kenneth Reitz committed
306
Updated pip to 8.1.1 and setuptools to 20.3.
Ed Morley's avatar
Ed Morley committed
307

308 309 310 311
## v77 (2016-02-10)

Improvements to warnings and minor bugfix.

Kenneth Reitz's avatar
Kenneth Reitz committed
312
## v76 (2016-02-08)
Kenneth Reitz's avatar
v76  
Kenneth Reitz committed
313 314 315 316 317 318 319

Improved Django collectstatic support.

- `$ python manage.py collectstatic` will only be run if `Django` is present in `requirements.txt`.
- If collectstatic fails, the build fails. Full traceback is provided.
- `$DISABLE_COLLECTSTATIC`: skip collectstatic step completely (not new).
- `$DEBUG_COLLECTSTATIC`: echo environment variables upon collectstatic failure.
Kenneth Reitz's avatar
Kenneth Reitz committed
320 321
- Updated build output style.
- New warning for outdated Python (via pip `InsecurePlatform` warning).
Kenneth Reitz's avatar
v76  
Kenneth Reitz committed
322

Kenneth Reitz's avatar
v75  
Kenneth Reitz committed
323 324 325 326
## v75 (2016-01-29)

Updated pip and Setuptools.

Kenneth Reitz's avatar
v74  
Kenneth Reitz committed
327 328 329
## v74 (2015-12-29)

Added warnings for lack of Procfile.
Kenneth Reitz's avatar
v71  
Kenneth Reitz committed
330

Kenneth Reitz's avatar
v72  
Kenneth Reitz committed
331 332 333 334
## v72 (2015-12-07)

Updated default Python to 2.7.11.

Kenneth Reitz's avatar
v72  
Kenneth Reitz committed
335
## v72 (2015-12-03)
Kenneth Reitz's avatar
v71  
Kenneth Reitz committed
336 337 338

Added friendly warnings for common build failures.

Kenneth Reitz's avatar
Kenneth Reitz committed
339 340 341 342
## v70 (2015-10-29)

Improved compatibility with multi and node.js buildpacks.

Kenneth Reitz's avatar
Kenneth Reitz committed
343 344 345 346 347 348 349 350 351 352 353
## v69 (2015-10-12)

Revert to v66.

## v68 (2015-10-12)

Fixed .heroku/venv error with modern apps.

## v67 (2015-10-12)

Further improved cache compatibility with multi and node.js buildpacks.
Kenneth Reitz's avatar
v65  
Kenneth Reitz committed
354

Kenneth Reitz's avatar
v66  
Kenneth Reitz committed
355 356 357 358
## v66 (2015-10-09)

Improved compatibility with multi and node.js buildpacks.

Kenneth Reitz's avatar
v65  
Kenneth Reitz committed
359 360 361 362
## v65 (2015-10-08)

Reverted v64.

Kenneth Reitz's avatar
v64  
Kenneth Reitz committed
363 364 365 366 367 368 369 370 371 372 373 374
## v64 (2015-10-08)

Improved compatibility with multi and node.js buildpacks.

## v63 (2015-10-08)

Updated Pip and Setuptools.

- Setuptools updated to v18.3.2
- Pip updated to v7.1.2


Kenneth Reitz's avatar
Kenneth Reitz committed
375 376 377 378 379 380 381
## v62 (2015-08-07)

Updated Pip and Setuptools.

- Setuptools updated to v18.1
- Pip updated to v7.1.0

Kenneth Reitz's avatar
Kenneth Reitz committed
382 383
## v61 (2015-06-30)

Kenneth Reitz's avatar
Kenneth Reitz committed
384
Updated Pip and Setuptools.
Kenneth Reitz's avatar
v61  
Kenneth Reitz committed
385 386 387 388

- Setuptools updated to v18.0.1
- Pip updated to v7.0.3

Kenneth Reitz's avatar
Kenneth Reitz committed
389
## v60 (2015-05-27)
Kenneth Reitz's avatar
Kenneth Reitz committed
390

Kenneth Reitz's avatar
Kenneth Reitz committed
391
Default Python is now latest 2.7.10. Updated Pip and Distribute.
Kenneth Reitz's avatar
Kenneth Reitz committed
392

Kenneth Reitz's avatar
Kenneth Reitz committed
393 394 395
- Default Python version is v2.7.10
- Setuptools updated to v16.0
- Pip updated to v7.0.1