Casey Faist
9e1df4bbb5
specify python 2.7
2018-11-11 17:24:42 -06:00
Casey Faist
0be9d48013
add missing vars for python step
2018-11-11 16:51:29 -06:00
Casey Faist
4750639a0d
add python 3.4 detection
2018-11-11 16:38:12 -06:00
Casey Faist
3de5b43447
add bash pre-commit hook and correct shellcheck warnings
2018-11-11 16:36:16 -06:00
Casey Faist
c3845fff9a
use text variable as variable in puts-warn
2018-11-11 15:43:21 -06:00
Casey Faist
f3ef152624
update tests to pass, add 3.4
2018-11-11 15:34:49 -06:00
Jose Diaz-Gonzalez
ef1f7f6924
fix: drop broken version check
...
Due to how the version checks work - via sorting, not actual comparison - this previously resulted in _always_ installing sqlite3, even though it was already bundled for lower versions of python. The second version check also encompasses 3.7.0+, so there is no need to respecify the check.
2018-11-08 16:14:05 -06:00
Casey Faist
2f430abf07
adjust sqlcheck
2018-11-08 13:54:44 -06:00
Casey Faist
45b78ab587
pin pip version used by pipenv
2018-10-09 14:46:49 -05:00
Casey Faist
b56b063dd5
add SLUGIFY_USES_TEXT_UNIDECODE support
2018-10-05 11:49:01 -05:00
Casey Faist
285ca2b73d
reword warning, add doc link
2018-09-05 16:21:42 -04:00
Casey Faist
5e4667686a
add case for older python 3 install attempts
2018-09-05 16:21:42 -04:00
Casey Faist
f9621add42
Update indentation levels and messaging
...
Fix indentation levels
more helpful messages about supported versions
2018-09-05 16:21:42 -04:00
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