Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Fix/use poetry for build (#478)

cachhoccf515cadd35
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 60724cfb8..c40f56e86 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -19,12 +19,16 @@ jobs:
with:
python-version: '3.11'
- - name: Install pep517
+ - name: Install Poetry
run: |
- python -m pip install pep517 --user
-
+ curl -sSL https://install.python-poetry.org | python3 -
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
+
+ - name: Install dependencies
+ run: poetry install
+
- name: Build a binary wheel and a source tarball
- run: python -m pep517.build .
+ run: poetry build
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1