Skip to content

TST: use nox for testing #160

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

Merged
merged 11 commits into from
Apr 7, 2018
Merged

TST: use nox for testing #160

merged 11 commits into from
Apr 7, 2018

Conversation

tswast
Copy link
Collaborator

@tswast tswast commented Apr 6, 2018

I couldn't actually reproduce the test failures introduced in #158 locally. My hope is that by using nox (like tox, but configurable via Python code) the more isolated environments will fix whatever error with mocks we're getting.

A step towards #52.

@tswast tswast requested review from parthea and max-sixty April 6, 2018 21:28
nox.py Outdated
import nox


PANDAS_PRE_WHEELS='https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (103 > 79 characters)

nox.py Outdated
import nox


PANDAS_PRE_WHEELS = 'https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (103 > 79 characters)

tswast added 2 commits April 6, 2018 16:33
The reason is that nox isn't playing nice with conda. "Could not find
_remove_dead_weakref"
@tswast tswast force-pushed the mock branch 2 times, most recently from 029b1f2 to 81306a7 Compare April 6, 2018 23:53
@tswast
Copy link
Collaborator Author

tswast commented Apr 7, 2018

@maxim-lian I think I finally fixed the busted tests. 😤 https://travis-ci.org/pydata/pandas-gbq/builds/363360912 Full integration tests still running at https://travis-ci.org/tswast/pandas-gbq/builds/363360902

I think the issue before was that there is some conflict between installing packages via pip and installing packages via conda. Somehow a bad version of the mock module ended up getting installed.

The new setup uses nox (similar to tox) for pip-based installs and keeps the previous logic for conda-based installs.

@tswast tswast merged commit e09fc11 into googleapis:master Apr 7, 2018
@tswast tswast deleted the mock branch April 7, 2018 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants