Synchronize your virtualenv quickly and exactly.
Clone or download
Latest commit a39afbf Oct 19, 2018

README.md

venv-update

Quickly and exactly synchronize a large python project's virtualenv with its requirements.

PyPI version Travis CI Coverage Documentation

Please see http://venv-update.readthedocs.org/en/master/ for the complete documentation.

How to Contribute

  1. Fork this repository on github: https://help.github.com/articles/fork-a-repo/

  2. Clone it: https://help.github.com/articles/cloning-a-repository/

  3. Make a feature branch for your changes:

     git remote add upstream https://github.com/Yelp/venv-update.git
     git fetch upstream
     git checkout upstream/master -b my-feature-branch
    
  4. Make sure the test suite works before you start:

     source .activate.sh
     make test
    
  5. Commit patches: http://gitref.org/basic/

  6. Push to github: git pull && git push origin

  7. Send a pull request: https://help.github.com/articles/creating-a-pull-request/

Running tests:

Run a particular test:

py.test tests/functional/simple_test.py::test_downgrade

See all output from a test:

py.test -s -k downgrade

Check coverage of a single test:

./test tests/functional/simple_test.py::test_downgrade