gophish / api-client-python

A Python API Client for Gophish
MIT License
44 stars 48 forks source link

Dependencies are outdated #30

Open MglMX opened 4 years ago

MglMX commented 4 years ago

The dependencies certifi,requests and urllib3 have newer versions. Now I get the following errors:

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

gophish 0.5.1 requires certifi==2020.6.20, but you'll have certifi 2020.11.8 which is incompatible.
gophish 0.5.1 requires requests==2.24.0, but you'll have requests 2.25.0 which is incompatible.
gophish 0.5.1 requires urllib3==1.25.10, but you'll have urllib3 1.26.2 which is incompatible.

Perhaps it would be a good idea to specify the requirements of the package in a range: "requests>=2,<3"

That way the required dependencies don't need to be updated in setup.py every time that there is a minor update of a package.

jsf9k commented 3 years ago

Is there any chance of updating the dependencies or at least pinning to just the major version?

sei-dspooner commented 1 year ago

Bump. chardet==3.0.4 is also causing issues here.