cran: Use pyreadr instead of rpy2 to read a RDS file from Python

The CRAN lister improvements introduced in 91e4e33 originally used pyreadr
to read a RDS file from Python instead of rpy2.

As swh-lister was still packaged for debian at the time, the choice of using
rpy2 instead was made as a debian package is available for it while it is not
for pyreadr.

Now debian packaging was dropped for swh-lister we can reinstate the pyreadr
based implementation which has the advantages of being faster and not depending
on the R language runtime.

Related to swh/meta#1709.
This commit is contained in:
Antoine Lambert 2023-08-17 16:52:39 +02:00
parent 42d8e24d7e
commit 4aee4da784
4 changed files with 47 additions and 53 deletions

View file

@ -5,10 +5,10 @@ iso8601
launchpadlib
lxml
psycopg2
pyreadr
python_debian
repomd
requests
rpy2
setuptools
tenacity >= 6.2
testing.postgresql