Skip to content

requirements: unpin Flask-Security-Invenio after invenio-accounts upgraded #957

@GraemeWatt

Description

@GraemeWatt

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    On Hold

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions