~cjwatson/launchpadlib:main

Last commit made on 2023-04-19
Get this branch:
git clone -b main https://git.launchpad.net/~cjwatson/launchpadlib
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Branch information

Name:
main
Repository:
lp:~cjwatson/launchpadlib

Recent commits

d28016c... by Colin Watson

.launchpad.yaml: Update snap property syntax

The list-of-names format is now deprecated.

Succeeded
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] tests:0 (build)
12 of 2 results
e1c429f... by Colin Watson

Release launchpadlib 1.11.0

ce8cee3... by Colin Watson

Fix handling of methods with no response representation

Some methods have no response representation defined in their WADL;
these return plain data rather than an entry or a collection. Don't
attempt to wrap the result of such fake methods in a `FakeResource`.

Succeeded
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] tests:0 (build)
12 of 2 results
a16d508... by Colin Watson

Allow sample data with links to other entries/collections

`FakeLaunchpad` allowed setting sample data with plain attributes of
entries, but it wasn't quite smart enough to support sample entries that
link to other entries or collections, which is often necessary when
testing `launchpadlib` clients in practice. It can handle this now.

Succeeded
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] tests:0 (build)
12 of 2 results
abef23b... by Colin Watson

Support fake methods that return None

`FakeLaunchpad` is useful for writing test suites for packages that use
`launchpadlib`. When trying to do so, I noticed a problem: attempting
to register a fake method that returns None caused a crash. Real
Launchpad webservice methods may return None, so fix this.

Succeeded
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] tests:0 (build)
12 of 2 results
3529d9b... by Colin Watson

Fix pytest discovery

We were mistakenly not running the tests in
`launchpadlib.testing.tests.test_launchpad`.

b1317ca... by Jürgen Gmach

Remove obsolete test discovery helpers

d813791... by Colin Watson

Add NEWS entry

Also bump minor version since this could break some users.

de8165d... by Jelmer Vernooij

Make keyring an extra.

c1ee17c... by Jürgen Gmach

Back to development 1.10.19