Permalink
Commits on Aug 12, 2017
  1. 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
    LegoStormtroopr committed with kennethreitz Aug 12, 2017
Commits on Aug 10, 2017
  1. Remove leading zeros from `WEB_CONCURRENCY` (#446)

    * Remove leading zeros from `WEB_CONCURRENCY`
    
    * fix DYNO_RAM (from node buildpack)
    
    Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
    jmorrell committed with kennethreitz Aug 10, 2017
  2. Speed up the multi-stage Travis run (#443)

    Reduces the impact on Travis runtime caused by #438, by:
    * Making the shellcheck job run on the container infra (`sudo: false`)
      which has faster boot times.
    * Running the heroku-16 and cedar-14 stack tests in parallel, since
      previously they were separate stages (which are run in series by
      design).
    
    Reduces Travis end-to-end time from ~10 minutes to ~6 minutes.
    edmorley committed with kennethreitz Aug 10, 2017
Commits on Aug 8, 2017
  1. 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.
    edmorley committed with kennethreitz Aug 8, 2017
Commits on Aug 3, 2017
  1. 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>
    kennethreitz committed on GitHub Aug 3, 2017
Commits on Aug 2, 2017
  1. Geos tests (#437)

    * fixed the bug for pypy-5.8.0
    
    * cleanup makefile
    
    Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
    
    * allow builds to happen when capitalization is used
    
    Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
    
    * restore behavior
    
    Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
    
    * make makefile default to heroku-16
    
    * test geos libraries
    
    Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
    kennethreitz committed on GitHub Aug 2, 2017
Commits on Aug 1, 2017
  1. Update GDAL version to 1.11.5 (#432)

    * Update GDAL version to 1.11.5
    
    Update GDAL to latest bugfix release, see
    http://trac.osgeo.org/gdal/wiki/Release/1.11.5-News
    
    * Use pushd and popd in favor of cd
    codingjoe committed with kennethreitz Aug 1, 2017
Commits on Jul 31, 2017
  1. fixed the bug for pypy-5.8.0 (#431)

    kennethreitz committed on GitHub Jul 31, 2017
  2. Add pypy2-5.8.0 (#430)

    joshfriend committed with kennethreitz Jul 31, 2017
Commits on Jul 17, 2017
  1. Exclude Python's test suite from generated Python archives (#425)

    This copies the official Docker Python images approach of stripping
    the Python test suite after building from source.
    
    For Python 3.6.2 this reduces the output from 184MB to 121MB and
    removes the following directories:
    ```
    .heroku/python/lib/python3.6/tkinter/test
    .heroku/python/lib/python3.6/ctypes/test
    .heroku/python/lib/python3.6/unittest/test
    .heroku/python/lib/python3.6/distutils/tests
    .heroku/python/lib/python3.6/sqlite3/test
    .heroku/python/lib/python3.6/lib2to3/tests
    .heroku/python/lib/python3.6/test
    ```
    
    For Python 2.7.13 this reduces the output from 127MB to 91MB and
    removes the following directories:
    ```
    .heroku/python/lib/python2.7/ctypes/test
    .heroku/python/lib/python2.7/unittest/test
    .heroku/python/lib/python2.7/distutils/tests
    .heroku/python/lib/python2.7/bsddb/test
    .heroku/python/lib/python2.7/lib-tk/test
    .heroku/python/lib/python2.7/sqlite3/test
    .heroku/python/lib/python2.7/lib2to3/tests
    .heroku/python/lib/python2.7/json/tests
    .heroku/python/lib/python2.7/email/test
    .heroku/python/lib/python2.7/test
    ```
    
    Fixes #424.
    edmorley committed with kennethreitz Jul 17, 2017
  2. Python 3.6.2 (#423)

    * pypy3-5.8.0
    
    * updated cpython to 3.6.2
    
    * update README to reflect new Python version
    kennethreitz committed on GitHub Jul 17, 2017
  3. Add CPython 3.6.2 (#422)

    joshfriend committed with kennethreitz Jul 17, 2017
Commits on Jun 20, 2017
  1. Update README.md (#415)

    kennethreitz committed on GitHub Jun 20, 2017
  2. Python 3 default for buildpack (#409)

    * update default python to 3.6.1
    
    * v110
    
    * nltk python2
    kennethreitz committed on GitHub Jun 20, 2017
Commits on Jun 15, 2017
  1. pypy3-5.8.0 (#414)

    kennethreitz committed on GitHub Jun 15, 2017
Commits on Jun 14, 2017
  1. 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.
    edmorley committed with kennethreitz Jun 14, 2017
Commits on Jun 5, 2017
  1. new pylibmc test (#408)

    kennethreitz committed on GitHub Jun 5, 2017
  2. updates (#407)

    * silently use sp-grep
    
    * history
    
    * update license
    kennethreitz committed on GitHub Jun 5, 2017
  3. silently use sp-grep (#406)

    kennethreitz committed on GitHub Jun 5, 2017
Commits on Jun 3, 2017
  1. Next version (#405)

    * python 3.5.3
    
    * v108
    
    * new setuptools version
    
    * removed unneeded variable
    kennethreitz committed on GitHub Jun 3, 2017
  2. Revert "Don't install packages that could mess packaging up" (#404)

    * Revert "Fix pyyaml (#402)"
    
    This reverts commit ff94908.
    
    * Revert "Don't install packages that could mess packaging up (#397)"
    
    This reverts commit 5496c02.
    kennethreitz committed on GitHub Jun 3, 2017
Commits on Jun 2, 2017
  1. Fix pyyaml (#402)

    * Revert "use pkg_resources to check for distributions (#395)"
    
    This reverts commit 9b185f9.
    
    * use sp-grep for django detection
    
    * sp-grep
    
    * fix setuptools script
    kennethreitz committed on GitHub Jun 2, 2017
Commits on May 31, 2017
  1. 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
    kennethreitz committed on GitHub May 31, 2017
Commits on May 30, 2017
  1. Update to bob-builder v0.0.13 (#399)

    The recent fixes on bob-builder master have now been released.
    edmorley committed with kennethreitz May 30, 2017
  2. Setuptools (#396)

    * updated changelog
    
    * remove setuptools sanity check
    kennethreitz committed on GitHub May 30, 2017
  3. use pkg_resources to check for distributions (#395)

    more accurate than parsing requirements.txt
    fixes #359
    davidism committed with kennethreitz May 30, 2017
Commits on May 26, 2017
  1. fix for heroku ci (#392)

    * attempted fix
    
    * added a comment
    
    * fixes
    
    * improved changelog
    kennethreitz committed on GitHub May 26, 2017
Commits on May 25, 2017
  1. Improve the workflow for generating binaries for Heroku-16 (#387)

    * Updates bob-builder to a version that clears out the previous
      build directory, which prevents the stale files seen in #379.
    * Adds a `buildenv-heroku-16` Make command to simplify the
      building and use of the Heroku-16 binary build environment.
    * Sets `S3_BUCKET` and `S3_PREFIX` in the Docker image, to save
      having to do so manually each time.
    * Removes the duplication of the bob-builder dependency between
      `Dockerfile` and `requirements.txt`.
    * Disables the pip version check during Docker build, to avoid the
      noisy stderr warning about Ubuntu 16.04 pip being older (v8.1.1).
    * Adds a `.dockerignore` to speed up the Docker build, by reducing
      the build context transferred to the daemon from 60MB to 2MB.
    * Applies some Dockerfile best practices like disabling/removing
      cached files (since layer invalidation makes caching pointless).
    edmorley committed with kennethreitz May 25, 2017
  2. Make assertCapturedSuccess display stdout if stderr was empty (#390)

    In cases where there is no stderr there was previously no output,
    which made it hard to find the cause. The assertion messages have
    also been adjusted to remove the repetition (shunit2 already outputs
    expected vs actual itself).
    
    Before:
    ```
    testPipenv
    ASSERT:Expected captured exit code to be 0; was <2> expected:<0> but was:<2>
    testPipenvVersion
    ```
    
    After:
    ```
    testPipenv
    ASSERT:Captured exit code - expected:<0> but was:<2>
     !     Warning: Your application is missing a Procfile. This file tells Heroku how to run your application.
     !     Learn more: https://devcenter.heroku.com/articles/procfile
    -----> Installing python-2.7.13
    -----> Installing pip
    -----> Generating 'requirements.txt' with pipenv
    
    testPipenvVersion
    ```
    
    Fixes #389.
    edmorley committed with kennethreitz May 25, 2017
  3. Faster pipenv (#385)

    * skip pip install for pipenv
    
    * better
    
    * improvements
    
    * indent
    
    * chmod +x
    
    * export
    
    * skip uninstall too
    
    * pip freeze
    
    * Revert "skip uninstall too"
    
    This reverts commit faac96f.
    
    * better comments
    
    * redirect stderr to stdout
    kennethreitz committed on GitHub May 25, 2017
Commits on May 11, 2017
  1. Update README.md (#384)

    kennethreitz committed on GitHub May 11, 2017
  2. Add runtime for python3 version of pypy 3.7.1 (#383)

    kfwls committed with kennethreitz May 11, 2017
  3. chmod formula (#382)

    kennethreitz committed on GitHub May 11, 2017
  4. Add PyPy-5.7.1 (#370)

    joshfriend committed with kennethreitz May 11, 2017
Commits on May 5, 2017
  1. 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.
    edmorley committed with kennethreitz May 5, 2017