From 56da96b2e91c2e1ef816185da74176ea3fd7bc9d Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 28 Mar 2024 12:19:07 +0530 Subject: [PATCH] Increase minimum python required in the pyproject, use python 3.11 for building the wheel in the workflow --- .github/workflows/pypi.yml | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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" }, ]