analysispreservation.cern.ch
analysispreservation.cern.ch copied to clipboard
global: update dependencies
update project dependencies, for python > 3.6.8 and some more recent invenio packages
Start with Invenio installed Deps and check one by one.
- Check with tests and UI.
- Remove the deps pins installed by invenio since they will be installed directly by invenio packages.
- If pins are updated in invenio packages, fork and remove the pins.
Changes here: https://github.com/ParthS007/analysispreservation.cern.ch/tree/upgrade
To remember:
- [x] 1.
test_resolve_schema_when_schema_and_refs_belong_to_experimentwas failing because of change in behavior ofjsonifyinFlask v1.1.x. To check again when we update thejsonreflibrary. - [x] 2.
abortfunctionality changed in werkzeug so had to changeabort(401, 'You are unauthorized to view this CDS record.')toabort(Response('You are unauthorized to view this CDS record.', 401))else it was throwing the default exception message. - [ ] 3. Addition for
RECORDS_FILES_ENDPOINTS={}for using the mock release ofi-r-files. https://github.com/inveniosoftware/invenio-records-files/commit/30d7b0a44de91af9f803621e541e1a9f1639933f - [ ] 4.
@useargsthrows validation error when no args are given instead of passing the request further. Currently, skipped in/mc-datasetsand/primary-datasets. - [ ] 5.
self.mappings = {}needed to be commented out ini-searchto register the mappings and use the cap method to register. - [ ] 6.
_user_edited: Truemissing after syncing cadi entries and not in indexed document. - [ ] 7. Fix
get_deposit_by_cadi_idandget_uuids_with_same_cadi_idfor exact match.
- I-base:
Potential breaking commits:
- https://github.com/inveniosoftware/invenio-base/commit/f416923948ebf5afb9fc4fc7ca939bd05c8caec2
- https://github.com/inveniosoftware/invenio-base/commit/ad709617868001f5d8247c5f5b1907872a56374f
- i-app
Potential breaking commits:
- https://github.com/inveniosoftware/invenio-app/commit/089f0e7de6414d4ba9f4a3049aafbb21bc500250
- https://github.com/inveniosoftware/invenio-app/commit/0feb40ad3d879eb5b2201780add702a8808f1471
- https://github.com/inveniosoftware/invenio-app/commit/1aa6bb95b94c77b79c8bbfd448582f68bf52a686
- https://github.com/inveniosoftware/invenio-app/commit/1ee4f12dc2bad5f499ecffa7c303a6b5f3f9eaf4
- https://github.com/inveniosoftware/invenio-app/commit/4f1be273f6547064c43b1304ce2fe57516c96b42
- https://github.com/inveniosoftware/invenio-app/commit/8ec265c80200ab2704e1aebbf8b9baa7a48fd656
- I-records
Potential breaking changes
- https://github.com/inveniosoftware/invenio-records/commit/84248d5f0fbf7a6711cc6fb027e20dad8b0db127
- I-files-rest
Potential breaking changes
- https://github.com/inveniosoftware/invenio-files-rest/commit/a39e4f385bb2fdfe1bf253b89bb0f80730561dd1
- https://github.com/inveniosoftware/invenio-files-rest/commit/f309ca0e506c8aff8141abc6a715134353d4b66b
- I-r-files
Potential breaking changes
- https://github.com/inveniosoftware/invenio-records-files/commit/1d2f879bf27159a4c7084fd845a20f4aaf0c9e5f
- https://github.com/inveniosoftware/invenio-records-files/commit/30d7b0a44de91af9f803621e541e1a9f1639933f
- https://github.com/inveniosoftware/invenio-records-files/commit/bba168d4f63b271a6f5a97786ebd1836d2c458d0
- I-rest
Potential Breaking change
- https://github.com/inveniosoftware/invenio-rest/commit/e4acef161f0f4b7291d88d262924089b67d30680
- https://github.com/inveniosoftware/invenio-rest/commit/8415362451ba99e001bfd7e19434bd8712053b32
- I-app
Potential breaking change
- https://github.com/inveniosoftware/invenio-app/commit/990f1952414e7483b016139ba37302b1966bf623
- https://github.com/inveniosoftware/invenio-app/commit/9003a5942c5e2f80485de4dcedd7f589d44e8827 (good to know)