diff --git a/.github/workflows/build_pyodide.yml b/.github/workflows/build_pyodide.yml index 621e345..56ce123 100644 --- a/.github/workflows/build_pyodide.yml +++ b/.github/workflows/build_pyodide.yml @@ -58,7 +58,7 @@ jobs: inputs_wheels_linux_pyodide: 1 inputs_wheels_implementations: b run: - sudo apt-get install python3-distutils && python scripts/gh_release.py build + sudo apt install python3.12-dev && python scripts/gh_release.py build # Upload generated wheels, to be accessible from github Actions page. diff --git a/gh_release.py b/gh_release.py index 96d546f..ee9f0a7 100755 --- a/gh_release.py +++ b/gh_release.py @@ -574,6 +574,8 @@ def pyodide_setup(clean=False): command += f' && echo "### creating venv {venv_pyodide}"' command += f' && {sys.executable} -m venv {venv_pyodide}' command += f' && . {venv_pyodide}/bin/activate' + command += f' && echo "### upgrading pip ..."' + command += f' && python -m pip install --upgrade pip' command += f' && echo "### running pip install ..."' command += f' && echo "### installing setuptools ..."' command += f' && python -m pip install --upgrade pip wheel setuptools==70.0.0'