Skip to content

Unexpected keyword argument 'lifetime' #133

@joackobengochea

Description

@joackobengochea

The dependency for pymongo lib is set as ">=3.5", causing the installation of the latest version of pymongo, in particular, the version 3.9.0, in which the argument 'lifetime' of a query() function was deleted. This causes the following crash:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pymongo/srv_resolver.py", line 73, in _resolve_uri
    lifetime=self.__connect_timeout)
TypeError: query() got an unexpected keyword argument 'lifetime'

I'll open a PR fixing the version ASAP :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions