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