KnowledgeCaptureAndDiscovery / somef

SOftware Metadata Extraction Framework: A tool for automatically extracting relevant software information from readme files
MIT License
45 stars 22 forks source link

Error when exporting to graph (pypi install) --> Update pandas version to 2.1.0 (req by morph_kgc) #633

Open dgarijo opened 8 months ago

dgarijo commented 8 months ago

(Thanks to Lise Stork, who brought this to our attention)

When installing somef 0.9.5 from pypi, there is an issue when transforming to RDF:

 somef describe -r https://github.com/muhai-project/mira/ -g test.ttl -f turtle

I was not able to reproduce this in my own install from source, but I was able to installing the package from pypi.

The difference I see is a difference in morph-kgc versions: mine is morph_kgc==2.6.4, the one on the latest install is morph_kgc==2.7.0

Mappings will change significantly, but this is an important issue.

dgarijo commented 8 months ago

A fix for this issue is to update pandas:

pip install pandas==2.2.1

This resolves the problem.

TO DO: Update somef libraries and do a new version

dgarijo commented 1 month ago

Related to #652