Skip to content

Remove all checks for python version < 3 as we are dropping python2#201

Merged
aaronayres35 merged 2 commits into
masterfrom
python2-checks
Nov 11, 2020
Merged

Remove all checks for python version < 3 as we are dropping python2#201
aaronayres35 merged 2 commits into
masterfrom
python2-checks

Conversation

@aaronayres35
Copy link
Copy Markdown
Contributor

@aaronayres35 aaronayres35 commented Nov 10, 2020

related to #120

Since #190 has been merged and we intend to drop python 2 I believe it is fine to remove these checks now. The changes in this PR all occur in the persistence sub package which right now, AFAIK, we plan on keeping.

Additionally see here:

if sys.version_info[0] > 2:
raise ImportError("This module does not work with Python 3.x")

I left this for now as there is already a relevant issue open: #57

Checklist
- [ ] Add a news fragment if this PR is news-worthy for end users. (see docs/releases/README.rst)

@kitchoi kitchoi self-requested a review November 11, 2020 11:13
Copy link
Copy Markdown
Contributor

@kitchoi kitchoi left a comment

Choose a reason for hiding this comment

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

LGTM

(I am assuming this is not news-worthy for the end-users so there are no need for a news fragment)

Comment thread apptools/persistence/state_pickler.py Outdated
@aaronayres35 aaronayres35 merged commit 6a9c507 into master Nov 11, 2020
@aaronayres35 aaronayres35 deleted the python2-checks branch November 11, 2020 14:21
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.

3 participants