Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Remove python 2.7 support #311

Merged
merged 4 commits into from
Mar 22, 2018
Merged

Remove python 2.7 support #311

merged 4 commits into from
Mar 22, 2018

Conversation

hayfield
Copy link
Contributor

@hayfield hayfield commented Mar 22, 2018

The reasons for removal are detailed in #301
The tests no longer pass when run with Python 2.7.

Further work could be undertaken to utilise a greater range of Python 3 features. This commit merely removes attempts to test at 2.7, as well as the shims to enable this.

The reasons for removal are detailed in #301
The tests no longer pass when run with Python 2.7.

Further work could be undertaken to utilise a greater range of Python 3 features. This commit merely removes attempts to test at 2.7, as well as the shims to enable this.
@hayfield hayfield added code-features Makes use of more capabilities in Python, or enables features such as iteration on a class. tests Relating to tests and testing. repo-management Changes relating to management of the repository. labels Mar 22, 2018
@hayfield hayfield added the complete A PR that is in a state that is ready for review. label Mar 22, 2018
@hayfield hayfield requested a review from a team March 22, 2018 16:26
Copy link
Contributor

@allthatilk allthatilk left a comment

Choose a reason for hiding this comment

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

🥇

@andylolz
Copy link
Contributor

I ❤️ python 3.

But doesn’t all (?) current IATI python code use python 2? Won’t this change pose a problem for using pyIATI internally?

@allthatilk
Copy link
Contributor

We've realised that:

  1. We'll have to refactor all tools to use pyIATI anyway so we might as well port to Python3
  2. Supporting Python2 is very cumbersome and no longer worth doing
  3. Supporting Python2 is probably not a good idea as it's EOL soonish.

(Also I've been questioning Python2 support for a while so this is Hayden's leaving gift to me xD)

@allthatilk allthatilk merged commit f334021 into dev Mar 22, 2018
@allthatilk allthatilk deleted the remove-python-2.7-support branch March 22, 2018 17:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
code-features Makes use of more capabilities in Python, or enables features such as iteration on a class. complete A PR that is in a state that is ready for review. repo-management Changes relating to management of the repository. tests Relating to tests and testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants