Skip to content

Commit

Permalink
Add Python 3.11 as supported version (#327)
Browse files Browse the repository at this point in the history
* added python version 3.11 and 3.12

* updated faiss version 1.8.0

* Remove Python 3.12

Upstream nltk is broken for 3.12 and causes failing tests[1]. We can
add it back once nltk makes a PyPI release (the fix is already in the
dev branch).

[1] nltk/nltk#3207

---------

Co-authored-by: Fahim Imaduddin Dalvi <faimaduddin@hbku.edu.qa>
  • Loading branch information
firojalam and fdalvi authored Jul 30, 2024
1 parent ed5e226 commit e76100c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dev =
fewshot =
langchain==0.0.198
sentence_transformers==2.2.2
faiss-cpu==1.7.4
faiss-cpu==1.8.0

[options.packages.find]
where = .
Expand Down

0 comments on commit e76100c

Please sign in to comment.