diff --git a/developer_tools/check_pip_packages.sh b/developer_tools/check_pip_packages.sh index ba67e9d873..86ed0d596f 100755 --- a/developer_tools/check_pip_packages.sh +++ b/developer_tools/check_pip_packages.sh @@ -28,16 +28,16 @@ ls -l dist #python -m pip install -f file://${RAVEN_DIR}/dist raven_framework || exit -1 echo -echo Checking Python 3.8 +echo Checking Python 3.9 -conda activate python38_pip +conda activate python39_pip python -m pip uninstall -y raven_framework || echo not installed -python -m pip install dist/raven_framework*cp38*.whl || exit -1 +python -m pip install dist/raven_framework*cp39*.whl || exit -1 echo -echo Checking Python 3.9 +echo Checking Python 3.10 -conda activate python39_pip +conda activate python310_pip python -m pip uninstall -y raven_framework || echo not installed -python -m pip install dist/raven_framework*cp39*.whl || exit -1 +python -m pip install dist/raven_framework*cp310*.whl || exit -1 diff --git a/developer_tools/make_pip_packages.sh b/developer_tools/make_pip_packages.sh index 67aaf40511..e9b514882a 100755 --- a/developer_tools/make_pip_packages.sh +++ b/developer_tools/make_pip_packages.sh @@ -18,24 +18,24 @@ source $RAVEN_DIR/scripts/read_ravenrc.sh CONDA_DEFS=$(read_ravenrc "CONDA_DEFS") source ${CONDA_DEFS} -conda env remove --name python38_pip -conda create -y --name python38_pip python=3.8 swig - conda env remove --name python39_pip conda create -y --name python39_pip python=3.9 swig +conda env remove --name python310_pip +conda create -y --name python310_pip python=3.10 swig + cd $RAVEN_DIR rm -f setup.cfg python ./scripts/library_handler.py pip --action=setup.cfg > setup.cfg -conda activate python38_pip +conda activate python39_pip command -v python python -m ensurepip python -m pip install --upgrade build python -m build -conda activate python39_pip +conda activate python310_pip command -v python python -m ensurepip python -m pip install --upgrade build