Skip to content

numpy version fix/upgrade [v3.9.43] #90

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

Merged
merged 7 commits into from
Jul 28, 2025

Conversation

softwareengineerprogrammer
Copy link
Owner

@softwareengineerprogrammer softwareengineerprogrammer commented Jul 28, 2025

Description

Use latest versions for:

  1. numpy: https://github.com/NREL/GEOPHIRES-X/blob/main/setup.py#L65
  2. h5py: https://github.com/NREL/GEOPHIRES-X/blob/main/setup.py#L77

Tangentially relevant to NREL#117

Resolves issues per https://gist.github.com/softwareengineerprogrammer/3d650c511ad5e674a36e8bc121ebabe5

Testing & Verification

  1. Existing tests pass except for slight adjustment to cases to allow almost equal
  2. Tested locally on a separate project as a dependency:
(venv) ➜  git:(main) ✗ pip install -r requirements.txt 
Collecting https://github.com/softwareengineerprogrammer/GEOPHIRES/archive/v3.9.43.zip (from -r requirements.txt (line 2))
  Downloading https://github.com/softwareengineerprogrammer/GEOPHIRES/archive/v3.9.43.zip
     \ 76.7 MB 16.6 MB/s 0:00:04
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting numpy (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached numpy-2.3.2-cp313-cp313-macosx_14_0_arm64.whl.metadata (62 kB)
Collecting numpy-financial (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached numpy_financial-1.0.0-py3-none-any.whl.metadata (2.2 kB)
Collecting pint (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached Pint-0.24.4-py3-none-any.whl.metadata (8.5 kB)
Collecting forex_python (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached forex_python-1.9.2-py3-none-any.whl.metadata (4.6 kB)
Collecting jsons (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached jsons-1.6.3-py3-none-any.whl.metadata (9.3 kB)
Collecting mpmath (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Collecting deepdiff (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached deepdiff-8.5.0-py3-none-any.whl.metadata (8.2 kB)
Collecting mysql.connector (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached mysql_connector-2.2.9-cp313-cp313-macosx_15_0_arm64.whl
Collecting cryptography (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached cryptography-45.0.5-cp311-abi3-macosx_10_9_universal2.whl.metadata (5.7 kB)
Collecting pandas (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached pandas-2.3.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (91 kB)
Collecting matplotlib (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached matplotlib-3.10.3-cp313-cp313-macosx_11_0_arm64.whl.metadata (11 kB)
Collecting h5py (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached h5py-3.14.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (2.7 kB)
Collecting scipy (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached scipy-1.16.1-cp313-cp313-macosx_14_0_arm64.whl.metadata (61 kB)
Collecting iapws (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached iapws-1.5.4-py3-none-any.whl
Collecting coolprop (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached coolprop-6.8.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (282 bytes)
Collecting rich (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached rich-14.1.0-py3-none-any.whl.metadata (18 kB)
Collecting pylocker (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached pylocker-3.1.0-py3-none-any.whl.metadata (1.6 kB)
Collecting nrel-pysam (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached NREL_PySAM-7.0.0-cp313-cp313-macosx_12_0_arm64.whl.metadata (8.8 kB)
Collecting tabulate (from geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
Collecting cffi>=1.14 (from cryptography->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.14->cryptography->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Collecting orderly-set<6,>=5.4.1 (from deepdiff->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached orderly_set-5.5.0-py3-none-any.whl.metadata (6.6 kB)
Collecting requests>=2.0 (from forex_python->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached requests-2.32.4-py3-none-any.whl.metadata (4.9 kB)
Collecting simplejson>=3.0 (from forex_python->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached simplejson-3.20.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (3.3 kB)
Collecting charset_normalizer<4,>=2 (from requests>=2.0->forex_python->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached charset_normalizer-3.4.2-cp313-cp313-macosx_10_13_universal2.whl.metadata (35 kB)
Collecting idna<4,>=2.5 (from requests>=2.0->forex_python->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests>=2.0->forex_python->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached urllib3-2.5.0-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests>=2.0->forex_python->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached certifi-2025.7.14-py3-none-any.whl.metadata (2.4 kB)
Collecting typish>=1.9.2 (from jsons->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached typish-1.9.3-py3-none-any.whl.metadata (7.2 kB)
Collecting contourpy>=1.0.1 (from matplotlib->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached contourpy-1.3.3-cp313-cp313-macosx_11_0_arm64.whl.metadata (5.5 kB)
Collecting cycler>=0.10 (from matplotlib->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached fonttools-4.59.0-cp313-cp313-macosx_10_13_universal2.whl.metadata (107 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached kiwisolver-1.4.8-cp313-cp313-macosx_11_0_arm64.whl.metadata (6.2 kB)
Collecting packaging>=20.0 (from matplotlib->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
Collecting pillow>=8 (from matplotlib->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached pillow-11.3.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (9.0 kB)
Collecting pyparsing>=2.3.1 (from matplotlib->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached pyparsing-3.2.3-py3-none-any.whl.metadata (5.0 kB)
Collecting python-dateutil>=2.7 (from matplotlib->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting pytz>=2020.1 (from pandas->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached pytz-2025.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached tzdata-2025.2-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting platformdirs>=2.1.0 (from pint->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached platformdirs-4.3.8-py3-none-any.whl.metadata (12 kB)
Collecting typing-extensions>=4.0.0 (from pint->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached typing_extensions-4.14.1-py3-none-any.whl.metadata (3.0 kB)
Collecting flexcache>=0.3 (from pint->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached flexcache-0.3-py3-none-any.whl.metadata (7.0 kB)
Collecting flexparser>=0.4 (from pint->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached flexparser-0.4-py3-none-any.whl.metadata (18 kB)
Collecting psutil (from pylocker->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached psutil-7.0.0-cp36-abi3-macosx_11_0_arm64.whl.metadata (22 kB)
Collecting markdown-it-py>=2.2.0 (from rich->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached pygments-2.19.2-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->geophires-x==3.9.43->-r requirements.txt (line 2))
  Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Using cached coolprop-6.8.0-cp313-cp313-macosx_11_0_arm64.whl (5.8 MB)
Using cached cryptography-45.0.5-cp311-abi3-macosx_10_9_universal2.whl (7.0 MB)
Using cached cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl (178 kB)
Using cached deepdiff-8.5.0-py3-none-any.whl (85 kB)
Using cached orderly_set-5.5.0-py3-none-any.whl (13 kB)
Using cached forex_python-1.9.2-py3-none-any.whl (9.5 kB)
Using cached requests-2.32.4-py3-none-any.whl (64 kB)
Using cached charset_normalizer-3.4.2-cp313-cp313-macosx_10_13_universal2.whl (199 kB)
Using cached idna-3.10-py3-none-any.whl (70 kB)
Using cached urllib3-2.5.0-py3-none-any.whl (129 kB)
Using cached certifi-2025.7.14-py3-none-any.whl (162 kB)
Using cached simplejson-3.20.1-cp313-cp313-macosx_11_0_arm64.whl (75 kB)
Using cached h5py-3.14.0-cp313-cp313-macosx_11_0_arm64.whl (2.8 MB)
Using cached numpy-2.3.2-cp313-cp313-macosx_14_0_arm64.whl (5.1 MB)
Using cached scipy-1.16.1-cp313-cp313-macosx_14_0_arm64.whl (20.8 MB)
Using cached jsons-1.6.3-py3-none-any.whl (60 kB)
Using cached typish-1.9.3-py3-none-any.whl (45 kB)
Using cached matplotlib-3.10.3-cp313-cp313-macosx_11_0_arm64.whl (8.1 MB)
Using cached contourpy-1.3.3-cp313-cp313-macosx_11_0_arm64.whl (274 kB)
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Using cached fonttools-4.59.0-cp313-cp313-macosx_10_13_universal2.whl (2.8 MB)
Using cached kiwisolver-1.4.8-cp313-cp313-macosx_11_0_arm64.whl (65 kB)
Using cached packaging-25.0-py3-none-any.whl (66 kB)
Using cached pillow-11.3.0-cp313-cp313-macosx_11_0_arm64.whl (4.7 MB)
Using cached pyparsing-3.2.3-py3-none-any.whl (111 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached six-1.17.0-py2.py3-none-any.whl (11 kB)
Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Using cached NREL_PySAM-7.0.0-cp313-cp313-macosx_12_0_arm64.whl (35.5 MB)
Using cached numpy_financial-1.0.0-py3-none-any.whl (14 kB)
Using cached pandas-2.3.1-cp313-cp313-macosx_11_0_arm64.whl (10.7 MB)
Using cached pytz-2025.2-py2.py3-none-any.whl (509 kB)
Using cached tzdata-2025.2-py2.py3-none-any.whl (347 kB)
Using cached Pint-0.24.4-py3-none-any.whl (302 kB)
Using cached flexcache-0.3-py3-none-any.whl (13 kB)
Using cached flexparser-0.4-py3-none-any.whl (27 kB)
Using cached platformdirs-4.3.8-py3-none-any.whl (18 kB)
Using cached typing_extensions-4.14.1-py3-none-any.whl (43 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Using cached pylocker-3.1.0-py3-none-any.whl (38 kB)
Using cached psutil-7.0.0-cp36-abi3-macosx_11_0_arm64.whl (239 kB)
Using cached rich-14.1.0-py3-none-any.whl (243 kB)
Using cached pygments-2.19.2-py3-none-any.whl (1.2 MB)
Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
Building wheels for collected packages: geophires-x
  Building wheel for geophires-x (pyproject.toml) ... done
  Created wheel for geophires-x: filename=geophires_x-3.9.43-py3-none-any.whl size=75623500 sha256=a911f29d06d8ac1134e4a97dd026ea3cbdc03ce5286c93a28a1ee3351e546f49
  Stored in directory: /private/var/folders/v9/kghhwkw949n1bbr4tj1hq9b00000gn/T/pip-ephem-wheel-cache-i2pxqkzx/wheels/7f/e2/40/35ee10722c3ad5d459639ab9388f3e5462910777ad396d5732
Successfully built geophires-x
Installing collected packages: typish, pytz, nrel-pysam, mysql.connector, mpmath, coolprop, urllib3, tzdata, typing-extensions, tabulate, six, simplejson, pyparsing, pygments, pycparser, psutil, platformdirs, pillow, packaging, orderly-set, numpy, mdurl, kiwisolver, jsons, idna, fonttools, cycler, charset_normalizer, certifi, scipy, requests, python-dateutil, pylocker, numpy-financial, markdown-it-py, h5py, flexparser, flexcache, deepdiff, contourpy, cffi, rich, pint, pandas, matplotlib, iapws, forex_python, cryptography, geophires-x
Successfully installed certifi-2025.7.14 cffi-1.17.1 charset_normalizer-3.4.2 contourpy-1.3.3 coolprop-6.8.0 cryptography-45.0.5 cycler-0.12.1 deepdiff-8.5.0 flexcache-0.3 flexparser-0.4 fonttools-4.59.0 forex_python-1.9.2 geophires-x-3.9.43 h5py-3.14.0 iapws-1.5.4 idna-3.10 jsons-1.6.3 kiwisolver-1.4.8 markdown-it-py-3.0.0 matplotlib-3.10.3 mdurl-0.1.2 mpmath-1.3.0 mysql.connector-2.2.9 nrel-pysam-7.0.0 numpy-2.3.2 numpy-financial-1.0.0 orderly-set-5.5.0 packaging-25.0 pandas-2.3.1 pillow-11.3.0 pint-0.24.4 platformdirs-4.3.8 psutil-7.0.0 pycparser-2.22 pygments-2.19.2 pylocker-3.1.0 pyparsing-3.2.3 python-dateutil-2.9.0.post0 pytz-2025.2 requests-2.32.4 rich-14.1.0 scipy-1.16.1 simplejson-3.20.1 six-1.17.0 tabulate-0.9.0 typing-extensions-4.14.1 typish-1.9.3 tzdata-2025.2 urllib3-2.5.0
  1. Updated web interface backend with v3.9.43

@softwareengineerprogrammer softwareengineerprogrammer added the bug Something isn't working label Jul 28, 2025
@softwareengineerprogrammer softwareengineerprogrammer changed the title Numpy version fix Numpy version fix/upgrade Jul 28, 2025
@softwareengineerprogrammer softwareengineerprogrammer changed the title Numpy version fix/upgrade numpy version fix/upgrade [v3.9.43] Jul 28, 2025
@softwareengineerprogrammer softwareengineerprogrammer merged commit 071744d into main Jul 28, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant