Skip to content

Fix more issues with setuptools externally depending on six #190

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

Closed

Conversation

leorochael
Copy link

Also, fix some flake8 complains in tox.

Expected 2 linebreakes at toplevel.
Puts the current six checkout ahead of the PYTHONPATH for tests, else
tests end up running six code installed in the tox environment.

See:
benjaminp#182
Technically, six is not installed yet when running `setup.py`.

We could end up importing six from somewhere else on `sys.path`.

Fixes:
benjaminp#188
@@ -6,6 +6,8 @@ indexserver=

[testenv]
deps= pytest
setenv=
PYTHONPATH=.
Copy link
Owner

Choose a reason for hiding this comment

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

Please add a comment about why this is here.

@@ -484,6 +485,7 @@ class Module_six_moves_urllib(types.ModuleType):
def __dir__(self):
return ['parse', 'error', 'request', 'response', 'robotparser']


Copy link
Owner

Choose a reason for hiding this comment

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

Please remove these superfluous whitespace changes.

@benjaminp
Copy link
Owner

I'm assuming we don't need this, since the setuptools devendorization was abandoned.

@benjaminp benjaminp closed this Oct 25, 2019
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