Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples to use Python 3.11 #406

Merged
merged 1 commit into from
Mar 4, 2024
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
2 changes: 1 addition & 1 deletion examples/coiled/aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
3. Install a Python environment with the coiled package in it by running the following from this directory:

```shell
conda create --name cubed-coiled-aws-examples -y python=3.10
conda create --name cubed-coiled-aws-examples -y python=3.11
conda activate cubed-coiled-aws-examples
pip install 'cubed[coiled]'
```
Expand Down
2 changes: 1 addition & 1 deletion examples/lithops/aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
1. Install a Python environment with the basic package requirements:

```shell
conda create --name cubed-lithops-aws-examples -y python=3.9
conda create --name cubed-lithops-aws-examples -y python=3.11
conda activate cubed-lithops-aws-examples
pip install -r requirements.txt # use requirements file from same directory as this readme
```
Expand Down
2 changes: 1 addition & 1 deletion examples/lithops/aws-lambda/cubed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ spec:
allowed_mem: "2GB"
executor_name: "lithops"
executor_options:
runtime: "cubed-runtime-dev"
runtime: "cubed-runtime"
runtime_memory: 2000
7 changes: 5 additions & 2 deletions examples/lithops/aws-lambda/docker/Dockerfile_aws_lambda
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
#FROM python:3.8-slim-buster

# Python 3.9
FROM python:3.9-slim-buster
#FROM python:3.9-slim-buster

# Python 3.10
# FROM python:3.10-slim-buster
#FROM python:3.10-slim-buster

# Python 3.11
FROM python:3.11-slim-buster

RUN apt-get update \
# Install aws-lambda-cpp build dependencies
Expand Down
2 changes: 1 addition & 1 deletion examples/lithops/gcf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

```shell
# from this directory
conda create --name cubed-lithops-gcf-examples -y python=3.9
conda create --name cubed-lithops-gcf-examples -y python=3.11
conda activate cubed-lithops-gcf-examples
pip install -r requirements.txt # use requirements file from same directory as this readme
```
Expand Down
2 changes: 1 addition & 1 deletion examples/lithops/gcf/cubed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ spec:
allowed_mem: "2GB"
executor_name: "lithops"
executor_options:
runtime: "cubed-runtime-dev"
runtime: "cubed-runtime"
runtime_memory: 2048
4 changes: 2 additions & 2 deletions examples/modal/aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
3. Install a Python environment by running the following from this directory:

```shell
conda create --name cubed-modal-examples -y python=3.9
conda activate cubed-modal-examples
conda create --name cubed-modal-aws-examples -y python=3.11
conda activate cubed-modal-aws-examples
pip install 'cubed[modal]'
export CUBED_MODAL_REQUIREMENTS_FILE=$(pwd)/requirements.txt
```
Expand Down
2 changes: 1 addition & 1 deletion examples/modal/gcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
3. Install a Python environment by running the following from this directory:

```shell
conda create --name cubed-modal-gcp-examples -y python=3.9
conda create --name cubed-modal-gcp-examples -y python=3.11
conda activate cubed-modal-gcp-examples
pip install 'cubed[modal-gcp]'
export CUBED_MODAL_REQUIREMENTS_FILE=$(pwd)/requirements.txt
Expand Down
Loading