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

Kenneth Reitz's avatar
Kenneth Reitz committed
3 4 5 6
# 117

Bug fix.

Kenneth Reitz's avatar
Kenneth Reitz committed
7
# 116
8

Kenneth Reitz's avatar
Kenneth Reitz committed
9 10 11 12
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).
13

14 15 16 17 18 19
# 115

Revert a pull request.

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

Kenneth Reitz's avatar
Kenneth Reitz committed
20 21 22 23 24 25
# 114

- Bugfixes.

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

Kenneth Reitz's avatar
Kenneth Reitz committed
26 27
# 113

28
Updates to Pipenv support.
Kenneth Reitz's avatar
Kenneth Reitz committed
29

Kenneth Reitz's avatar
Kenneth Reitz committed
30 31 32 33 34 35
# 112

Bugfix.

- Fixed grep output bug.

Kenneth Reitz's avatar
Kenneth Reitz committed
36 37
# 111

Kenneth Reitz's avatar
Kenneth Reitz committed
38
Linting, bugfixes.
Kenneth Reitz's avatar
Kenneth Reitz committed
39

40
# 110
41

42
Update default Python to 3.6.2.
43

Kenneth Reitz's avatar
Kenneth Reitz committed
44 45
# 109

46 47 48
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
49

Kenneth Reitz's avatar
Kenneth Reitz committed
50 51
# 108

52
Fix output for collectstatic step.
Kenneth Reitz's avatar
Kenneth Reitz committed
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69

# 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.

70 71
# 104

Kenneth Reitz's avatar
Kenneth Reitz committed
72
General improvements.
73

Kenneth Reitz's avatar
Kenneth Reitz committed
74
- Fix for Heroku CI.
75 76 77 78 79
- 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
80 81 82 83 84 85 86 87 88 89
## 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
90 91 92 93 94 95
## 102

Buildpack code cleanup.

- Improved messaging around NLTK.

Kenneth Reitz's avatar
Kenneth Reitz committed
96 97 98 99 100 101
## 101

Updated setuptools installation method.

- Improved pipenv support.

Kenneth Reitz's avatar
v100!  
Kenneth Reitz committed
102 103 104 105
## 100

Preliminary pipenv support.

Kenneth Reitz's avatar
v99  
Kenneth Reitz committed
106 107 108 109
## 99

Cleanup.

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
110 111 112 113 114 115 116
## 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
117 118 119 120
## 97

Improved egg-link functionality.

Kenneth Reitz's avatar
v96  
Kenneth Reitz committed
121 122 123 124
## 96

Bugfix.

Kenneth Reitz's avatar
v95  
Kenneth Reitz committed
125 126
## 95

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
127
Improved output support.
Kenneth Reitz's avatar
v95  
Kenneth Reitz committed
128 129 130 131 132

## v94

Improved support for PyPy.

Kenneth Reitz's avatar
Kenneth Reitz committed
133 134 135 136
## v93

Improved support for PyPy.

Kenneth Reitz's avatar
v92  
Kenneth Reitz committed
137 138
## v92

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

Kenneth Reitz's avatar
Kenneth Reitz committed
141 142 143 144
## v91

Bugfix, rolled back to v88.

Kenneth Reitz's avatar
v90  
Kenneth Reitz committed
145 146 147 148
## v90

Bugfix.

Kenneth Reitz's avatar
v89  
Kenneth Reitz committed
149 150
## v89

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

Kenneth Reitz's avatar
v88  
Kenneth Reitz committed
153 154
## v88

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
155
Fixed bug with editable pip installations.
Kenneth Reitz's avatar
v88  
Kenneth Reitz committed
156

Kenneth Reitz's avatar
v87  
Kenneth Reitz committed
157 158 159 160
## v87

Updated default Python 2.7.13.

Kenneth Reitz's avatar
Kenneth Reitz committed
161 162 163
- 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
164 165 166 167
## v86

Refactor and multi-buildpack compatibility.

Kenneth Reitz's avatar
Kenneth Reitz committed
168 169
## v85

Kenneth Reitz's avatar
v98  
Kenneth Reitz committed
170
Packaging fix.
Kenneth Reitz's avatar
Kenneth Reitz committed
171

