Casey Faist
9a830367fe
add 3.8 support
2019-10-17 14:59:26 -07:00
Casey Faist
47c6dbab32
add var to handle staged binaries
2019-10-14 11:15:06 -07:00
David Zülke
00d44d2e34
Revert "Refactor: $BUILD_DIR"
2019-10-09 15:28:31 +02:00
Duane Hutchins
05e29c74bc
Changed hardcoded /app into $BUILD_DIR
2019-10-07 16:41:07 -07:00
Casey
21430070ad
Python release prep ( #809 )
...
* new recipe for new runtime
* add new runtime formula
* add test updates for new runtime release
* wrangle tests into submission
* update tests to use default_pythons
* delete commented code
2019-03-13 12:25:03 -07:00
Casey Faist
d7351513c7
changelog and test update
2018-12-12 17:26:28 -05:00
Casey Faist
2ffb10da34
update latest vars in compile
2018-11-14 16:57:02 -06:00
Casey Faist
8d1ebf7288
bump default 3.6 version
2018-11-14 16:24:46 -06:00
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
f3ef152624
update tests to pass, add 3.4
2018-11-11 15:34:49 -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
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
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
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
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
kennethreitz
920fefce57
source pipenv step
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 10:58:38 -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
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
Swen Kooij
c4ec6d3370
Account for the root not being /app ( #638 )
2018-02-16 09:30:22 -06: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
Josh Friend
17dd42113f
Update default python to 3.6.3 ( #480 )
2017-11-21 19:11:45 -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
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
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
194932889d
Python 3.6.2 ( #423 )
...
* pypy3-5.8.0
* updated cpython to 3.6.2
* update README to reflect new Python version
2017-07-17 12:35:26 -04:00
kennethreitz
a7c20eea42
Python 3 default for buildpack ( #409 )
...
* update default python to 3.6.1
* v110
* nltk python2
2017-06-20 09:14:01 -07:00
Ed Morley
cbb718bb8b
Fix pip uninstall by moving it prior to pip install ( #413 )
...
The pip-uninstall step stopped working when it was moved to after
the pip-install step in f27a84e .
This regression was temporarily fixed by part of #397 , however that
PR was reverted in #404 .
Adds a test to hopefully catch any future regressions :-)
Fixes #393 .
2017-06-14 17:15:52 -04:00
kennethreitz
c8c8995d70
Next version ( #405 )
...
* python 3.5.3
* v108
* new setuptools version
* removed unneeded variable
2017-06-03 17:51:44 -04:00
kennethreitz
4ee3baaded
Revert "Don't install packages that could mess packaging up" ( #404 )
...
* Revert "Fix pyyaml (#402 )"
This reverts commit ff94908505 .
* Revert "Don't install packages that could mess packaging up (#397 )"
This reverts commit 5496c02f9f .
2017-06-03 17:36:19 -04:00
kennethreitz
5496c02f9f
Don't install packages that could mess packaging up ( #397 )
...
* updated changelog
* remove setuptools sanity check
* update changelog
* pip-clean
* changelog note
* refactor codebase to improve package name detection
* fix version string
* cleanup
* add messaging, improve execution
* do uninstall first
2017-05-30 20:03:57 -04:00
kennethreitz
98dc586a99
Setuptools ( #396 )
...
* updated changelog
* remove setuptools sanity check
2017-05-30 11:36:10 -04:00
kennethreitz
e8a79bbda5
fix for heroku ci ( #392 )
...
* attempted fix
* added a comment
* fixes
* improved changelog
2017-05-26 07:22:52 -07:00
Ed Morley
18c404f72d
Restore the build cache prior to running bin/pre_compile ( #372 )
...
So that any changes made to `.heroku/` within pre_compile (such as
installing additional libraries required for the later pip install) are
not clobbered by the cache being copied over afterwards.
Fixes #320 .
2017-05-05 15:54:59 -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
26ed6daeaa
remove bpwatch
2017-03-17 14:12:18 -04:00
kennethreitz
65648fb7a8
fix tests
2017-03-16 12:44:36 -04:00