launchpadlib:main

Last commit made on 2023-06-29
Get this branch:
git clone -b main https://git.launchpad.net/launchpadlib
Members of LAZR Developers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
main
Repository:
lp:launchpadlib

Recent commits

e436fed... by Jürgen Gmach

Add configuration file for Read the Docs

We need to align the Python version to the one used in
`.launchpad.yaml`, so CI works.

Succeeded
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] tests:0 (build)
12 of 2 results
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
Merged branch ~cjwatson/launchpadlib:lpci-snap-syntax
e1c429f... by Colin Watson

Release launchpadlib 1.11.0

Succeeded
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] tests:0 (build)
12 of 2 results
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
Merged branch ~cjwatson/launchpadlib:fakelaunchpad-plain-methods
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
Merged branch ~cjwatson/launchpadlib:fakelaunchpad-better-resource-creation
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
Merged branch ~cjwatson/launchpadlib:fakelaunchpad-methods-returning-None
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

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

Add NEWS entry

Also bump minor version since this could break some users.

Succeeded
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] tests:0 (build)
12 of 2 results
de8165d... by Jelmer Vernooij

Make keyring an extra.