mcs07 / ChemDataExtractor

Automatically extract chemical information from scientific documents
http://chemdataextractor.org
MIT License
287 stars 112 forks source link

Fix: deprecated collections imports #41

Closed rseragon closed 11 months ago

rseragon commented 11 months ago

Imports like Sequence, MutableSequence, etc. are deprecated since python 3.3 and are removed from 3.8. This commit fixes these import problems for users with python 3.8+

ref: https://github.com/python/cpython/issues/81505

rseragon commented 11 months ago

There seems to be a problem with the 2nd test involving python 3.5. Particularly, with cde data download command. The rest of the tests yield good, so there shouldn't be any critical problems from this PR.

rseragon commented 11 months ago

Didn't realize that there is a updated version of this repo which is being actively maintained for python versions 3.3 and up. Closing this PR as it would be pointless to merge theses changes.

PS: This is the new repo link