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

Python3.9 gcd no longer in module fractions #90

Closed
Ahacad opened this issue Apr 26, 2021 · 5 comments
Closed

Python3.9 gcd no longer in module fractions #90

Ahacad opened this issue Apr 26, 2021 · 5 comments

Comments

@Ahacad
Copy link

Ahacad commented Apr 26, 2021

ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib/python3.9/fractions.py)

official document here: Changed in version 3.9: The math.gcd() function is now used to normalize the numerator and denominator. math.gcd() always return a int type. Previously, the GCD type depended on numerator and denominator.

@Ahacad Ahacad changed the title Python3.9 gcd nolonger in module fractions Python3.9 gcd no longer in module fractions Apr 26, 2021
@william-song-shy
Copy link
Contributor

It has been fixed in #84 .

@Ahacad
Copy link
Author

Ahacad commented Apr 30, 2021

OK, then it should be the version problem. Pypi still only has the cyaron v0.4.2, and the last GitHub release was in 2019, will another release be considered?

@william-song-shy
Copy link
Contributor

You could remind the manager to release a new version

@Ahacad
Copy link
Author

Ahacad commented Apr 30, 2021

I'm not sure who to go to, maybe @lin714093880 could you make a new release?

@lin-toto
Copy link
Member

Published 0.4.3

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

No branches or pull requests

3 participants