diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 1ac735aa..5b5792e0 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -27,10 +27,10 @@ jobs: with: fetch-depth: 0 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: ⬇️ Install Application run: python -m pip install --upgrade pip && pip install --upgrade . @@ -59,6 +59,6 @@ jobs: - name: 📦 Publish Python Package to PyPI if: startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master' - uses: pypa/gh-action-pypi-publish@v1.6.4 + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_KEY }} diff --git a/pyproject.toml b/pyproject.toml index d443568d..b70e17b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "khoj-assistant" description = "An AI copilot for your Second Brain" readme = "README.md" license = "AGPL-3.0-or-later" -requires-python = ">=3.8" +requires-python = ">=3.9" authors = [ { name = "Debanjum Singh Solanky, Saba Imran" }, ]