Philip Thompson created CASSANDRA-14249:
-------------------------------------------
Summary: Dtests aren't working on python3.5
Key: CASSANDRA-14249
URL: https://issues.apache.org/jira/browse/CASSANDRA-14249
Project: Cassandra
Issue Type: Bug
Components: Testing
Reporter: Philip Thompson
Assignee: Ariel Weisberg
I'm running the default python3.5 on a fresh xenial box (so 3.5.1, I think). I
install a python3.5 virtualenv with `python3 -m venv venv`. From in that
virtualenv, I install the dtest requirements.txt, then I run
{code}
pytest --cassandra-dir=\$CASSANDRA_DIR --use-vnodes
--skip-resource-intensive-tests --verbose
{code}
This gives me the following error:
{code:java}
00:06:47.056 File
"/home/user/venv/lib/python3.5/site-packages/_pytest/config.py", line 329, in
_getconftestmodules
00:06:47.056 return self._path2confmods[path]
00:06:47.056 KeyError: local('/home/user/cassandra-dtest')
00:06:47.056
00:06:47.056 During handling of the above exception, another exception occurred:
00:06:47.056 Traceback (most recent call last):
00:06:47.056 File
"/home/user/venv/lib/python3.5/site-packages/_pytest/config.py", line 360, in
_importconftest
00:06:47.056 return self._conftestpath2mod[conftestpath]
00:06:47.056 KeyError: local('/home/user/cassandra-dtest/conftest.py')
{code}
This same process works flawlessly on python 3.6.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]