analysispreservation.cern.ch icon indicating copy to clipboard operation
analysispreservation.cern.ch copied to clipboard

global: update dependencies

Open pamfilos opened this issue 3 years ago • 5 comments

update project dependencies, for python > 3.6.8 and some more recent invenio packages

pamfilos avatar Nov 07 '22 13:11 pamfilos

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.

ParthS007 avatar Jan 11 '23 11:01 ParthS007

Changes here: https://github.com/ParthS007/analysispreservation.cern.ch/tree/upgrade

ParthS007 avatar Jan 12 '23 16:01 ParthS007

To remember:

  • [x] 1. test_resolve_schema_when_schema_and_refs_belong_to_experiment was failing because of change in behavior of jsonify in Flask v1.1.x. To check again when we update the jsonref library.
  • [x] 2. abort functionality changed in werkzeug so had to change abort(401, 'You are unauthorized to view this CDS record.') to abort(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 of i-r-files. https://github.com/inveniosoftware/invenio-records-files/commit/30d7b0a44de91af9f803621e541e1a9f1639933f
  • [ ] 4. @useargs throws validation error when no args are given instead of passing the request further. Currently, skipped in /mc-datasets and /primary-datasets.
  • [ ] 5. self.mappings = {} needed to be commented out in i-search to register the mappings and use the cap method to register.
  • [ ] 6. _user_edited: True missing after syncing cadi entries and not in indexed document.
  • [ ] 7. Fix get_deposit_by_cadi_id and get_uuids_with_same_cadi_id for exact match.

ParthS007 avatar Jan 17 '23 09:01 ParthS007

  1. I-base:

Potential breaking commits:

  • https://github.com/inveniosoftware/invenio-base/commit/f416923948ebf5afb9fc4fc7ca939bd05c8caec2
  • https://github.com/inveniosoftware/invenio-base/commit/ad709617868001f5d8247c5f5b1907872a56374f
  1. 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

ParthS007 avatar Jan 18 '23 17:01 ParthS007

  1. I-records

Potential breaking changes

  • https://github.com/inveniosoftware/invenio-records/commit/84248d5f0fbf7a6711cc6fb027e20dad8b0db127
  1. I-files-rest

Potential breaking changes

  • https://github.com/inveniosoftware/invenio-files-rest/commit/a39e4f385bb2fdfe1bf253b89bb0f80730561dd1
  • https://github.com/inveniosoftware/invenio-files-rest/commit/f309ca0e506c8aff8141abc6a715134353d4b66b
  1. 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
  1. I-rest

Potential Breaking change

  • https://github.com/inveniosoftware/invenio-rest/commit/e4acef161f0f4b7291d88d262924089b67d30680
  • https://github.com/inveniosoftware/invenio-rest/commit/8415362451ba99e001bfd7e19434bd8712053b32
  1. I-app

Potential breaking change

  • https://github.com/inveniosoftware/invenio-app/commit/990f1952414e7483b016139ba37302b1966bf623
  • https://github.com/inveniosoftware/invenio-app/commit/9003a5942c5e2f80485de4dcedd7f589d44e8827 (good to know)

ParthS007 avatar Jan 25 '23 14:01 ParthS007