The CI started failing on 13th March with an error message ImportError: cannot import name 'str_to_uascii' from 'passlib.utils.compat' (unknown location). This was due to the release of Flask-Security-Invenio v4.2.0 on 12th March, which replaced passlib (Python 2 and 3) with libpass (Python 3 only). While libpass is a fork of passlib, the former is missing the str_to_uascii function as it is unnecessary in Python 3. The latest invenio-accounts v7.1.0 removes the single use of the str_to_uascii function from passlib.utils.compat. However, until #325 is addressed, we cannot upgrade to the latest invenio-accounts version. For now, I will need to pin Flask-Security-Invenio==4.1.0 in the requirements.txt file. This pin should be removed when upgrading to the latest Invenio packages.
The CI started failing on 13th March with an error message
ImportError: cannot import name 'str_to_uascii' from 'passlib.utils.compat' (unknown location). This was due to the release ofFlask-Security-Inveniov4.2.0 on 12th March, which replacedpasslib(Python 2 and 3) withlibpass(Python 3 only). Whilelibpassis a fork ofpasslib, the former is missing thestr_to_uasciifunction as it is unnecessary in Python 3. The latestinvenio-accountsv7.1.0 removes the single use of thestr_to_uasciifunction frompasslib.utils.compat. However, until #325 is addressed, we cannot upgrade to the latestinvenio-accountsversion. For now, I will need to pinFlask-Security-Invenio==4.1.0in therequirements.txtfile. This pin should be removed when upgrading to the latest Invenio packages.