a-r-j / graphein

Protein Graph Library
https://graphein.ai/
MIT License
994 stars 125 forks source link

remove typing_extension dependency #378

Closed kierandidi closed 3 months ago

kierandidi commented 3 months ago

Reference Issues/PRs

What does this implement/fix? Explain your changes

Remove typing_extension as a dependency since we now only support Python >=3.8 and Literal is included in typing there. Use try catch block to still use typing_extension if user has Python3.7 and manually installs it

What testing did you do to verify the changes in this PR?

Ran pytests.

Pull Request Checklist

a-r-j commented 3 months ago

Could you run black just for the sake of the formatting check?

kierandidi commented 3 months ago

done

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud