Skip to content
Snippets Groups Projects

fix: Retry does not support kw allowable_methods

Closed Leon Michel Gorißen requested to merge (removed):master into master

when initializing the ApiClient, the Retry object does not allow for keyword allowable methods

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Hi @leon.gorissen !

    when initializing the ApiClient, the Retry object does not allow for keyword allowable methods

    It does on my end and I've never run into issues like that before (I'm on urllib3 Version: 2.0.7).
    According to the urllib3 changelog, the allowed_methods argument should be valid:
    https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#1260-2020-11-10

    Maybe you are using an old version of urllib? The Coscine Python SDK unfortunately does not (yet) require specific versions of packages, it just accepts any version if it is installed.

    Could you post more info on the problem you are trying to fix (maybe an error message) and include the version number of urllib3 on your system (pip show urllib3)? :slight_smile:

    On a sidenote you could also try pip install --upgrade urllib3 (if using pip, I don't know the conda equivalent right now) and see if the problem persists.
    If that fixes it, I should really force specific package versions and see if there is some tool that can figure out minimum dependencies automatically (hopefully).

    Edited by Romin
Please register or sign in to reply
Loading