Increase minimum python required in the pyproject, use python 3.11 for building the wheel in the workflow

This commit is contained in:
sabaimran 2024-03-28 12:19:07 +05:30
parent 22014cfcbc
commit 56da96b2e9
2 changed files with 4 additions and 4 deletions

View file

@ -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 }}

View file

@ -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" },
]