Skip to content
Snippets Groups Projects
  1. Aug 31, 2017
  2. Aug 28, 2017
  3. Aug 24, 2017
  4. Aug 12, 2017
  5. Aug 10, 2017
  6. Aug 08, 2017
    • Ed Morley's avatar
      Improve UX when clearing cache due to the stack changing (#442) · c029e44d
      Ed Morley authored
      * 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.
      c029e44d
  7. Aug 03, 2017
  8. Aug 01, 2017
  9. Jul 17, 2017
    • 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
      v110
      19493288
    • Josh Friend's avatar
      Add CPython 3.6.2 (#422) · 4293ec55
      Josh Friend authored
      4293ec55
  10. Jun 20, 2017
  11. Jun 15, 2017
  12. Jun 14, 2017
  13. Jun 05, 2017
  14. Jun 03, 2017
  15. Jun 02, 2017
    • 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
      v106
      ff949085
  16. May 31, 2017
  17. May 30, 2017
  18. May 26, 2017
  19. May 25, 2017
    • 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
  20. May 11, 2017
  21. May 05, 2017
  22. May 03, 2017
    • 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
Loading