You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pynsee's pipeline are in errors since august. Best practices advise to keep it working in order to detect bugs and regressing code.
It seems there are two errors, one minor and one bigger :
minor : a small typo indentation in test_pynsee_sirene.py
complex : the test of the download of the census data is not working, because pandas in the github runner cannot achieve to load the 4gb CSV file
Thanks for digging into our CI problems. Yes you are right with the RP problem. Given the current implementation of telechargerDonnees (name will be changed, see More transparent names in download package #37) it is not trivial. A workaround could be to add a nrow argument to the function that would be passed to pandas to avoid trying read the entire file
However, maybe that would make more sense not to test telechargerDonnees with RP. We could just check the requests 200 code to be sure we could find the dataframe if needed
Activity
linogaliana commentedon Nov 17, 2021
telechargerDonnees(name will be changed, see More transparent names in download package #37) it is not trivial. A workaround could be to add anrowargument to the function that would be passed topandasto avoid trying read the entire filelinogaliana commentedon Nov 17, 2021
However, maybe that would make more sense not to test
telechargerDonneeswith RP. We could just check therequests200 code to be sure we could find the dataframe if neededhadrilec commentedon Jun 27, 2022
At least one example is working fine with RP data : https://pynsee.readthedocs.io/en/latest/examples/example_rp_logement_2017.html
For now, it can be considered as solved