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

Numpy typing fix #94

Merged
merged 8 commits into from
Mar 4, 2022
Merged

Numpy typing fix #94

merged 8 commits into from
Mar 4, 2022

Conversation

hepengfe
Copy link
Collaborator

@hepengfe hepengfe commented Mar 2, 2022

This PR fixes #91.

Description of changes

Make sure numpy typing is compatible with numpy==1.21

Possible influences of this PR.

Typing names are no longer compatible with numpy==1.19 but linting with mypy in CI test only checks typing under numpy==1.21.

Test Conducted

Describe what test cases are included for the PR.

@hunterhector
Copy link
Member

so there are multiple convoluting bugs. Some errors in this PR should be fixed by another. #89. But the initial mypy checks has passed. So I will probably force merge this one for now.

@hunterhector hunterhector marked this pull request as ready for review March 4, 2022 20:10
@hunterhector hunterhector merged commit 2c1b268 into main Mar 4, 2022
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.

Numpy version of texar could be updated to 1.21 to support typing
2 participants