Skip to content

Commit 68f7d68

Browse files
committed
Merge branch 'feat/mos-lichunyu-0804' of github-lcy:fridayL/MemOS into feat/mos-lichunyu-0804
2 parents 2a9d99b + c041424 commit 68f7d68

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/python-tests.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,14 @@ jobs:
3939
timeout-minutes: 30
4040

4141
steps:
42-
- name: Install virtualenv with specific version
43-
# This is only a temporary fix to ensure compatibility with Poetry & virtualenv
44-
# Relevant issues:
45-
# - https://github.com/pypa/virtualenv/issues/2931
46-
# - https://github.com/python-poetry/poetry/issues/10490
47-
# - https://github.com/actions/setup-python/issues/1167
48-
run: pip install virtualenv==20.32
4942
- uses: actions/checkout@v4
5043
- name: Install poetry
51-
run: pipx install poetry
44+
# This is a temporary fix to ensure compatibility with Poetry & virtualenv
45+
# Revert to the original installation method once the poetry==2.1.4 is released
46+
run: |
47+
echo "virtualenv==20.32.0" > constraints.txt
48+
pipx install poetry==2.1.3 --pip-args="--constraint=constraints.txt"
49+
rm constraints.txt
5250
- name: Set up Python ${{ matrix.python-version }}
5351
uses: actions/setup-python@v5
5452
with:

0 commit comments

Comments
 (0)