Release treeherder-client 3.0.0

RESOLVED FIXED

Status

Tree Management
Treeherder: Client Libraries
P2
normal
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Changes...

Bug 1273231:
* Removed `TreeherderClient.update_parse_status()`

Bug 1245158:
* Client requests now use connection pooling (re-use the same `TreeherderClient` instance when making multiple requests, to reap the performance benefit)
* Hawk auth headers are now sent for GET requests too (if credentials were provided). In the future this will allow for higher rate limits for authenticated GETS.

Bug 1279213:
* The `timeout` parameter has been removed from `TreeherderClient.post_collection()` (as well as the private `TreeherderClient` methods `_get_json()` and `_post_json()`). The timeout can now only be set globally when instantiating `TreeherderClient`.
* The default connection timeout has been reduced from 120s to 30s.
* The private `TreeherderClient` methods `_get_project_uri()` and `_get_uri()` have been replaced by `_get_endpoint_url()`.
* The `protocol` and `host` arguments to `TreeherderClient` have been replaced with `server_url` (the old arguments are still supported for now, but give a deprecation warning). The client defaults to Treeherder production, so the argument can be omitted unless connecting to another instance. See http://treeherder.readthedocs.io/rest_api.html#python-client for more details.
(Assignee)

Comment 1

2 years ago
Released to PyPI:
https://pypi.python.org/pypi/treeherder-client/3.0.0
Created attachment 8770143 [details] [review]
[treeherder] mozilla:improve-client-release-docs > mozilla:master

Comment 3

2 years ago
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/b60b90097e414adc98d285d396d05234bf6f959e
Bug 1286240 - Docs: Install 'wheel' at the same time as 'twine'

Since if the wheel package is not installed, it results in:
`error: invalid command 'bdist_wheel'`
(Assignee)

Updated

2 years ago
Depends on: 1286278
(Assignee)

Updated

2 years ago
Blocks: 1286485
(Assignee)

Updated

2 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.