~jugmac00/lazr.restful:fix-typos

Last commit made on 2022-01-07
Get this branch:
git clone -b fix-typos https://git.launchpad.net/~jugmac00/lazr.restful
Only Jürgen Gmach can upload to this branch. If you are Jürgen Gmach please log in for upload directions.

Branch merges

Branch information

Name:
fix-typos
Repository:
lp:~jugmac00/lazr.restful

Recent commits

072cd83... by Jürgen Gmach

Fix typos

067f6c6... by Colin Watson

Remove relative import hack from lazr.restful.frameworks.django

It's no longer needed on Python 3, since that always uses absolute
imports.

9086d70... by Colin Watson

Remove uses of six.moves

29a34f1... by Colin Watson

Remove some Python-2-only code and dependencies

9a607fd... by Colin Watson

Remove old class advisors

The deprecated `export_as_webservice_entry` and
`export_as_webservice_collection` class advisors only worked on Python
2, and were already replaced by `@exported_as_webservice_entry` and
`@exported_as_webservice_collection` for Python 3.

This doesn't require a new major version, because we declare
`python_requires=">=3.5"` and so pip on Python 2 won't upgrade to this
version.

6f588c2... by Colin Watson

Avoid smartquote API break

c9f9979... by Colin Watson

Apply pyupgrade --py3-plus

0cd2843... by Colin Watson

Drop Python 2 support

This just updates metadata. There's a lot of code to update or remove,
but I'll do that separately, allowing pyupgrade to do the bulk of the
work.

080e4d1... by Colin Watson

Use rST include directive rather than symlinks

Symlinks in the tree seem to cause odd problems in some environments
(tox's pip stage fails with "Operation not supported" for Python 3.5
with pyenv on Ubuntu 22.04). The `include` directive is equivalent with
fewer problems.

23ec626... by Colin Watson

Fix ErrorsTestCase.test_missing_adapter

It had a number of problems, starting with a missing import, all of
which were masked by what appears to have been a typo in the code that
checked the value of the exception raised.