1. 02 Aug, 2017 1 commit
  2. 01 Aug, 2017 1 commit
  3. 31 Jul, 2017 2 commits
  4. 17 Jul, 2017 3 commits
    • Ed Morley's avatar
      Exclude Python's test suite from generated Python archives (#425) · 78767e71
      Ed Morley authored
      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.
      78767e71
    • Kenneth Reitz's avatar
      Python 3.6.2 (#423) · 19493288
      Kenneth Reitz authored
      * pypy3-5.8.0
      
      * updated cpython to 3.6.2
      
      * update README to reflect new Python version
      19493288
    • Josh Friend's avatar
      Add CPython 3.6.2 (#422) · 4293ec55
      Josh Friend authored
      4293ec55
  5. 20 Jun, 2017 2 commits
  6. 15 Jun, 2017 1 commit
  7. 14 Jun, 2017 1 commit
    • Ed Morley's avatar
      Fix pip uninstall by moving it prior to pip install (#413) · cbb718bb
      Ed Morley authored
      The pip-uninstall step stopped working when it was moved to after
      the pip-install step in f27a84e0.
      
      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.
      cbb718bb
  8. 05 Jun, 2017 3 commits
  9. 03 Jun, 2017 2 commits
  10. 02 Jun, 2017 1 commit
    • Kenneth Reitz's avatar
      Fix pyyaml (#402) · ff949085
      Kenneth Reitz authored
      * Revert "use pkg_resources to check for distributions (#395)"
      
      This reverts commit 9b185f99.
      
      * use sp-grep for django detection
      
      * sp-grep
      
      * fix setuptools script
      ff949085
  11. 31 May, 2017 1 commit
    • Kenneth Reitz's avatar
      Don't install packages that could mess packaging up (#397) · 5496c02f
      Kenneth Reitz authored
      * 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
      5496c02f
  12. 30 May, 2017 3 commits
  13. 26 May, 2017 1 commit
  14. 25 May, 2017 3 commits
    • Ed Morley's avatar
      Improve the workflow for generating binaries for Heroku-16 (#387) · e621ff4d
      Ed Morley authored
      * 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).
      e621ff4d
    • Ed Morley's avatar
      Make assertCapturedSuccess display stdout if stderr was empty (#390) · 7a579e4e
      Ed Morley authored
      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.
      7a579e4e
    • Kenneth Reitz's avatar
      Faster pipenv (#385) · a1ed1d7b
      Kenneth Reitz authored
      * skip pip install for pipenv
      
      * better
      
      * improvements
      
      * indent
      
      * chmod +x
      
      * export
      
      * skip uninstall too
      
      * pip freeze
      
      * Revert "skip uninstall too"
      
      This reverts commit faac96f62004f78c3d27a92cd865954fc7a3a53d.
      
      * better comments
      
      * redirect stderr to stdout
      a1ed1d7b
  15. 11 May, 2017 4 commits
  16. 05 May, 2017 2 commits
  17. 03 May, 2017 1 commit
    • Kenneth Reitz's avatar
      basics of metrics (#374) · d39b8c19
      Kenneth Reitz authored
      * basics of metrics
      
      * pin to stdlib v2
      
      * measure python installation size
      
      * lots of additional metrics
      
      * add old output methods
      
      * $
      
      * empty commit
      d39b8c19
  18. 25 Apr, 2017 1 commit
  19. 23 Mar, 2017 7 commits