diff --git a/setup.py b/setup.py index 7cf54276a..861bfd85f 100644 --- a/setup.py +++ b/setup.py @@ -78,7 +78,7 @@ def get_version(): 'igraph', # 'GDAL', ], - python_requires='>=3.10,<3.11', + python_requires='>=3.10,<3.12', author='GEM Foundation', author_email='hazard@globalquakemodel.org', maintainer='GEM Foundation', diff --git a/windows/install_oqmbtk.ps1 b/windows/install_oqmbtk.ps1 index 59a1b2317..ff4f46390 100644 --- a/windows/install_oqmbtk.ps1 +++ b/windows/install_oqmbtk.ps1 @@ -32,7 +32,7 @@ if (Test-Path -Path $workDir) { } Write-Host "Current Working Directory: $workDir" Write-Host "Download and Installation of python embeddable package" -Invoke-WebRequest -Uri https://www.python.org/ftp/python/3.10.8/python-3.10.8-embed-amd64.zip -OutFile .\python.zip +Invoke-WebRequest -Uri https://www.python.org/ftp/python/3.11.7/python-3.11.7-embed-amd64.zip -OutFile .\python.zip Expand-Archive -Path .\python.zip -DestinationPath .\mbtk -Verbose Remove-Item .\python.zip cd $workDir @@ -48,13 +48,13 @@ Set-Alias -Name python -Value $Env:PY_HOME\python.exe Set-Alias -Name pip -Value $Env:PY_PIP\pip.exe # python .\get-pip.py -Move-Item .\python310._pth .\python310._pth.old +Move-Item .\python311._pth .\python311._pth.old # pip install pytest Write-Host "clone of the branch $branch for oq-engine and install in developer mode" git clone --depth=1 https://github.com/gem/oq-engine.git cd .\oq-engine\ -pip install -r .\requirements-py310-win64.txt +pip install -r .\requirements-py311-win64.txt pip install -e . cd .. Write-Host "clone of the branch $branch for oq-mbtk and install in developer mode"