Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
Upgrade workflows to Python 3.11 (#441)
Sarah Woodersd117557b6a3c
diff --git a/.github/workflows/poetry-publish-nightly.yml b/.github/workflows/poetry-publish-nightly.ymlindex fdddbbe7d..8cf6d176c 100644--- a/.github/workflows/poetry-publish-nightly.yml+++ b/.github/workflows/poetry-publish-nightly.yml@@ -32,7 +32,7 @@ jobs:- name: Set up Pythonuses: actions/setup-python@v2with:- python-version: 3.9+ python-version: 3.11- name: Install poetryrun: |curl -sSL https://install.python-poetry.org | python3 -@@ -42,7 +42,7 @@ jobs:# Extract the version number from pyproject.toml using awkCURRENT_VERSION=$(awk -F '"' '/version =/ { print $2 }' pyproject.toml | head -n 1)# Export the CURRENT_VERSION with the .dev and current date suffix- NIGHTLY_VERSION="${CURRENT_VERSION}.dev$(date +%Y%m%d)"+ NIGHTLY_VERSION="${CURRENT_VERSION}.dev$(date +%Y%m%d%H%M%S)"# Overwrite pyproject.toml with nightly configsed -i "0,/version = \"${CURRENT_VERSION}\"/s//version = \"${NIGHTLY_VERSION}\"/" pyproject.tomlsed -i 's/name = "pymemgpt"/name = "pymemgpt-nightly"/g' pyproject.tomldiff --git a/.github/workflows/poetry-publish.yml b/.github/workflows/poetry-publish.ymlindex a1f1e6464..dba0ab2a7 100644--- a/.github/workflows/poetry-publish.yml+++ b/.github/workflows/poetry-publish.yml@@ -14,7 +14,7 @@ jobs:- name: Set up Pythonuses: actions/setup-python@v2with:- python-version: 3.9+ python-version: 3.11- name: Install poetryrun: |curl -sSL https://install.python-poetry.org | python3 -diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 702fad524..ce02993ec 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -27,7 +27,7 @@ jobs:- name: Set up Pythonuses: actions/setup-python@v4with:- python-version: "3.10"+ python-version: "3.11"- name: Install poetryrun: pip install poetry