Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove typing_extension dependency #378

Merged
merged 3 commits into from
Mar 25, 2024
Merged

remove typing_extension dependency #378

merged 3 commits into from
Mar 25, 2024

Conversation

kierandidi
Copy link
Collaborator

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

  • Added a note about the modification or contribution to the ./CHANGELOG.md file (if applicable)
  • Added appropriate unit test functions in the ./graphein/tests/* directories (if applicable)
  • Modify documentation in the corresponding Jupyter Notebook under ./notebooks/ (if applicable)
  • Ran python -m py.test tests/ and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., python -m py.test tests/protein/test_graphs.py)
  • Checked for style issues by running black . and isort .

@kierandidi kierandidi requested a review from a-r-j March 24, 2024 16:39
Copy link
Owner

@a-r-j a-r-j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @kierandidi

@a-r-j
Copy link
Owner

a-r-j commented Mar 24, 2024

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

@kierandidi
Copy link
Collaborator Author

done

Copy link

sonarcloud bot commented Mar 24, 2024

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

@a-r-j a-r-j merged commit 2d4d4d6 into master Mar 25, 2024
28 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants