bssw-psip / reposcanner

A compact repository data mining toolkit
Other
4 stars 0 forks source link

Issues running tests with Python 3.6.8 #26

Open jwillenbring opened 3 years ago

jwillenbring commented 3 years ago

Using Pyhton 3.6.8 on an Oracle Linux (Red Hat clone) machine, the following tests failed:

tests/test_data.py::test_AnnotatedCSVData_canStoreDataToDisk FAILED [ 14%] tests/test_provenance.py::test_ReposcannerLabNotebook_canLogCompletionOfTask FAILED [ 79%] tests/test_requests.py::test_OfflineRoutineRequest_cloneDirectoryIsBasedOnWorkspaceDirectory FAILED [ 95%]

The key error seems to be:

AttributeError: type object 'datetime.date' has no attribute 'fromisoformat'

It appears this is not available prior to Python 3.7

https://stackoverflow.com/questions/60266554/type-object-datetime-datetime-has-no-attribute-fromisoformat

mrmundt commented 2 years ago

@jwillenbring - Considering that most Python packages are relying on Python 3.7+, do you still want this resolved?