Debian Codegraph @

PKG-INFO

raw
1 Metadata-Version: 2.2
2 Name: launchpadlib
3 Version: 2.1.0
4 Summary: Script Launchpad through its web services interfaces. Officially supported.
5 Home-page: https://help.launchpad.net/API/launchpadlib
6 Download-URL: https://launchpad.net/launchpadlib/+download
7 Author: The Launchpad developers
8 Author-email: [email protected]
9 Maintainer: LAZR Developers
10 Maintainer-email: [email protected]
11 License: LGPL v3
12 Project-URL: Source, https://code.launchpad.net/launchpadlib
13 Project-URL: Issue Tracker, https://bugs.launchpad.net/launchpadlib
14 Project-URL: Documentation, https://launchpadlib.readthedocs.io/en/latest/
15 Classifier: Development Status :: 5 - Production/Stable
16 Classifier: Intended Audience :: Developers
17 Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
18 Classifier: Operating System :: OS Independent
19 Classifier: Programming Language :: Python
20 Classifier: Programming Language :: Python :: 3
21 Classifier: Programming Language :: Python :: 3.8
22 Classifier: Programming Language :: Python :: 3.9
23 Classifier: Programming Language :: Python :: 3.10
24 Classifier: Programming Language :: Python :: 3.11
25 Classifier: Programming Language :: Python :: 3.12
26 Classifier: Programming Language :: Python :: 3.13
27 Requires-Python: >=3.8
28 License-File: COPYING.txt
29 Requires-Dist: httplib2
30 Requires-Dist: lazr.restfulclient>=0.14.2
31 Requires-Dist: lazr.uri
32 Provides-Extra: keyring
33 Requires-Dist: keyring; extra == "keyring"
34 Provides-Extra: docs
35 Requires-Dist: Sphinx; extra == "docs"
36 Provides-Extra: testing
37 Requires-Dist: testresources; extra == "testing"
38 Requires-Dist: wadllib; extra == "testing"
39 Provides-Extra: test
40 Requires-Dist: coverage; extra == "test"
41 Requires-Dist: pytest; extra == "test"
42 Dynamic: author
43 Dynamic: author-email
44 Dynamic: classifier
45 Dynamic: description
46 Dynamic: download-url
47 Dynamic: home-page
48 Dynamic: license
49 Dynamic: maintainer
50 Dynamic: maintainer-email
51 Dynamic: project-url
52 Dynamic: provides-extra
53 Dynamic: requires-dist
54 Dynamic: requires-python
55 Dynamic: summary
56
57 ..
58 This file is part of launchpadlib.
59
60 launchpadlib is free software: you can redistribute it and/or modify it
61 under the terms of the GNU Lesser General Public License as published by
62 the Free Software Foundation, version 3 of the License.
63
64 launchpadlib is distributed in the hope that it will be useful, but
65 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
66 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
67 License for more details.
68
69 You should have received a copy of the GNU Lesser General Public License
70 along with launchpadlib. If not, see <http://www.gnu.org/licenses/>.
71
72 launchpadlib
73 ************
74
75 See https://help.launchpad.net/API/launchpadlib .
76
77
78 =====================
79 NEWS for launchpadlib
80 =====================
81
82 2.1.0 (2025-01-15)
83 ==================
84 - Add support for Python 3.12 and 3.13.
85 - Drop support for Python 3.5, 3.6 and 3.7.
86 - Update pre-commit hooks to latest available version.
87 - Update launchpadlib LPCI pipeline from Focal (Python 3.8) to Jammy (Python 3.10).
88 - Remove importlib-metadata dependency for Python<3.8.
89
90 2.0.0 (2024-07-19)
91 ==================
92 - Remove support for Python 2.
93
94 1.11.0 (2023-01-09)
95 ===================
96 - Move the ``keyring`` dependency to a new ``keyring`` extra.
97 - Support setting fake methods that return None on instances of
98 ``launchpadlib.testing.launchpad.FakeLaunchpad``.
99 - Allow setting ``FakeLaunchpad`` sample data with attributes that are links
100 to other entries or collections.
101 - Fix handling of methods with no response representation in
102 ``FakeLaunchpad``.
103
104 1.10.18 (2022-10-28)
105 ====================
106 - Declare support for Python 3.11.
107
108 1.10.17 (2022-10-15)
109 ====================
110 - Generate coverage report.
111 - Use ``pytest`` as test runner.
112 - Fix doctests for Python 3.
113
114 1.10.16 (2022-01-21)
115 ====================
116 - Add ``pre-commit`` configuration.
117 - Remove some obsolete scripts from ``contrib/``.
118 - Apply ``black`` code formatter.
119 - Publish documentation on Read the Docs.
120 - Remove remnants of ``simplejson`` in favour of ``json``.
121 - Apply inclusive naming via the ``woke`` ``pre-commit`` hook.
122 - Optionally get credentials file from ``LP_CREDENTIALS_FILE`` environment
123 variable. [bug=737473]
124
125 1.10.15.1 (2021-10-27)
126 ======================
127 - Re-release without stray files in sdist.
128
129 1.10.15 (2021-10-27)
130 ====================
131 - Move dependencies of launchpadlib.testing to a new ``testing`` extra.
132 [bug=1019700]
133 - Stop excluding MANIFEST.in from the sdist.
134 - Declare support for Python 3.9 and 3.10.
135 - Move code hosting to git (https://code.launchpad.net/launchpadlib).
136
137 1.10.14 (2021-09-13)
138 ====================
139 - Adjust versioning strategy to avoid importing pkg_resources, which is slow
140 in large environments.
141
142 1.10.13 (2020-04-19)
143 ====================
144 - Fix test runs under sudo.
145
146 1.10.12 (2020-04-17)
147 ====================
148 - Postpone keyring.errors import in the same way that we postpone importing
149 keyring itself.
150
151 1.10.11 (2020-04-14)
152 ====================
153 - Don't store credentials or open a browser window when running under sudo.
154 [bug=1825014,1862948]
155 - Fall back to in-memory credentials store if no keyring backend is
156 available. [bug=1864204]
157
158 1.10.10 (2020-02-04)
159 ====================
160 - Fix AccessToken.from_string crash on Python 3.8. [bug=1861873]
161
162 1.10.9 (2019-11-28)
163 ===================
164 - Explicitly install version.txt; launchpadlib requires it.
165
166 1.10.8 (2019-11-26)
167 ===================
168 - Squash a deprecation warning on Python >= 3.7 in
169 launchpadlib.testing.launchpad.
170 - Switch from buildout to tox.
171 - Weaken hosted-files test slightly to avoid problems with zope.publisher >=
172 4.2.2.
173
174 1.10.7 (2019-05-22)
175 ===================
176 - Change 'dev' URLs from launchpad.dev to launchpad.test.
177
178 1.10.6 (2018-03-08)
179 ===================
180 - Fix saving of credentials in python3 with gnome-keyring. [bug=1685962]
181
182 1.10.5 (2017-02-02)
183 ===================
184 - Fix AccessToken.from_string crash on Python 3. [bug=1471927]
185 - Fix fallback if authorizing a token with a browser raises webbrowser.Error.
186 - Stop introduction.txt doctest from writing to $HOME.
187
188 1.10.4 (2016-07-12)
189 ===================
190 - Fix _bad_oauth_token crash on Python 3. [bug=1471894]
191 - Time out make_end_user_authorize_token after 15 minutes.
192 - Ignore PendingDeprecationWarning from lazr.restfulclient. [bug=1473577]
193 - Ask forgiveness rather than permission when creating cache directories.
194 - Fix browser token authorization on OS X. [bug=1516080]
195
196 1.10.3 (2014-12-05)
197 ===================
198 - Port to Python3.
199 - Detect proxies from the environment by default.
200
201 1.10.2 (2012-07-05)
202 ===================
203 - Typo in the doctest fix, discovered when trying to integrate with launchpad
204 itself. [bug=1020667]
205
206 1.10.1 (2012-07-04)
207 ===================
208 - Fix a doctest in introduction.txt so that the test suite runs with
209 python-2.7 (note the doctests only run when running integrated with
210 launchpad's test suite itself). [bug=1020667]
211
212 1.10.0 (2012-06-19)
213 ===================
214 - Add environment variable, LP_DISABLE_SSL_CERTIFICATE_VALIDATION, to
215 disable SSL certificate checks. Most useful when testing against
216 development servers.
217
218 1.9.12 (2011-12-05)
219 ===================
220 - Move keyring base64 encoding to KeyringCredential and be more
221 defensive about decoding. [bug=900307]
222
223 1.9.11 (2011-11-21)
224 ===================
225 - 1.9.10 was a bad release due to incomplete NEWS entries.
226
227 - Add fake Launchpad web service for unit test.
228
229 - Improve HACKING documentation.
230
231 - Improve launchpadlib directory discovery on Windows.
232
233 - Added script to delete spurious bugtasks or split a bugtask from a bug.
234
235 - Properly handle Unicode passwords if returned by the keyring.
236
237 - Base 64 encode serialized credentials before putting in keyring/wallet.
238
239 1.9.10 (2011-11-21)
240 ===================
241 - Base 64 encode serialized credentials before putting in keyring/wallet.
242
243 1.9.9 (2011-07-27)
244 ==================
245
246 - Fix a failing test for lazr.restfulclient 0.12.0.
247
248 1.9.8 (2011-02-28)
249 ==================
250
251 - Detect the error Launchpad sends when it doesn't recognize an access
252 token, and get a new token.
253
254 1.9.7 (2011-02-15)
255 ==================
256
257 - Slightly tweaked the behavior of EDGE_SERVICE_ROOT, and improved tests.
258
259 1.9.6 (2011-02-14)
260 ==================
261
262 - Added EDGE_SERVICE_ROOT and the 'edge' alias back, though they both
263 operate on production behind the scenes. Using the 'edge' alias will
264 cause a deprecation warning.
265
266 1.9.5 (2011-02-08)
267 ==================
268
269 - Fixed a bug that prevented the deprecated get_token_and_login code
270 from working, and that required that users of get_token_and_login
271 get a new token on every usage.
272
273 1.9.4 (2011-01-18)
274 ==================
275
276 - Removed references to the 'edge' service root, which is being phased out.
277
278 - Fixed a minor bug in the upload_release_tarball contrib script which
279 was causing tarballs to be uploaded with the wrong media type.
280
281 - The XSLT stylesheet for converting the Launchpad WADL into HTML
282 documentation has been moved back into Launchpad.
283
284 1.9.3 (2011-01-10)
285 ==================
286
287 - The keyring package import is now delayed until the keyring needs to be
288 accessed. This reduces launchapdlib users' exposure to unintended side
289 effects of importing keyring (KWallet authorization dialogs and the
290 registration of a SIGCHLD handler).
291
292 1.9.2 (2011-01-07)
293 ==================
294
295 - Added a missing import.
296
297 1.9.1 (2011-01-06)
298 ==================
299
300 - Corrected a test failure.
301
302 1.9.0 (2011-01-05)
303 ==================
304
305 - When an authorization token expires or becomes invalid, attempt to
306 acquire a new one, even in the middle of a session, rather than
307 crashing.
308
309 - The HTML generated by wadl-to-refhtml.xsl now validates.
310
311 - Most of the helper login methods have been deprecated. There are now
312 only two helper methods:
313
314 * Launchpad.login_anonymously, for anonymous credential-free access.
315 * Launchpad.login_with, for programs that need a credential.
316
317
318 1.8.0 (2010-11-15)
319 ==================
320
321 - Store authorization tokens in the Gnome keyring or KDE wallet, when
322 available. The credentials_file parameter of Launchpad.login_with() is now
323 ignored.
324
325 - By default, Launchpad.login_with() now asks Launchpad for
326 desktop-wide integration. This removes the need for each individual
327 application to get its own OAuth token.
328
329 1.7.0 (2010-09-23)
330 ==================
331
332 - Removed "fake Launchpad browser" code that didn't work and was
333 misleading developers.
334
335 - Added support for http://qastaging.launchpad.net by adding
336 astaging to the uris.
337
338 1.6.5 (2010-08-23)
339 ==================
340
341 - Make launchpadlib compatible with the latest lazr.restfulclient.
342
343 1.6.4 (2010-08-18)
344 ==================
345
346 - Test fixes.
347
348 1.6.3 (2010-08-12)
349 ==================
350
351 - Instead of making the end-user hit Enter after authorizing an
352 application to access their Launchpad account, launchpadlib will
353 automatically poll Launchpad until the user makes a decision.
354
355 - launchpadlib now raises a more helpful exception when the end-user
356 explicitly denies access to a launchpadlib application.
357
358 - Improved the XSLT stylesheet to reflect Launchpad's more complex
359 top-level structure. [bug=286941]
360
361 - Test fixes. [bug=488448,616055]
362
363 1.6.2 (2010-06-21)
364 ==================
365
366 - Extended the optimization from version 1.6.1 to apply to Launchpad's
367 top-level collection of people.
368
369 1.6.1 (2010-06-16)
370 ==================
371
372 - Added an optimization that lets launchpadlib avoid making an HTTP
373 request in some situations.
374
375 1.6.0 (2010-04-07)
376 ==================
377
378 - Fixed a test to work against the latest version of Launchpad.
379
380 1.5.8 (2010-03-25)
381 ==================
382
383 - Use version 1.0 of the Launchpad web service by default.
384
385 1.5.7 (2010-03-16)
386 ==================
387
388 - Send a Referer header whenever making requests to the Launchpad
389 website (as opposed to the web service) to avoid falling afoul of
390 new cross-site-request-forgery countermeasures.
391
392 1.5.6 (2010-03-04)
393 ==================
394
395 - Fixed a minor bug when using login_with() to access a version of the
396 Launchpad web service other than the default.
397
398 - Added a check to catch old client code that would cause newer
399 versions of launchpadlib to make nonsensical requests to
400 https://api.launchpad.dev/beta/beta/, and raise a helpful exception
401 telling the developer how to fix it.
402
403 1.5.5
404 =====
405
406 - Added the ability to access different versions of the Launchpad web
407 service.
408
409 1.5.4 (2009-12-17)
410 ==================
411
412 - Made it easy to get anonymous access to a Launchpad instance.
413
414 - Made it easy to plug in different clients that take the user's
415 Launchpad login and password for purposes of authorizing a request
416 token. The most secure technique is still the default: to open the
417 user's web browser to the appropriate Launchpad page.
418
419 - Introduced a command-line script bin/launchpad-credentials-console,
420 which takes the user's Launchpad login and password, and authorizes
421 a request token on their behalf.
422
423 - Introduced a command-line script bin/launchpad-request-token, which
424 creates a request token on any Launchpad installation and dumps the
425 JSON description of that token to standard output.
426
427 - Shorthand service names like 'edge' should now be respected
428 everywhere in launchpadlib.
429
430 1.5.3 (2009-10-22)
431 ==================
432
433 - Moved some more code from launchpadlib into the more generic
434 lazr.restfulclient.
435
436 1.5.2 (2009-10-01)
437 ==================
438
439 - Added a number of new sample scripts from elsewhere.
440
441 - Added a reference to the production Launchpad instance.
442
443 - Made it easier to specify a Launchpad instance to run against.
444
445 1.5.1 (2009-07-16)
446 ==================
447
448 - Added a sample script for uploading a release tarball to Launchpad.
449
450 1.5.0 (2009-07-09)
451 ==================
452
453 - Most of launchpadlib's code has been moved to the generic
454 lazr.restfulclient library. launchpadlib now contains only code
455 specific to Launchpad. There should be no changes in functionality.
456
457 - Moved bootstrap.py into the top-level directory. Having it in a
458 subdirectory with a top-level symlink was breaking installation on
459 Windows.
460
461 - The notice to the end-user (that we're opening their web
462 browser) is now better formatted.
463
464 1.0.1 (2009-05-30)
465 ==================
466
467 - Correct tests for new launchpad cache behavior in librarian
468
469 - Remove build dependency on setuptools_bzr because it was causing bzr to be
470 downloaded during installation of the package, which was unnecessary and
471 annoying.
472
473 1.0 (2009-03-24)
474 ================
475
476 - Initial release on PyPI