Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 21, 2022

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)

Updates the requirements on [result](https://github.com/rustedpy/result) to permit the latest version.
- [Release notes](https://github.com/rustedpy/result/releases)
- [Changelog](https://github.com/rustedpy/result/blob/master/CHANGELOG.md)
- [Commits](rustedpy/result@v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: result
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/result-approx-eq-0.9.0 branch from abcdeb9 to d7d6926 Compare February 6, 2023 23:36
@simbuerg simbuerg merged commit b9812b1 into master Mar 6, 2023
@simbuerg simbuerg deleted the dependabot/pip/result-approx-eq-0.9.0 branch March 6, 2023 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant