Skip to content

Commit

Permalink
project: update Pipfile dependencies
Browse files Browse the repository at this point in the history
While upgrading to invenio 3.2, especially invenio-circulation, the
invenio-circulation module import marshmallow with some functionnality
only available on 3.0.0 version.
In the past RERO-ils added a constraint on marshmallow.
This commit deletes this old constraint.

* deletes marshmallow constraints
* adds ciso8601 dependency
* fixes isort problems on last code

Co-Authored-by: Olivier DOSSMANN <git@dossmann.net>
  • Loading branch information
blankoworld committed Jul 21, 2020
1 parent b43e14f commit ac1ab4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion rero_ils/modules/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
from invenio_indexer.signals import before_record_index
from invenio_indexer.utils import _es7_expand_action
from invenio_pidstore.errors import PIDDoesNotExistError
from invenio_pidstore.ext import pid_exists
from invenio_pidstore.models import PersistentIdentifier, PIDStatus
from invenio_records.api import Record
from invenio_records_rest.utils import obj_or_import_string
Expand Down
5 changes: 2 additions & 3 deletions rero_ils/modules/items/api/circulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@

from flask import current_app
from invenio_circulation.api import get_loan_for_item
from invenio_circulation.search.api import search_by_patron_item_or_document

from invenio_circulation.errors import MissingRequiredParameterError, \
NoValidTransitionAvailableError
from invenio_circulation.proxies import current_circulation
from invenio_circulation.search.api import search_by_pid
from invenio_circulation.search.api import search_by_patron_item_or_document, \
search_by_pid
from invenio_i18n.ext import current_i18n
from invenio_records_rest.utils import obj_or_import_string
from invenio_search import current_search
Expand Down

0 comments on commit ac1ab4a

Please sign in to comment.