Django-rest-framework: All Python 3 builds failing on Travis.

Created on 28 Mar 2019  路  7Comments  路  Source: encode/django-rest-framework

Since this build

  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall
    res = hook_impl.function(*args)
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/tox_venv/hooks.py", line 99, in tox_testenv_create
    venv.session.make_emptydir(venv.path)
AttributeError: 'VirtualEnv' object has no attribute 'session'

<poem>Sigh. CI.</poem>

Bug

Most helpful comment

Quick fix FTW

All 7 comments

A new version of tox-venv presumably?
We could pin tox and tox-venv in the travis file.

I'm currently working on an update to tox-venv. The quick fix is to pin tox==3.7.0.

Sounds legit.

Quick fix FTW

Latest build passed... (will have a look later.)

Closing as this should be fixed now. Released tox-venv v0.4.0

btw, we could actually just remove the tox-venv dependency. There isn't any benefit in using it here, since we don't have a warnings build (a la django-filter).

Was this page helpful?
0 / 5 - 0 ratings