Skip to content
Snippets Groups Projects

upgrade to python 3.11

Merged Mohammad Torkashvand requested to merge feature/bump-to-python3.11 into develop
5 files
+ 10
10
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -4,15 +4,15 @@ Quickstart
Development environment and dependencies
----------------------------------------
- Install python 3.10 if you do not have it already:
- Install python 3.11 if you do not have it already:
- ``add-apt-repository ppa:deadsnakes/ppa``
- ``apt install python3.10 python3.10-distutils``
- ``apt install python3.11 python3.11-distutils``
- Follow Steps 1 and 2 from here to install dependencies and setup DB:
`<https://workfloworchestrator.org/orchestrator-core/workshops/beginner/debian/>`_
- To install the orchestrator GUI, you can follow the steps 5 and 6 from the previous link.
- Create a virtual environment:
- ``source /usr/share/virtualenvwrapper/virtualenvwrapper.sh``
- ``mkvirtualenv --python python3.10 gso``
- ``mkvirtualenv --python python3.11 gso``
- To use the virtual environment:
- ``source /usr/share/virtualenvwrapper/virtualenvwrapper.sh``
- ``workon gso``
@@ -25,7 +25,7 @@ Do all this inside the virtual environment.
- Clone this repository
- ``pip install -r requirements.txt``
- If you get an error because you pip version is too old, run this:
``curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10``
``curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11``
- ``pip install -e .``
- Create an ``oss-params.json`` based on the ``oss-params-example.json`` file inside ``/gso``.
- Export the oss-params file: ``export OSS_PARAMS_FILENAME="/path/to/oss-params.json"``
Loading