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
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
kennethreitz
155b5eecb9
Grep bug fix ( #456 )
...
* fixed the bug for pypy-5.8.0
* changelog entry
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* use std-lib sub-env
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* let's see if this cleans things up
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* try v7 of stdlib
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* use new sub_env
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* set_env
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* set_default_env
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* v8 of stdlib
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* v112
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* oops (merge bug)
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* final merge error resolve
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
* final final fix for merge conflict
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2017-08-28 13:41:32 -04:00
Samuel Spencer
0c26eae214
Allow environment variables during pip install, fixes #416 ( #417 )
...
* Allow environment variables during pip install, fixes #416
* shift sub-env command, fix typo
* bash check thingy fixed
2017-08-12 02:55:15 -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
84f2fb5396
update python.gunicorn.sh to WEB_CONCURRENCY.sh ( #373 )
...
* update python.gunicorn.sh to WEB_CONCURRENCY.sh
* don't remove WEB_CONCURRENCY for prefixed 0s
* split gunicorn functionality into its own file
* cleanup comments
* fix var ordering
* add retry to curl
* use proper url for buildpack stdlib
2017-05-05 14:28:00 -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
9a24c9d17d
don't unset DYNO (we're running on Heroku) ( #371 )
...
* don't unset DYNO (we're running on Heroku)
Fixes #280
* blacklist STACK env var for subshells
2017-04-25 10:27:57 -04:00
kennethreitz
a3ed9c7155
Fix egg-links
...
commit cb2c57dcffe856ad547ad8fbd1907815713dc4a7
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:44:39 2017 -0500
no files were found
commit 38f861f6c6dbb2825c6551f220e610bea619c27f
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:37:35 2017 -0500
uninstall
commit db1db5d2a0ad364d646d378ccff62b9aa0257efd
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:36:41 2017 -0500
pip cleanup
commit 2e16f233849f683ad9c9d00bad51c2dd5da11c18
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:35:13 2017 -0500
uninstall
commit 078e43d2926b77a40f21026969ee930aa7ad0fee
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:31:39 2017 -0500
fix
commit eff318eaf37161f0c496e130688b27d596b9cd7a
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:30:09 2017 -0500
wfwef
commit d8955b452190b1b6a40049c94df564144c4607dc
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:28:30 2017 -0500
oops
commit 0e83a0ae238bdea06ce0d184c8139b598f71745e
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:24:28 2017 -0500
find
commit b9cb901ecb9d9075020f5c63e5faee04aade1ad7
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:23:04 2017 -0500
don't
commit 3fd1a448e244a7c3f877ae75cd8672ef42a3f550
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:22:29 2017 -0500
output
commit 884c6a40ee14365fccd4c9a34fb7733a833303a4
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:17:47 2017 -0500
delete egg links
commit 9a16a8676abbd34b9ae0de3de4d52b4d358b2e35
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 11:14:18 2017 -0500
remove egg-links
commit d45d9e977adc8ad7c5c18a27f1dfb20eb286bb5d
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 10:35:24 2017 -0500
no echo
commit 5cfb64387db1c69fff57ac9afa0c996a34a4362d
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 10:33:58 2017 -0500
debug
commit ac143097e9ee0a23464d16e2c6d414437046132e
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 10:26:27 2017 -0500
no print 0
commit 72adfe2e4abd975f5df5350f06f93d1309ff4ed1
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 10:25:27 2017 -0500
cat other one
commit e51e83ca3ec9a6710add90424f80f9bc7c3d5bf3
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 10:23:52 2017 -0500
echo
commit def0231dd068fe4a854074bf42409ef373ac0977
Author: Kenneth Reitz <me@kennethreitz.org >
Date: Mon Jan 2 10:20:31 2017 -0500
cat the files
2017-01-02 11:48:45 -05:00
kennethreitz
f8a1761165
export path fix
2016-11-02 11:20:09 -04:00
kennethreitz
521bb00247
export functionality
2016-11-01 13:18:53 -04:00
kennethreitz
0aa123995b
cleanup cleanup
2016-02-08 23:09:47 -05:00
kennethreitz
ffb89feb0d
improvements to buildpack output
2016-02-08 20:59:03 -05:00
kennethreitz
d46e0efc16
sub-env now has a few python variables, just in case.
2016-02-04 23:05:56 -05:00
kennethreitz
ac103519f8
cleanup cleanup
...
everybody everywhere
2015-12-03 14:01:51 -05:00
kennethreitz
0bb6d6e2bd
emit a warning
2015-12-03 14:01:51 -05:00
kennethreitz
ddc310084b
add loging to pip-install
2015-12-03 14:01:51 -05:00
Ryan Witt
a1b372ac66
correct usage comment
2015-04-21 13:22:17 -04:00
Cyril David
aeb1a297d3
Patch to allow netrc buildpack[1] to work.
...
[1]: https://github.com/timshadel/heroku-buildpack-github-netrc
2015-03-23 05:47:01 -07:00
Kenneth Reitz
5cda51c7a5
Removing PYTHONPATH from sub-env blacklist
...
This should fixe the mysterious collectstatic bug. (#143 )
2014-06-02 08:38:29 -04:00
Kenneth Reitz
2c16539190
Merge branch 'stop-finding' of git://github.com/agriffis/heroku-buildpack-python into develop
2014-03-21 15:57:39 -04:00
Aron Griffis
e783556e6b
dotglob FTW. Doesn't expand . or .. but be explicit just in case.
2014-02-19 20:43:18 -05:00
Aron Griffis
5f96190eb5
Stop calling find for simple operations. Just use extglob.
...
Additionally use `cp -a` consistently rather than alternating between
`cp -a` and `cp -r`, and don't fail compile if the glob doesn't expand to
anything.
2014-02-17 15:28:17 -05:00
Aron Griffis
c579162ef9
Use consistent syntax for declaring functions in utils
2014-02-17 14:55:55 -05:00
Aron Griffis
a5cca6de75
Use a sed() function for unbuffered output.
...
In `bin/steps/collectstatic` the unbuffered output in `indent` is subverted
by calling `sed` first:
```shell
python $MANAGE_FILE collectstatic --noinput 2>&1 | sed '/^Copying/d;/^$/d;/^ /d' | indent
```
This commit fixes this by making `sed` itself unbuffered rather than
putting that logic in the `indent` function.
2014-02-17 14:49:09 -05:00
Kenneth Reitz
566f7f4555
new buildpack env standard
2014-01-21 17:47:05 -05:00
Kenneth Reitz
69bdca063f
fix sub-env for when env file is not present
2013-12-20 17:15:24 -05:00
Kenneth Reitz
206a2dbc04
third argument support for envs in compile
2013-12-13 15:48:39 -08:00
Kenneth Reitz
42488a2be7
deep-rm
2013-07-17 08:33:36 -04:00
Kenneth Reitz
0ff4df4dc3
much better
2013-01-03 14:57:08 -05:00
Kenneth Reitz
8637dc05c0
cleanups
2013-01-02 22:26:15 -05:00
Kenneth Reitz
7ac90f19dd
unbuffer all the things
2013-01-02 20:30:49 -05:00
Kenneth Reitz
90cc426c82
force sed to be line buffered
2013-01-02 20:21:39 -05:00
Kenneth Reitz
d758545164
new distribute
2013-01-02 20:10:37 -05:00
Saul Shanabrook
4ade6c0457
Helper functions to test if in requirements used for checking for mercurial install and for pylibmc
2012-12-28 09:02:09 -05:00
Kenneth Reitz
2f0263a5b8
distribute
2012-12-20 02:45:26 -05:00
Kenneth Reitz
8f057f3c9b
test
2012-12-19 23:15:14 -05:00
Kenneth Reitz
87c580f819
fix deep-cp bug
2012-12-19 22:44:49 -05:00
Kenneth Reitz
3bddd66637
serious business
2012-12-19 21:31:16 -05:00
Kenneth Reitz
ecf5278679
extract utils
2012-12-03 16:00:23 +01:00