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

Fix imports of future.utils #6213

merged 1 commit into from Jul 23, 2018


None yet
2 participants
Copy link

Eric-Arellano commented Jul 22, 2018

In Py2, it's acceptable to directly refer to members of future.utils, e.g. if future.utils.PY2. In Py3, this fails for some reason, and you must instead use from future.utils import x.

Part of #6062

@jsirois jsirois merged commit 6df2e16 into pantsbuild:master Jul 23, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@Eric-Arellano Eric-Arellano deleted the Eric-Arellano:py3-fix-future-utils branch Jul 25, 2018

CMLivingston pushed a commit to CMLivingston/pants that referenced this pull request Aug 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment