Drop support for Python 2

Description

None

Environment

None

Activity

Show:
Kenneth Daily
February 1, 2019, 11:24 PM

I have not validated the technical issue yet, but wanted to raise these points.

We need a specific date, announced ASAP, when this will be released (Q1 2019 is not sufficient).

Readme still says:

“The Synapse engineering team will step down Python 2.7 support to only bug fixes, and require Python 3 on new feature releases. Starting with Synapse Python client version 2.0 (will be released in Q1 2019), Synapse Python client will require Python 3.”

Does not have information on how to get the last version of the Python client that does support Python 2.

We need to directly contact via email people who use the clients using our analytics/data warehouse capabilities, as well as through a Synapse newsletter to all users.

We need to also contact high priority collaborators (Gates, for one) that rely on the Python client.

Kimyen Truong
February 1, 2019, 11:30 PM
Edited

Does not have information on how to get the last version of the Python client that does support Python 2.

pip will automatically figure this out for you:

For example, you published the Requires-Python: “>=2.7” as version 1.0.0 of your package.

If you were then to update the version string to “>=3.5”, and publish a new version 2.0.0 of your package, any users running Pip 9.0+ from version 2.7 will have version 1.0.0 of the package installed, and any >=3.5 users will receive version 2.0.0.

Kenneth Daily
February 2, 2019, 12:07 AM

That’s good to know, thanks! But it does presuppose you are using pip. If not, we should still document explicitly in the README which version to install so if someone gets the repository directly from GitHub, they know which version to use. pip on shared systems can be very fragile, I sometimes will clone and do ‘python setup.py install' to get around that.

Kimyen Truong
February 2, 2019, 12:37 AM

Good point! I will add to README and installation instruction on which are latest version for each Python version.

Thomas Yu
March 19, 2020, 2:25 AM
Edited

This is what I did

Looks good. Readme looks good.

Assignee

Bruce Hoff

Reporter

Kimyen Truong

Labels

None

Validator

Thomas Yu

Development Area

None

Release Version History

None

Sprint

None

Fix versions

Priority

Major
Configure