New issue 214: How can I install git dependencies even though a package 
installs an older version?
https://bitbucket.org/hpk42/tox/issue/214/how-can-i-install-git-dependencies-even

thiefmaster:

Right now I'm using this terrible tox.ini:

```
[tox]
envlist = {py27,py33,py34}-{release,devel}

[testenv]
deps =
    pytest
    pytest-cov
    release: flask
    release: jinja2
commands =
    devel: pip uninstall -y flask
    devel: pip install git+git://github.com/mitsuhiko/flask.git
    devel: pip uninstall -y jinja2
    devel: pip install git+git://github.com/mitsuhiko/jinja2.git
    py.test
```

However, I'd expect it to work with this config:

```
[tox]
envlist = {py27,py33,py34}-{release,devel}

[testenv]
deps =
    pytest
    pytest-cov
    release: jinja2
    release: flask
    devel: git+git://github.com/mitsuhiko/jinja2.git
    devel: git+git://github.com/mitsuhiko/flask.git
commands = py.test
```

My package's setup.py contains `'Flask>=0.7'` in `install_requires` and Flask 
requires `Jinja2>=2.4`. However, with the second tox.ini I always end up with 
the latest released Jinja2 from PyPi instead of the dev version from git.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to