Hello @gnikit .
In order to try your suggestion, I started a new branch on the repo that Tom @ragonneau is working on.
[Disclaimer: I am totally ignorant about Python, so what I do below may turn out completely wrong.]
Testing wheel...
+ pip install virtualenv -c 'C:\Program Files (x86)\pipx\.cache\2b6868c5f98c489\Lib\site-packages\cibuildwheel\resources\constraints-python38.txt'
Collecting virtualenv
Using cached virtualenv-20.21.0-py3-none-any.whl (8.7 MB)
Collecting distlib<1,>=0.3.6 (from virtualenv)
Using cached distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Collecting filelock<4,>=3.4.1 (from virtualenv)
Using cached filelock-3.11.0-py3-none-any.whl (10.0 kB)
Collecting platformdirs<4,>=2.4 (from virtualenv)
Using cached platformdirs-3.2.0-py3-none-any.whl (14 kB)
Installing collected packages: distlib, platformdirs, filelock, virtualenv
Successfully installed distlib-0.3.6 filelock-3.11.0 platformdirs-3.2.0 virtualenv-20.21.0
+ python -m virtualenv --no-download 'D:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\venv-test'
created virtual environment CPython3.8.10.final.0-64 in 1645ms
creator CPython3Windows(dest=D:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\venv-test, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\runneradmin\AppData\Local\pypa\virtualenv)
added seed packages: pip==23.0.1, setuptools==67.4.0, wheel==0.38.4
activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
+ where python
D:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\venv-test\Scripts\python.exe
D:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\build\venv\Scripts\python.exe
C:\hostedtoolcache\windows\Python\3.7.9\x64\python.exe
C:\ProgramData\Chocolatey\bin\python.exe
+ pip install 'D:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\repaired_wheel\pdfo-1.2.1-cp38-cp38-win_amd64.whl'
Processing d:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\repaired_wheel\pdfo-1.2.1-cp38-cp38-win_amd64.whl
Collecting scipy>=1.1.0
Downloading scipy-1.10.1-cp38-cp38-win_amd64.whl (42.2 MB)
--------------------------------------- 42.2/42.2 MB 18.2 MB/s eta 0:00:00
Collecting numpy>=1.17.0
Downloading numpy-1.24.2-cp38-cp38-win_amd64.whl (14.9 MB)
--------------------------------------- 14.9/14.9 MB 59.8 MB/s eta 0:00:00
Installing collected packages: numpy, scipy, pdfo
Successfully installed numpy-1.24.2 pdfo-1.2.1 scipy-1.10.1
+ bash D:\a\pdfo\pdfo/tools/github/cibw_test_command.sh
+ python -m unittest pdfo.testpdfo
E
======================================================================
ERROR: runTest (pdfo.tests.test_pdfo.TestPDFO)
PDFO tests on unconstrained and constrained problems.
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\venv-test\lib\site-packages\pdfo\_uobyqa.py", line 112, in uobyqa
from .gethuge import gethuge
ImportError: DLL load failed while importing gethuge: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\venv-test\lib\site-packages\pdfo\tests\test_pdfo.py", line 128, in runTest
global_res = func_solver(**args)
File "D:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\venv-test\lib\site-packages\pdfo\_uobyqa.py", line 117, in uobyqa
import_error_so('gethuge')
File "D:\a\_temp\msys64\tmp\cibw-run-fohq48qx\cp38-win_amd64\venv-test\lib\site-packages\pdfo\_dependencies.py", line 3628, in import_error_so
raise ImportError('{} is missing. Please reinstall {} and ensure the '
ImportError: gethuge is missing. Please reinstall pdfo and ensure the fulfilment of the requirements (numpy>=1.20.0).
----------------------------------------------------------------------
Ran 1 test in 0.054s
FAILED (errors=1)
Testing unconstrained problems ...
Error: Command bash D:\a\pdfo\pdfo/tools/github/cibw_test_command.sh failed with code 1. None
✕ 18.66s
creating virtual environment...
installing cibuildwheel...
Error: Process completed with exit code 1.
0s
The full workflow log is here:
pdfo.log.txt (478.3 KB)
It would be nice if you could check what is wrong. Thank you very much.