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
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
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
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
877aa79e19
cleanup pip upgrade step
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-19 10:56:59 -04: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
kennethreitz
ff223597f3
Upgrades 🔝 ( #475 )
...
* fixed the bug for pypy-5.8.0
* changelog
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* python 2.7.14
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* pipfile > requirements.txt
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* check for python_full_version too
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* 2.7.14
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* warn when using an older version of python
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* requirements for anaconda buildpack
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* remove hashes for conda buildpack
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* improvements to pipenv python version detection
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* oops
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* oops
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* oops
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* echo not puts
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* try this
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* learn more
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* there we go
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* cleanups
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* cleanups
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* cleanups
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* unsupported
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* consistiency
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* be more specific
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* capitalize Pipfile.lock
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* attempt to force color
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* try this
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* try this
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* interactive
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* interactive
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* diagnose
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* try without -l
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* confirmed env working
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* just -c
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* use latest, to debug
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* no more bash
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* try …
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* don't use the git version of pipenv
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* oops
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* next version
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* 2.7.14
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* comment out force color bits
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* readme
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* more tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* more tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* ellipsis
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-09-26 11:42:14 -04:00
Ed Morley
c029e44dc8
Improve UX when clearing cache due to the stack changing ( #442 )
...
* Test that the cache is invalidated when the stack changes
* Improve UX when clearing cache due to the stack changing
Now outputs a message informing that the cache was cleared, and
clears the cache first to avoid a redundant message about removing
an old Python version.
2017-08-07 21:23:23 -04:00
kennethreitz
f74d4db8c5
Shellcheck Compliance ( #438 )
...
* fixed the bug for pypy-5.8.0
* enable shellcheck in makefile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* make compile script shellcheck compatible
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* let's see what this says
* fix pip installation
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck detect script
* shellcheck release
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck test-compile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck warnings/utils
* updated makefile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck collectstatic
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck cryptography
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck eggpath fixes
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck gdal
* shellcheck goes-libs
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck mercurial
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* nltk shellcheck
* shellcheck pip-install
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck pip-uninstall
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck pipenv
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck pylibmc
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* shellcheck python
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* update makefile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* final update to makefile
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* fix tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* actually fix the tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* update pipenv-python-version
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* requested fixes
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* update spellcheck sources
* attempted fix for shell globbing
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* further attempted fix
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* switch nltk styling
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* no more need for temp app for installing pip
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* attempt at staged build for shellcheck
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* attempted fix of travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* reorder travis file
* add shellcheck to install
* make things clearer in travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* better travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* attempt at better travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* better travis file
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-08-03 17:36:23 -04:00
kennethreitz
d39b8c19b2
basics of metrics ( #374 )
...
* basics of metrics
* pin to stdlib v2
* measure python installation size
* lots of additional metrics
* add old output methods
* $
* empty commit
2017-05-03 14:15:03 -04:00
kennethreitz
26ed6daeaa
remove bpwatch
2017-03-17 14:12:18 -04:00
kennethreitz
65648fb7a8
fix tests
2017-03-16 12:44:36 -04:00
kennethreitz
c19f0f83ee
fix build
2017-03-15 23:54:59 -04:00
kennethreitz
c3849fb6d3
improvements
2017-03-14 13:36:14 -04:00
kennethreitz
e9108858fc
v100
2017-03-14 11:59:39 -04:00
kennethreitz
dcfff15151
cleanups
2017-03-14 11:23:28 -04:00
kennethreitz
df52fd46e5
whitespace stripper for runtime.txt
2017-03-14 10:45:59 -04:00
kennethreitz
0fadebf7d8
more tests
2017-03-10 12:37:11 -05:00
kennethreitz
63810f29d3
passing tests
2017-03-10 11:43:11 -05:00
kennethreitz
2df1131d3c
remove bpwatch
2017-03-10 11:21:57 -05:00
kennethreitz
09b7e44841
fix tests
2017-03-08 16:57:33 -05:00
kennethreitz
e26a0f04d9
improvements
2017-03-08 09:01:24 -05:00
kennethreitz
c92f379f78
improve
2017-03-08 08:58:07 -05:00
kennethreitz
6844d1252d
further debug
2016-12-23 22:55:41 -05:00
kennethreitz
1346c29089
debug
2016-12-23 22:54:42 -05:00
kennethreitz
3bc1b5e697
say when installing pip or setuptools
2016-12-23 22:53:23 -05:00
kennethreitz
67f4c4238a
further output improvement
2016-02-08 21:07:07 -05:00
kennethreitz
c229070c21
don't print that the stack changed.
2015-03-18 12:43:31 -07:00
James Arthur
abe34011e5
http: update all external links to use secure protocol.
2015-01-14 09:57:40 +00:00
Kenneth Reitz
4a856ff5b3
remove vendor directory for cedar-14
2014-12-19 15:45:30 -05:00
Daniel Graña
52347a0c98
Do not fail if buildpack dir is readonly
2014-08-22 11:05:31 -03:00
Kenneth Reitz
47c40ce086
Squashed commit of smart-requirements branch
...
commit 60a2a9d0720693b9438b0f1c75f570dc96bf3a4b
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:58:29 2014 -0400
silent mode
commit 20368e741993a2c96739aa1de457618a5272bfe7
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:56:00 2014 -0400
pylibmc
commit 8a512995d806ad58e4a8cab9cd712e762277dcf3
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:55:25 2014 -0400
fix for pip-grep
commit 0b83a0ac11ee67f08dc843b01ecfe72c9b9c2938
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:50:35 2014 -0400
cat that shit
commit 27095d320f4e6c0a6bccec945efbdb6f09598cfc
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:49:11 2014 -0400
don't silence the output
commit db15ac279169467e1e78cfcc55cb740660d4b4c9
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:46:55 2014 -0400
hello
commit 6b851815b07331bf185f218c40d62123df048b7b
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:41:37 2014 -0400
cleanup
commit b2ccf76ccb244976e5ee71164cfe591925cb13a4
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:41:14 2014 -0400
remove last debugging statement
commit fdcb7a210327f01fdc49dba00c3928cbb4778c72
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:39:10 2014 -0400
remove debugging statements
commit dd58a898e4e5244f3b78ce0402537a1b730a3cc3
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:36:02 2014 -0400
bp watch
commit c722f6e964b2a25f91d153c65f0c473ff22ff4c8
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:34:34 2014 -0400
install finished
commit 81644ba1956798c06f55a8ce4c86239ca4ee8036
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Fri Aug 1 14:33:04 2014 -0400
install started
commit 62d0e3b81a5ac25e8ceab735e25cf2bb8d161f0b
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 14:54:59 2014 -0400
debug
commit 1775a1b206780fd99d013ca7c0cb8d8de17a8461
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 13:01:15 2014 -0400
test0
commit 3d20cf89ae0f9436a54c456779a544a3b9d226ac
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:57:07 2014 -0400
test2/2
commit 751d7496893bc84430a93cd479511786bce9abb9
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:50:11 2014 -0400
silent mode
commit f927b7b3dee18c6ee58b36a3f96ad66e53b8d46d
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:44:58 2014 -0400
pylibmc with pip-grep
commit 00dfc36701bf72191f0ad7b7d5533ba7a9ac3b10
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:41:11 2014 -0400
no debug echo
commit 38d78d800583fc89100cadc551ce715c5800f0b8
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:40:06 2014 -0400
source, not subenv
commit f455de19a8c1150aa2a4df164b90c2dc9a195942
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:36:35 2014 -0400
don't print "installing dependencies with pip" twice
commit e72ed7ddbafa0722d2ac6f0cdaf4ac4d0ca0f634
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:35:47 2014 -0400
refactor
commit 64819d9fd7ac042ef56499750b47214eb863f8d2
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:24:26 2014 -0400
pip-grep
commit 5e075dd7dbeda9084ea7ce0151dc17924251c258
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Thu Jul 31 12:24:13 2014 -0400
no more travis
commit bc9baba04436dc7b8aefeaee24e820a9720ee9e8
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 13:32:40 2014 -0400
if not requirement
commit 0918d781e50e6190d1045c19c5c5a37e00d669dc
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 13:28:28 2014 -0400
only use requirments that are truthy
commit 4f0f750407eae6bc7faea50c7b607a10a11ad1c5
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 13:25:15 2014 -0400
new version of pip-diff
commit d13b397a21733d0a0a5e31c4995dc6a3b65cd977
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 13:12:23 2014 -0400
ignore errors for pip-diff
commit bb09fb0d5051f69a35e086030b11fd39d1539f84
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 12:55:55 2014 -0400
uninstall the packages
commit 29b2e1f2dbe7761e3f7f55827d0adcd0025aeb4b
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 12:47:21 2014 -0400
maybe this one should be relative
commit 2448558624fdce634350e904eaad5fd3aa725c22
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 12:44:04 2014 -0400
docopt
commit 47010d297330869516f6add46ace97a41cdccb8d
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 29 12:40:36 2014 -0400
first pass at pip-pop integration
commit 59ac5912e1322be771d1969687891ebeb9f4b5f0
Author: Kenneth Reitz <me@kennethreitz.com >
Date: Tue Jul 22 14:42:08 2014 -0400
copy requirements
2014-08-01 15:00:38 -04:00