Terence Lee
221722fb27
setup libsqlite3-dev and sqlite3 binary to match stack's libsqlite3-0
...
With inspiration from @KevinBrolly, this patch uses the stack image
SQLite3 package but also still providing the dev headers and binary that
users may still be using today. The benefit is that we won't need to
rebuild all the python binaries for this to take affect. We can just
stop shipping SQLite3 from future binaries. In addition, we don't need
to worry about what version and when to update SQLite3 and maintaining
the packages ourselves.
This also includes updates to Python 2.7.15 and Python 3.6.6 so they can
rebuilt with the stack image dev headers instead of building our own
vendored SQLite3.
2018-07-26 16:49:23 -05:00
Terence Lee
e82f1e4d1e
add Python version operators
2018-07-26 16:32:04 -05:00
Ian Stapleton Cordasco
731876d6e8
Be clearer in our warnings about which Py3 we mean
2018-07-10 07:38:31 -05:00
Ian Stapleton Cordasco
179e6287b1
Prevent Python 3.7 from being unsupported
...
Python 3.7.0 is supported but not preferred given how new it is. As a
result, we don't want it to be the default, but we also don't want users
to be confused when upgrading to it.
Closes gh-728
2018-07-06 09:11:26 -05:00
Ian Stapleton Cordasco
abade31848
Update defaults for Python 3 apps on Heroku
...
Also update our documentation and CHANGELOG for this version of the
buildpack.
2018-06-28 10:57:13 -05:00
Ally Weir
57ec0c38ae
Fix shellcheck linting issues
2018-05-24 14:38:14 +01:00
Ally Weir
f1e1df2fa1
Bump pipenv version
2018-05-24 11:37:01 +01:00
Ian Stapleton Cordasco
f072b73093
Fix-up SC2219 errors in our shell scripts
...
Caught these with the re-added shellcheck linting.
2018-05-10 08:32:24 -05:00
kennethreitz
a8fdd1e532
Python 3.6.5 ( #695 )
...
* 3.6.5
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* fix tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-05-02 09:35:32 -04:00
kennethreitz
539bf80bfe
Update compile
2018-05-02 07:05:31 -04:00
kennethreitz
14a6c862c8
lots of comments
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-05-02 06:58:48 -04:00
kennethreitz
3d8f6de92e
update latest version of python
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-05-01 11:28:42 -04:00
Ian Stapleton Cordasco
3c64697472
Add Python 2.7.15 to the list of runtimes ( #692 )
...
* Add Python 2.7.15 to the list of runtimes
Closes #691
* Update the default Python 2 to 2.7.15 everywhere
2018-05-01 10:27:32 -04:00
Terence Lee
df6c8c78af
only need to build libmemcache dev for cedar-14 ( #690 )
2018-05-01 09:17:18 -04:00
kennethreitz
dd0aee7b06
update metrics
2018-04-20 10:16:27 -04:00
kennethreitz
a0275888a2
Pip frozen version ( #683 )
...
* freeze pip version, upon installation
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* use PIP_UPDATE environment variable
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* disable shell checking (for now)
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* --disable-pip-version-check
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-04-17 16:50:01 -04:00
kennethreitz
23400d7862
update pip installation method, to include setuptools
2018-03-20 13:20:49 -04:00
kennethreitz
34fccf64a4
9.0.2
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-20 06:38:27 -04:00
kennethreitz
a75e4fdf2d
pip
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-19 11:02:14 -04:00
kennethreitz
f0201c3e38
9.0.2
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-19 11:00:16 -04:00
kennethreitz
877aa79e19
cleanup pip upgrade step
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-19 10:56:59 -04:00
kennethreitz
d0ed320447
don't upgrade pip
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-19 10:53:57 -04:00
kennethreitz
18965ac04c
upgrade pip
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-19 07:18:15 -04:00
Yury V. Zaytsev
c732097d17
Output pipenv version in steps ( #662 )
...
* Since pipenv is being pinned now, output pinned version in steps
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@moneymeets.com >
* Update README.md example output to match new reality
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@moneymeets.com >
* Update pipenv
2018-03-19 07:15:37 -04:00
kennethreitz
00947abe7a
collectstatic metrics ( #660 )
2018-03-14 13:06:56 -04:00
kennethreitz
d0c98aa577
Update pipenv
2018-03-14 06:57:52 -04:00
kennethreitz
ce30ca052e
pin to pipenv==11.6.1
2018-03-14 06:56:14 -04:00
kennethreitz
f9e54dc3f6
don't skip Pipenv installation if there are git deps ( #656 )
2018-03-13 22:02:29 -04:00
kennethreitz
7d975e74a9
default to user python path for collectstatic runs ( #655 )
...
* default to user python path for collectstatic runs
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* bugfixes
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* fix
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-13 20:59:11 -04:00
kennethreitz
5f8360cba8
Metrics ( #657 )
...
* metrics
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* using pipenv anyway
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* instrument bad failures
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* if not
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-13 20:56:40 -04:00
kennethreitz
05e3d8ccce
fix mercurial step
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 11:08:13 -05:00
kennethreitz
920fefce57
source pipenv step
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 10:58:38 -05:00
kennethreitz
fd53d4e1b0
also skip pip install
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 10:57:31 -05:00
kennethreitz
329cd6eb7b
don't print extra information
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 10:56:49 -05:00
kennethreitz
b6f042b118
fix the problem
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 10:54:58 -05:00
kennethreitz
7cbca2f5c5
always use pipenv if it's there
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 10:54:09 -05:00
kennethreitz
fe302d8724
don't expect there to be a requirements.txt
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 10:51:48 -05:00
kennethreitz
a334672a1a
reorder things
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 10:48:22 -05:00
kennethreitz
7b26f0df44
set -e
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 10:38:56 -05:00
kennethreitz
96df073bdf
cleanup
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-06 16:06:12 -05:00
kennethreitz
c373e80c12
remove cryptogrpahy step, as they ship wheels now
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-06 16:05:19 -05:00
kennethreitz
97ac451a80
Pipenv uninstall, and other improvements ( #650 )
2018-03-06 15:44:50 -05:00
kennethreitz
df083fd3b8
Update pipenv-python-version to latest python 3.6 ( #644 )
...
* Update pipenv-python-version
* use latest versions in pipenv script
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* Update pipenv-python-version
* 3.6.4
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-02 18:38:21 -05:00
jxltom
2e1638a1b0
Fix PYTHONPATH is not set when running collectstatic ( #637 )
...
* Fix PYTHONPATH is not set when running collectstatic
* update changelog
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* Update CHANGELOG.md
2018-03-02 09:04:00 -05:00
Jose Diaz-Gonzalez
e15f68944a
feat: allow stack url overrides using BUILDPACK_VENDOR_URL env var ( #643 )
...
This is useful if you'd like to customize python binaries without forking the entire buildpack.
Similar functionality was implemented in https://github.com/heroku/heroku-buildpack-ruby/pull/238
2018-03-02 07:15:23 -05:00
Eugene Pakhomov
9468ec2630
Add support for PIP_EXTRA_INDEX_URL ( #639 )
...
* Add support for PIP_EXTRA_INDEX_URL
* Add support for PIP_EXTRA_INDEX_URL for Pipenv
2018-02-17 05:58:40 -06:00
Swen Kooij
c4ec6d3370
Account for the root not being /app ( #638 )
2018-02-16 09:30:22 -06:00
kennethreitz
500daaf6fc
Pipenv development dependencies (ci) ( #633 )
...
* initial stab at pipenv --dev support
* test installation output
* locale fix
* refactor
* fix typo
* fix typo
* ellipsis
* polish
2018-01-16 13:36:01 -05:00
kennethreitz
de680016c9
latest python version (3.6.4) ( #496 )
...
Update buildpack to latest version of Python.
2018-01-08 12:20:55 -05:00
kennethreitz
a2c3aaf817
Mcount pipenv and pip ( #492 )
...
* mcount pipenv
* more mcount for pip
* shellcheck compliance
* fix typo
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-12-18 12:49:11 -05:00