Working:
curl
Didn't work as expected
- Uninstall the current version of the package (if already installed)
pip uninstall invenio-rdm-records
- Install the invenio-rdm-records package with the specific PR applied
pip install git+https://github.com/inveniosoftware/invenio-rdm-records.git@master#egg=invenio-rdm-records --install-option="--patch" --install-option="https://github.com/inveniosoftware/invenio-rdm-records/pull/1303.patch"
If you need to install diffrent version you can change @master
to @v1.3.5
the verison you want
Note: Make sure to test the modified package in a development or staging environment to ensure that it behaves as expected.