Crown-Commercial-Service / digitalmarketplace-admin-frontend

Frontend administration application for the digital marketplace
MIT License
5 stars 15 forks source link

Bump digitalmarketplace-apiclient from 22.2.0 to 23.0.0 #806

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps digitalmarketplace-apiclient from 22.2.0 to 23.0.0.

Changelog

Sourced from digitalmarketplace-apiclient's changelog.

23.0.0

Update to use python 3.8 as python 3.6 is reaching end of life.

Dropping support for:

  • python 3.6
  • python 3.7

22.0.0

Mark this package as PEP 561 compatible. If you have dmapiclient as a dependency and run type checking, the type checker will now check that you're using dmapiclient correctly. This might break your application's type checking if you're using dmapiclient incorrectly.

21.0.0

All "attributes" of apiclient instances have been made private and replaced with read-only properties of the same name. This is to encourage use of apiclients as objects that are unmutated after construction, making their use (hopefully) threadsafe.

The attributes in question comprise RETRIES, RETRIES_BACKOFF_FACTOR, RETRIES_FORCE_STATUS_CODES, base_url, auth_token, enabled, timeout. It seems unlikely that any code was mutating these values post-construction/init_app, but it's worth doing a check before upgrading.

20.0.0

PR: #205

The with_declarations parameter of find_framework_suppliers method of DataAPIClient now defaults to True instead of None. This will increase significantly the size of all replies using it.

19.0.0

PR: #152

We're now using urllib3's Retry util to retry failed requests made by the base api client. This has allowed us to remove backoff from make_iter_method and so also remove the package from the api client's dependencies. It also means that we no longer need HTTPTemporaryError so it's been removed.

Anything that uses the api client and has it's own backoff setup (such as some of our scripts) will need to adjust (or remove) their config to prevent potentially making far too many retry requests.

Anything that uses HTTPTemporaryError will need to remove it. The only place I've found it is in a few one off scripts in the scripts repo for backoff setup.

18.0.0

PR: #151

The default request error message for unrecognised/unhandled errors has changed from 'Request failed' to 'Unknown request failure in dmapiclient'. 'Request failed' should be seen only in exceptional circumstances - most exceptions raised from failed requests should now hold the str() and repr() calls of the request error as their message.

Any code that relies on the specific format of the request errors raised by the apiclient will need to be updated.

... (truncated)

Commits
  • af53775 Merge pull request #256 from Crown-Commercial-Service/update-apiclient-to-run...
  • 266978b Change to using python 3.8
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)