Skip to content
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

Remove all Python 2.x items #262

Open
5 of 7 tasks
mperrin opened this issue Aug 16, 2018 · 2 comments
Open
5 of 7 tasks

Remove all Python 2.x items #262

mperrin opened this issue Aug 16, 2018 · 2 comments

Comments

@mperrin
Copy link
Owner

mperrin commented Aug 16, 2018

Borrowing from the to-do list at astropy/astropy#6234

  • Remove __future__ imports
  • Make sure we remove the unicode_literals text fixture
  • Search for and remove any 'six' imports and in some cases replace by the appropriate Python 3 import.
  • Search for and remove any if six.PY2 blocks and also search for sys.version_info or any usage of minversion or Looseversion.
  • Update CI configuration to not run tests on Python 2
  • Search for comments that mention Python (either 2 or 3 or none of them) to see if anything can be updated
  • Remove python2 related info from the documentation
@mperrin
Copy link
Owner Author

mperrin commented Aug 16, 2018

also

  • remove the back ported version of lru_cache in the vendor directory.

@mperrin
Copy link
Owner Author

mperrin commented Aug 16, 2018

and update the documentation and setup config to enforce a minimum Python version of 3.4.

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

No branches or pull requests

1 participant