-
Notifications
You must be signed in to change notification settings - Fork 22
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
python 3.9+ compatibility #204
Comments
It is (for me) not possible to install the latest version of pyfunction on a python version higher than 3.9 due to problems with the coolprop package. |
Pygfunction is tested on Python==3.7 and Python==3.8. The last time I looked into building on Python==3.9 I also had errors. Perhaps this issue should address the Python version in the Requirements section of the README (Document Python version requirements). pygfunction/.github/workflows/test.yml Lines 17 to 18 in a7586fb
Is there a package you are using that requires you to use Python 3.9, or could you use 3.7 or 3.8? |
Hello @wouterpeere. CoolProp does seem to be the cause. I found that they are planning support for py39 in I added this issue to the |
@j-c-cook @MassimoCimmino Thank you for your responses. At the moment, I have no specific reason for working with a version higher than 3.8, although in the future (especially with the new, faster, python 3.11), I will be moving to a higher version. Since I am responsible for GHEtool (https://github.com/wouterpeere/GHEtool), a tool for borefield sizing, I wanted to keep this up to date with the newer versions of python. However, GHEtool uses pygfunction for the calculation of the equivalent borehole resistance of a field, and since the latest version of pygfunction is, due to CoolProp, not available at python >=3.9, we are still using pygfunction v1.1.2 in order to assure compatibility. This is not a big problem, but it would be nice if CoolProp would release a new version so that we can rely on a newer version of pygfunction. |
I am removing this from the |
@all-contributors please add @mitchute for code, ideas. |
I've put up a pull request to add @mitchute! 🎉 |
No description provided.
The text was updated successfully, but these errors were encountered: