Mgallwey/update to python3 - #204
Open
TheDistributor wants to merge 2 commits into
Open
Conversation
Removes the isP2/StandardError/unicode compatibility shims scattered across session.py, crypt.py, encodedsession.py, exception.py, and datatype.py, along with the vendored dbapi20 test suite's Python 2 branches. Declares python_requires>=3.6 in setup.py, drops the ipaddress backport dependency (stdlib since 3.3) and the Python 2 classifiers, and updates README/CONTRIBUTING accordingly. Also trims .pylint-rc of disable entries for Python2-only lint checks that no longer exist in current pylint.
Cython 3.3.0 (the current release) requires Python >= 3.9, so raise the driver's floor to match ahead of adding Cython-accelerated code. This also lets us drop the pytz-based zoneinfo.ZoneInfo fallback that existed only to cover Python < 3.9, since it is now always available from the stdlib.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.