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

Update dependency backoff to v2 #139

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

smith-ntc
Copy link
Collaborator

@smith-ntc smith-ntc commented Apr 26, 2022

This PR contains the following updates:

Package Type Update Change
backoff dependencies major ^1.11.1 -> ^2.0.0

Release Notes

litl/backoff

v2.1.2

Compare Source

Fixed

v2.1.1

Compare Source

Fixed

v2.1.0

Compare Source

Changed

v2.0.1

Compare Source

Changed
  • Allow None for jitter keyword arg (typing)

v2.0.0

Compare Source

Added
  • Add raise_on_giveup keyword arg for decorators
  • Add backoff.runtime wait generator for dynamically setting wait times based
    on target function return value or exception details
Changed
  • Improve type hints for on_success, on_backoff, on_giveup handlers
  • Use decorator-specific detail and handler type hints
  • Optionally use typing_extensions for python 3.7 type hinting
  • Drop python 3.6 support
  • Add python 3.10 support

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@smith-ntc
Copy link
Collaborator Author

smith-ntc commented Apr 26, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...

  SolverProblemError

  The current project's Python requirement (>=3.6.2,<4.0.0) is not compatible with some of the required packages Python requirement:
    - backoff requires Python >=3.7,<4.0, so it will not be satisfied for Python >=3.6.2,<3.7
    - backoff requires Python >=3.7,<4.0, so it will not be satisfied for Python >=3.6.2,<3.7
    - backoff requires Python >=3.7,<4.0, so it will not be satisfied for Python >=3.6.2,<3.7
    - backoff requires Python >=3.7,<4.0, so it will not be satisfied for Python >=3.6.2,<3.7
    - backoff requires Python >=3.7,<4.0, so it will not be satisfied for Python >=3.6.2,<3.7
  
  Because no versions of backoff match >2.0.0,<2.0.1 || >2.0.1,<2.1.0 || >2.1.0,<2.1.1 || >2.1.1,<2.1.2 || >2.1.2,<3.0.0
   and backoff (2.0.0) requires Python >=3.7,<4.0, backoff is forbidden.
  And because backoff (2.0.1) requires Python >=3.7,<4.0, backoff is forbidden.
  And because backoff (2.1.0) requires Python >=3.7,<4.0
   and backoff (2.1.1) requires Python >=3.7,<4.0, backoff is forbidden.
  So, because backoff (2.1.2) requires Python >=3.7,<4.0
   and circuit-maintenance-parser depends on backoff (^2.0.0), version solving failed.

  at /usr/local/poetry/1.1.13/venv/lib/python3.10/site-packages/poetry/puzzle/solver.py:241 in _solve
      237│             packages = result.packages
      238│         except OverrideNeeded as e:
      239│             return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
      240│         except SolveFailure as e:
    → 241│             raise SolverProblemError(e)
      242│ 
      243│         results = dict(
      244│             depth_first_search(
      245│                 PackageNode(self._package, packages), aggregate_package_nodes

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For backoff, a possible solution would be to set the `python` property to ">=3.7,<4.0.0"
    For backoff, a possible solution would be to set the `python` property to ">=3.7,<4.0.0"
    For backoff, a possible solution would be to set the `python` property to ">=3.7,<4.0.0"
    For backoff, a possible solution would be to set the `python` property to ">=3.7,<4.0.0"
    For backoff, a possible solution would be to set the `python` property to ">=3.7,<4.0.0"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers


@smith-ntc smith-ntc force-pushed the renovate/backoff-2.x branch 3 times, most recently from ab955fa to 8cafbe5 Compare May 17, 2022 05:03
@smith-ntc smith-ntc requested a review from scetron as a code owner June 29, 2022 14:04
@smith-ntc smith-ntc force-pushed the renovate/backoff-2.x branch 3 times, most recently from 1cba565 to aaf874d Compare July 1, 2022 11:03
@glennmatthews
Copy link
Contributor

Blocked by #178.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants