venv-update

Synchronize your virtualenv quickly and exactly.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

169

Maintenance

Last Commit

2mos ago

Contributors

22

Package

Dependencies

3

License

MIT

Categories

Readme

venv-update

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

PyPI version 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

Yelpers

To develop and run tests suites on a devbox, make sure to:

  1. Python 3.6.0 on a xenial devbox breaks coverage. Use a bionic devbox instead.

  2. Override pip.conf to use public pypi. Don't forget to delete it after you're done!

$ cat ~/.pip/pip.conf
[global]
index-url = https://pypi.org/simple/
  1. sudo apt-get install pypy-dev so TOXENV=pypy doesn't fail spectacularly

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100