-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make test-unit failing with ImportError: cannot import name 'ensure_text' #2128
Comments
It looks like something terrible is happening with |
Perhaps we need to add a requirement somewhere to ensure that |
That's one path. I'm also looking at locking down tox/virtualenv versions in the dockerfile to a low enough version that everything plays well with ubuntu's |
Linked from that issue is a PR making a new tox release that pins six as I suggested. So perhaps bumping up to |
It's a bit more involved than that, but yeah - I've got a fix going locally that seems adequate. |
…in-stuff fix a bunch of issues caused by virtualenv 20, tox 3.14, six, and ubuntu (#2128)
Fixed by #2135. Needed to clear my cached images and rebuild from scratch. |
Describe the bug
I'm trying to run unit tests locally as part of my work on #2120. I'm hitting the error shown below.
Steps To Reproduce
Create an empty
test.env
and runmake test-unit
.Expected behavior
I expect the unit tests to run successfully on the latest checkout of
dev/barbara-gittings
.Screenshots and log output
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using: macOS
The output of
python --version
: Python 3.7.6The text was updated successfully, but these errors were encountered: