Skip to content

Drop support for EOL Python 3.3#1342

Merged
pganssle merged 4 commits into
pypa:masterfrom
hugovk:rm-3.3
May 24, 2018
Merged

Drop support for EOL Python 3.3#1342
pganssle merged 4 commits into
pypa:masterfrom
hugovk:rm-3.3

Conversation

@hugovk

@hugovk hugovk commented Apr 26, 2018

Copy link
Copy Markdown
Contributor

As suggested in #1339, as it's EOL and Tox no longer supports it.

Also remove redundant code and update other code.

Comment thread setuptools/py31compat.py
@@ -1,17 +1,3 @@
__all__ = ['get_config_vars', 'get_path']

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why drop __all__ here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

get_config_vars and get_path have been removed from py31compat.py because Python 2.7 and 3.4+ can directly from sysconfig import get_config_vars, get_path.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Shouldn't we change this to __all__ = [] then?

@hugovk hugovk Apr 26, 2018

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think it's necessary, if nothing is exposed.

The others don't. For example: https://github.com/pypa/setuptools/blob/master/setuptools/py36compat.py

But happy to add it if you prefer!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it's probably better to be explicit, since if __all__ is not specified, from py31compat.py import * will import everything, but if __all__ is set to [] it will import nothing.

I think it also sends a clearer message that this module provides no public members.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated!

@pganssle

pganssle commented Apr 26, 2018

Copy link
Copy Markdown
Member

I think the diff coverage that is failing is not a problem. The changes seem sane in the uncovered portions, and it's just that it's changing things that aren't tested in the first place.

Per #1339, this should be deferred until the next breaking release.

@ianw ianw mentioned this pull request May 1, 2018
ianw added a commit to ianw/setuptools that referenced this pull request May 1, 2018
pytest-flake8 1.0.1 has a hard dependency on pytest>=3.5 [1], which
does not support python3.3.  Pin it until python3.3 is removed [3].

[1] tholo/pytest-flake8@25bbd3b
[2] https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
[3] pypa#1342
ianw added a commit to ianw/setuptools that referenced this pull request May 1, 2018
pytest-flake8 1.0.1 has a hard dependency on pytest>=3.5 [1], which
does not support python3.3 [2].  Pin it until python3.3 is removed
[3].

[1] tholo/pytest-flake8@25bbd3b
[2] https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
[3] pypa#1342
@ianw ianw mentioned this pull request May 1, 2018
ianw added a commit to ianw/setuptools that referenced this pull request May 1, 2018
pytest-flake8 1.0.1 has a hard dependency on pytest>=3.5 [1], which
does not support python3.3 [2].  Avoid it for python3.3 and below
until python3.3 is removed [3].

[1] tholo/pytest-flake8@25bbd3b
[2] https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
[3] pypa#1342
ianw added a commit to ianw/setuptools that referenced this pull request May 1, 2018
pytest-flake8 1.0.1 has a hard dependency on pytest>=3.5 [1], which
does not support python3.3 [2].  Avoid it for python3.3 and below
until python3.3 is removed [3].

Additionally, ensure we have a recent enough pip in travis ci to
handle multiple requirements entries.

[1] tholo/pytest-flake8@25bbd3b
[2] https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
[3] pypa#1342
ianw added a commit to ianw/setuptools that referenced this pull request May 1, 2018
pytest-flake8 1.0.1 has a hard dependency on pytest>=3.5 [1], which
does not support python3.3 [2].  Avoid it for python3.3 and below
until python3.3 is removed [3].

Additionally, ensure we have a recent enough pip in travis ci to
handle multiple requirements entries.

[1] tholo/pytest-flake8@25bbd3b
[2] https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
[3] pypa#1342
@benoit-pierre

Copy link
Copy Markdown
Member

It looks like the wheel package has dropped support for it too.

@pganssle pganssle mentioned this pull request May 17, 2018
1 task
@pganssle

Copy link
Copy Markdown
Member

@jaraco @benoit-pierre Now that wheel is starting to break the Travis build, it's probably time to land this.

Do we have any breaking changes already in master? If not, should we cut a minor release now and then land this PR?

@pganssle

Copy link
Copy Markdown
Member

It's been a few days since the last release, so I think we can merge this now.

CC: @jmbowman

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants