Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Read Python
id: pyversion
run: echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '${{ env.PYTHON_VERSION }}'
cache: 'pip'
- name: Install dependencies
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Read Python version
id: pyversion
run: echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '${{ env.PYTHON_VERSION }}'
cache: 'pip'
- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.8.13
3.11.13
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ $ pip install --requirement requirements.txt
If your system Python is not compatible with the required packages, we suggest that you install Python in a Conda environment using the [Micromamba](https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html) package manager for Conda.

- Begin by [installing the Micromamba package manager](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html).
- Install Python 3.11 in a new environment.
- Install the Python version listed in `.python-version` in a new environment.
```
$ micromamba env create --name ulhpc-docs-python
$ micromamba install python=3.11 --channel conda-forge --name ulhpc-docs-python
$ micromamba install python=$(cat .python-version) --channel conda-forge --name ulhpc-docs-python
```
- You now have 2 options. First options is to install the required python packages directly in the Conda environment.
```
Expand Down