diff --git a/.github/workflows/build_pypi.yml b/.github/workflows/build_pypi.yml index 97c662d5..55da9d7a 100644 --- a/.github/workflows/build_pypi.yml +++ b/.github/workflows/build_pypi.yml @@ -63,7 +63,7 @@ jobs: sed -i "s/^version[ ]*=.*/version = \"${version}\"/g" ${{ env.PYTHON_VERSION_FILE }} - name: "Install poetry" - run: pipx install poetry + run: pipx install "poetry>=2.0.0,<3.0.0" - name: "Set up Python" id: setup_python diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3f445095..9aa659e6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - name: "Install poetry" - run: pipx install poetry + run: pipx install "poetry>=2.0.0,<3.0.0" - name: "Set up Python" id: setup_python @@ -50,7 +50,7 @@ jobs: - uses: actions/checkout@v4 - name: "Install poetry" - run: pipx install poetry + run: pipx install "poetry>=2.0.0,<3.0.0" - name: "Set up Python" id: setup_python diff --git a/.github/workflows/follow-merge-upstream-repo-sync.yml b/.github/workflows/follow-merge-upstream-repo-sync.yml index 8ea6462d..98d140a4 100644 --- a/.github/workflows/follow-merge-upstream-repo-sync.yml +++ b/.github/workflows/follow-merge-upstream-repo-sync.yml @@ -88,7 +88,7 @@ jobs: working_directory: "${{ env.UPSTREAM_REPO_WORKDIR }}" - name: "Install poetry" - run: pipx install poetry + run: pipx install "poetry>=2.0.0,<3.0.0" - name: "Set up Python" id: setup_python diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b693bfd9..21ecc2ac 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - name: "Install poetry" - run: pipx install poetry + run: pipx install "poetry>=2.0.0,<3.0.0" - name: "Set up Python" id: setup_python @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@v4 - name: "Install poetry" - run: pipx install poetry + run: pipx install "poetry>=2.0.0,<3.0.0" - name: "Set up Python ${{ matrix.python-version }}" id: setup_python diff --git a/pyproject.toml b/pyproject.toml index 5d14c922..bd99f7d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ litellm = "^1.47.2" pandarallel = "^1.6.5" instructor = "^1.4.3" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] pytest = "^7.4.3" pytest-cov = "^4.1.0" black = "^24.8.0"