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

Fix compatibility with current Python versions #918

Merged
merged 4 commits into from
Jun 30, 2023

Conversation

wagner-intevation
Copy link
Contributor

@wagner-intevation wagner-intevation commented Jun 30, 2023

I know this software is unmaintained, with little chance of getting this PR merged. Still, I hope this PR fixing the library's compatibility with Python versions >= 3.10 does help some library users.

the mock library is obsolete and not even needed, so remove it from the
test requirements
coroutine functions are now declared with the 'async' keyword

fixes hugapi#902
numpy.float was deprecated as it was just python's float. using
np.float64 explicitly
@underrun underrun merged commit e4a3fa4 into hugapi:develop Jun 30, 2023
1 check passed
@wagner-intevation
Copy link
Contributor Author

wagner-intevation commented Jun 30, 2023

Thank you @underrun, for such a quick reaction! I for sure did not expect this.

Could we do a release to PyPI, maybe with other fixes too?

@wagner-intevation wagner-intevation deleted the compatibility branch July 1, 2023 18:51
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.

None yet

2 participants