hubmapconsortium / antibody-api

API for the Antibody DB.
https://avr.hubmapconsortium.org/
0 stars 0 forks source link

Update Node and package.json dependencies #179

Closed ChuckKollar closed 2 months ago

ChuckKollar commented 3 months ago

The Node version is ancient as are the packages that are used. The update will require a more recent version of the base Docker package. It also seems that there was a shift away from apk, so some of the Docker file will need to be modofied to use a different package manager.

ChuckKollar commented 3 months ago

I have updated the Docker image to python 3.12, the package.json and requirements.txt dependencies all except for searchkit which seems to have changed drastically from 2.x to the current 4.x. I will create a new card just to deal with that.

ChuckKollar commented 3 months ago

Also, PyPDF2 has been deprecated since 2022 and replaced with pypdf. There were breaking changes and some code rewrites were required.

ChuckKollar commented 3 months ago

PR: https://github.com/hubmapconsortium/antibody-api/pull/181