PolyJIT / benchbuild

Empirical-Research Toolkit
MIT License
11 stars 12 forks source link

build(deps): update result requirement from ~=0.8.0 to ~=0.9.0 #529

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on result to permit the latest version.

Changelog

Sourced from result's changelog.

[0.9.0] - 2022-12-09

  • [added] Implement unwrap_or_raise (#95)
  • [added] Add support for Python 3.11 (#107)
  • [changed] Narrowing of return types on methods of Err and Ok. (#106)
  • [fixed] Fix failing type inference for Result.map and similar method unions (#106)

[0.8.0] - 2022-04-17

  • [added] as_result decorator to turn regular functions into Result returning ones (#33, 71)
  • [removed] Drop support for Python 3.6 (#49)
  • [added] Implement unwrap_or_else (#74), and_then (#90) and or_else (#90)

[0.7.0] - 2021-11-19

  • [removed] Drop support for Python 3.5 (#34)
  • [added] Add support for Python 3.9 and 3.10 (#50)
  • [changed] Make the Ok type covariant in regard to its wrapped type T. Likewise for Err in regard to E. This should result in more intuitive type checking behaviour. For instance, Err[TypeError] will get recognized as a subtype of Err[Exception] by type checkers. See PEP 438 for a detailed explanation of covariance and its implications.
  • [added] Add support for Python 3.10 pattern matching (#47)
  • [changed] Ok and Err now define __slots__ to save memory (#55, #58)
  • [changed] The generic type of UnwrapError.result now explicitly specifies Any (#67)

[0.6.0] - 2021-03-17

IMPORTANT: This release a big API refactoring to make the API more type safe. Unfortunately this means some breaking changes. Please check out MIGRATING.md, it will guide you through the necessary changes in your codebase.

  • [changed] Split result type into Ok and Err classes (#17, #27)
  • [deprecated] Python 3.4 support is deprecated and will be removed in the next release

[0.5.0] - 2020-03-03

  • [added] Implement map, map_err, map_or and map_or_else (#19)
  • [added] Add unwrap_err and expect_err methods (#26)
  • [changed] Type annotations: Change parameter order from Result[E, T] to Result[T, E] to match Rust/OCaml/F# (#7)

... (truncated)

Commits


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)