Add support for Python 3.9.

Review Request #11271 — Created Nov. 9, 2020 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

This updates a few pieces of code to fix up compatibility with Python
3.9. This consisted of a deprecated method use
(HTMLParser.unescape()) and some code that passed a byte string into
urlopen().

Since Python 3 support is now official, the package-level checks to
enable it only if the $RB_PY3_HAS_NO_OFFICIAL_SUPPORT variable is set
have been removed, and package metadata has been updated appropriately.

Unit tests pass for all versions of Python.

Verified that I could build packages on Python 2 and 3.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add support for Python 3.9.
This updates a few pieces of code to fix up compatibility with Python 3.9. This consisted of a deprecated method use (`HTMLParser.unescape()`) and some code that passed a byte string into `urlopen()`. Since Python 3 support is now official, the package-level checks to enable it only if the `$RB_PY3_HAS_NO_OFFICIAL_SUPPORT` variable is set have been removed, and package metadata has been updated appropriately.
9801fdbf97fa7d9c3b549551ef5f9dcbbe91cfa5 Christian Hammond
setup.py
reviewboard/dependencies.py
reviewboard/notifications/webhooks.py
reviewboard/reviews/fields.py
Loading...