lazr.restfulclient:main

Last commit made on 2024-01-05
Get this branch:
git clone -b main https://git.launchpad.net/lazr.restfulclient
Members of LAZR Developers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
main
Repository:
lp:lazr.restfulclient

Recent commits

f8336ae... by Simone Pelosi

Release lazr.restfulclient 0.14.6

285acf5... by Mateus Rodrigues de Morais

Test for read_file before falling back to readfp using hasattr.

Since the fallback parameter in getattr() isn't lazily loaded, we get
an AttributeError when readfp() isn't available (e.g. Python 3.12).

With hasattr(), we are able to check for the presence of read_file().
If not there, we safely fallback to readfp() instead.

082d938... by Jürgen Gmach

Add configuration file for Read the Docs

40cdf45... by Colin Watson

Update pre-commit hooks

Includes fix for https://github.com/PyCQA/isort/issues/2077.

Merged branch ~cjwatson/lazr.restfulclient:pre-commit-update
e69a2a1... by Colin Watson

Release lazr.restfulclient 0.14.5

de7d78b... by Colin Watson

Fix black pre-commit hook

We can't upgrade to black 22.3.0 since we still need to support Python 2
syntax, but this works around https://github.com/psf/black/issues/2964
in a different way.

f5e7daa... by Colin Watson

Fix HostedFile.open(mode="w") on Python 3

This failed because `value` is used to construct a `BytesIO`, so must be
bytes. Not tested here, but it'll be tested via the launchpadlib
doctests that are run as part of Launchpad once we get those working on
Python 3.

Merged branch ~cjwatson/lazr.restfulclient:py3-hostedfile-writeable
0b59e82... by Colin Watson

Run docs environment with python3

Merged branch ~cjwatson/lazr.restfulclient:rst-include
021247a... by Colin Watson

Use rST include directive rather than symlinks

7f61207... by Colin Watson

Apply pyupgrade

Merged branch ~cjwatson/lazr.restfulclient:pyupgrade