Skip to content

Remove support for Python 2.6#27256

Merged
tgamblin merged 12 commits intospack:developfrom
alalazo:maintainers/deprecate_python_26
Nov 23, 2021
Merged

Remove support for Python 2.6#27256
tgamblin merged 12 commits intospack:developfrom
alalazo:maintainers/deprecate_python_26

Conversation

@alalazo
Copy link
Copy Markdown
Member

@alalazo alalazo commented Nov 7, 2021

Modifications:

  • Removed centos:6 unit test, adjusted vermin checks
  • Removed backport of collections.OrderedDict
  • Removed backport of functools.total_ordering
  • Removed Python 2.6 specific skip markers in unit tests
  • Fixed a few minor Python 2.6 related TODOs in code

Updating the vendored dependencies will be done in separate PRs

@adamjstewart
Copy link
Copy Markdown
Member

We can also remove argparse

@alalazo
Copy link
Copy Markdown
Member Author

alalazo commented Nov 7, 2021

I'm working through the dependencies. I think argparse needs to stay for Python 3.X compatibility.

@alalazo alalazo force-pushed the maintainers/deprecate_python_26 branch from 2dec531 to 0fecade Compare November 7, 2021 18:28
@alalazo
Copy link
Copy Markdown
Member Author

alalazo commented Nov 7, 2021

Since updating vendored dependencies is resulting in big changesets that might obfuscate the changes done in Core Spack, I'll submit separate PRs for those.

@alalazo alalazo force-pushed the maintainers/deprecate_python_26 branch from 66586c5 to 3e42cb7 Compare November 18, 2021 17:14
@adamjstewart
Copy link
Copy Markdown
Member

Can you update the Getting Started docs too?

@alalazo
Copy link
Copy Markdown
Member Author

alalazo commented Nov 19, 2021

@adamjstewart Should be done

@spackbot-app spackbot-app bot added the documentation Improvements or additions to documentation label Nov 22, 2021
@alalazo alalazo requested a review from adamjstewart November 22, 2021 09:39
Copy link
Copy Markdown
Member

@tgamblin tgamblin left a comment

Choose a reason for hiding this comment

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

One minor request in bin/spack

----------

* Homepage: https://pypi.org/project/ordereddict/
* Usage: A drop-in substitute for Py2.7's new collections.OrderedDict
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.

"new". lol.

@alalazo
Copy link
Copy Markdown
Member Author

alalazo commented Nov 23, 2021

@tgamblin @adamjstewart Ready for another review

@tgamblin tgamblin merged commit fa7189b into spack:develop Nov 23, 2021
@alalazo alalazo deleted the maintainers/deprecate_python_26 branch November 23, 2021 17:09
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