Kenneth Reitz's avatar
Kenneth Reitz committed
172 173 174 175 176 177 178
## v84

Updated pip and setuptools.

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

Kenneth Reitz's avatar
Kenneth Reitz committed
179 180
## v83

Kenneth Reitz's avatar
Kenneth Reitz committed
181 182
Support for Heroku CI.

Kenneth Reitz's avatar
Kenneth Reitz committed
183 184
- Cffi support for argon2

Kenneth Reitz's avatar
Kenneth Reitz committed
185 186 187 188 189 190
## 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
191 192 193 194
## v81 (2016-06-28)

Updated default Python to 2.7.11.

Kenneth Reitz's avatar
v87  
Kenneth Reitz committed
195 196
- Updated pip to v8.1.2.
- Updated setuptools to v23.1.0.
Kenneth Reitz's avatar
v81  
Kenneth Reitz committed
197

Kenneth Reitz's avatar
v80  
Kenneth Reitz committed
198 199 200 201
## v80 (2016-04-05)

Improved pip-pop compatibility with latest pip releases.

Kenneth Reitz's avatar
v79  
Kenneth Reitz committed
202 203 204 205
## v79 (2016-03-22)

Compatibility improvements with heroku-apt-buildpack.

Kenneth Reitz's avatar
Kenneth Reitz committed
206
## v78 (2016-03-18)
207 208 209 210 211 212 213 214 215 216 217

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
218
Updated pip to 8.1.1 and setuptools to 20.3.
Ed Morley's avatar
Ed Morley committed
219

220 221 222 223
## v77 (2016-02-10)

Improvements to warnings and minor bugfix.

Kenneth Reitz's avatar
Kenneth Reitz committed
224
## v76 (2016-02-08)
Kenneth Reitz's avatar
v76  
Kenneth Reitz committed
225 226 227 228 229 230 231

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
232 233
- Updated build output style.
- New warning for outdated Python (via pip `InsecurePlatform` warning).
Kenneth Reitz's avatar
v76  
Kenneth Reitz committed
234

Kenneth Reitz's avatar
v75  
Kenneth Reitz committed
235 236 237 238
## v75 (2016-01-29)

Updated pip and Setuptools.

Kenneth Reitz's avatar
v74  
Kenneth Reitz committed
239 240 241
## v74 (2015-12-29)

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

Kenneth Reitz's avatar
v72  
Kenneth Reitz committed
243 244 245 246
## v72 (2015-12-07)

Updated default Python to 2.7.11.

Kenneth Reitz's avatar
v72  
Kenneth Reitz committed
247
## v72 (2015-12-03)
Kenneth Reitz's avatar
v71  
Kenneth Reitz committed
248 249 250

Added friendly warnings for common build failures.

Kenneth Reitz's avatar
Kenneth Reitz committed
251 252 253 254
## v70 (2015-10-29)

Improved compatibility with multi and node.js buildpacks.

Kenneth Reitz's avatar
Kenneth Reitz committed
255 256 257 258 259 260 261 262 263 264 265
## 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
266

Kenneth Reitz's avatar
v66  
Kenneth Reitz committed
267 268 269 270
## v66 (2015-10-09)

Improved compatibility with multi and node.js buildpacks.

Kenneth Reitz's avatar
v65  
Kenneth Reitz committed
271 272 273 274
## v65 (2015-10-08)

Reverted v64.

Kenneth Reitz's avatar
v64  
Kenneth Reitz committed
275 276 277 278 279 280 281 282 283 284 285 286
## 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
287 288 289 290 291 292 293
## 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
294 295
## v61 (2015-06-30)

Kenneth Reitz's avatar
Kenneth Reitz committed
296
Updated Pip and Setuptools.
Kenneth Reitz's avatar
v61  
Kenneth Reitz committed
297 298 299 300

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

Kenneth Reitz's avatar
Kenneth Reitz committed
301
## v60 (2015-05-27)
Kenneth Reitz's avatar
Kenneth Reitz committed
302

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

Kenneth Reitz's avatar
Kenneth Reitz committed
305 306 307
- Default Python version is v2.7.10
- Setuptools updated to v16.0
- Pip updated to v7.0.1