- Sep 05, 2017
-
-
Ed Morley authored
Previously the contents of the file being searched was not output, making it hard to know how to fix a test so that it would pass. Before: ``` $ make test-heroku-16 ... testCffi ASSERT:Expected </tmp/shunit.ayVGAO/tmp/output.6gMs/stdout> to contain <ZZZZZZZ> testPylibmc ``` After: ``` $ make test-heroku-16 ... testCffi ASSERT:Expected </tmp/shunit.FXWeuI/tmp/output.7Vfx/stdout> to contain <ZZZZZZZ> ! 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-3.6.2 -----> Installing pip -----> Installing requirements with pip Collecting cffi (from -r /tmp/testBoLG0/requirements.txt (line 1)) Downloading cffi-1.10.0-cp36-cp36m-manylinux1_x86_64.whl (406kB) Collecting pycparser (from cffi->-r /tmp/testBoLG0/requirements.txt (line 1)) Downloading pycparser-2.18.tar.gz (245kB) Installing collected packages: pycparser, cffi Running setup.py install for pycparser: started Running setup.py install for pycparser: finished with status 'done' Successfully installed cffi-1.10.0 pycparser-2.18 testPylibmc ```
-
Ed Morley authored
* NLTK support: Update test to use multiple corpora So that the incorrect handling of multiple IDs seen in #444 would have been caught. Also switches to some of the smaller corpora, to reduce time spent downloading during tests (see sizes on http://www.nltk.org/nltk_data/). * NLTK support: Fix passing of multiple corpora identifiers As part of fixing the shellcheck warnigns in #438, double quotes had been placed around `$nltk_packages` passed to the `nltk.downloader`, which causes multiple identifiers to be treated as though it were just one identifier that contains spaces. The docs for the shellcheck warning in question recommend using arrays if the intended behaviour really is to split on spaces: https://github.com/koalaman/shellcheck/wiki/SC2086#exceptions As such, `readarray` has been used, which is present in bash >=4. The `[*]` array form is used in the log message, to prevent shellcheck warning SC2145, whereas `[@]` is used when passed to `nltk.downloader` to ensure the array elements are unpacked as required. Note: Both before and after this fix, using anything but unix line endings in `nltk.txt` will also cause breakage.
-
- Aug 31, 2017
-
-
Kenneth Reitz authored
* fixed the bug for pypy-5.8.0 * update changelog Signed-off-by:
Kenneth Reitz <me@kennethreitz.org>
-
Kenneth Reitz authored
* fixed the bug for pypy-5.8.0 * update pipenv support Signed-off-by:
Kenneth Reitz <me@kennethreitz.org>
-
- Aug 28, 2017
-
-
Kenneth Reitz authored
* 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>
-
- Aug 24, 2017
-
-
Kenneth Reitz authored
* fixed the bug for pypy-5.8.0 * changelog entry Signed-off-by:
Kenneth Reitz <me@kennethreitz.org>
-
- Aug 12, 2017
-
-
Samuel Spencer authored
* Allow environment variables during pip install, fixes #416 * shift sub-env command, fix typo * bash check thingy fixed
-
- Aug 10, 2017
-
-
Jeremy Morrell authored
* Remove leading zeros from `WEB_CONCURRENCY` * fix DYNO_RAM (from node buildpack) Signed-off-by:
Kenneth Reitz <me@kennethreitz.org>
-
Ed Morley authored
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.
-
- Aug 08, 2017
-
-
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.
-
- Aug 03, 2017
-
-
Kenneth Reitz authored
* 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>
-
Kenneth Reitz authored
* 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>
-
- Aug 01, 2017
-
-
Johannes Hoppe authored
* 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
-
Kenneth Reitz authored
-
Josh Friend authored
-
- Jul 17, 2017
-
-
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.
-
Kenneth Reitz authored
* pypy3-5.8.0 * updated cpython to 3.6.2 * update README to reflect new Python version
-
Josh Friend authored
-
- Jun 20, 2017
-
-
Kenneth Reitz authored
-
Kenneth Reitz authored
* update default python to 3.6.1 * v110 * nltk python2
-
- Jun 15, 2017
-
-
Kenneth Reitz authored
-
- Jun 14, 2017
-
- Jun 05, 2017
-
-
Kenneth Reitz authored
-
Kenneth Reitz authored
* silently use sp-grep * history * update license
-
Kenneth Reitz authored
-
- Jun 03, 2017
-
-
Kenneth Reitz authored
* python 3.5.3 * v108 * new setuptools version * removed unneeded variable
-
Kenneth Reitz authored
* Revert "Fix pyyaml (#402)" This reverts commit ff949085. * Revert "Don't install packages that could mess packaging up (#397)" This reverts commit 5496c02f.
-
- Jun 02, 2017
-
-
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
-
- May 31, 2017
-
-
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
-
Ed Morley authored
The recent fixes on bob-builder master have now been released.
-
- May 30, 2017
-
-
Kenneth Reitz authored
* updated changelog * remove setuptools sanity check
-
David Lord authored
more accurate than parsing requirements.txt fixes #359
-
- May 26, 2017
-
-
Kenneth Reitz authored
* attempted fix * added a comment * fixes * improved changelog
-
- May 25, 2017
-
-
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).
-
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.
-
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
-
- May 11, 2017
-
-
Kenneth Reitz authored
-
Kaelan Thijs Fouwels authored
-
Kenneth Reitz authored
-
Josh Friend authored
-