METADATA 14 KB

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