This is very strange, I can confirm the behavior though:
(py313) PS C:\Users\ian> pip install coolprop
Collecting coolprop
Downloading CoolProp-6.6.0.tar.gz (14.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.0/14.0 MB 5.5 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: coolprop
Building wheel for coolprop (pyproject.toml) ... done
Created wheel for coolprop: filename=CoolProp-6.6.0-cp313-cp313-win_amd64.whl size=1629176 sha256=21192405f0ca9422ffeb78e0f4424f08234e38280687a2ba1cf477094e466d1d
Stored in directory: c:\users\ian\appdata\local\pip\cache\wheels\01\44\36\e1e42f3bfc3b5aae8e6609ab58aaa33887d7770fc8baaab7da
Successfully built coolprop
Installing collected packages: coolprop
Successfully installed coolprop-6.6.0
(py313) PS C:\Users\ian> python
Python 3.13.1 | packaged by conda-forge | (main, Dec 5 2024, 21:02:16) [MSC v.1942 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import CoolProp
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import CoolProp
File "D:\Users\ian\miniforge3\envs\py313\Lib\site-packages\CoolProp\__init__.py", line 22, in <module>
__fluids__ = CoolProp.get_global_param_string('fluids_list').split(',')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "CoolProp.pyx", line 309, in CoolProp.CoolProp.get_global_param_string
File "<stringsource>", line 15, in string.from_py.__pyx_convert_string_from_py_std__in_string
TypeError: expected bytes, str found
I thought we had resolved all these issues with bytes and str, but maybe something has changed in py 3.13 with that