capless / warrant

Python library for using AWS Cognito. With support for SRP.
Apache License 2.0
469 stars 192 forks source link

release version > 0.6.1 to Pypi to address import warnings #164

Open markhu opened 4 years ago

markhu commented 4 years ago

The old 0.6.1 release from 2017 spits warnings due to old Python 2.x import syntax.

There are [at least] two ways to fix this: either...

  1. Update to Warrant to use a newer version than 1.3.2 of the forked dependency https://github.com/capless/python-jose-cryptodome/ after merging https://github.com/capless/python-jose-cryptodome/issues/10 and bumping the version number.
    • or
  2. A cleaner fix would simply replace the local-forked lib with a newer version of the original http://github.com/mpdavis/python-jose which has since added CryptoDome as well as fixed the import syntax.