diff --git a/.github/workflows/install-lint-test-on-mac.yml b/.github/workflows/install-lint-test-on-mac.yml index 515a447b9..fa46e878b 100644 --- a/.github/workflows/install-lint-test-on-mac.yml +++ b/.github/workflows/install-lint-test-on-mac.yml @@ -17,7 +17,7 @@ jobs: matrix: python-version: # github.com/actions/python-versions/releases - 3.12 - # - 3.13 + - 3.13 steps: - name: Checkout Repo diff --git a/.github/workflows/install-lint-test-on-ubuntu.yml b/.github/workflows/install-lint-test-on-ubuntu.yml index 880056400..aa6b352bb 100644 --- a/.github/workflows/install-lint-test-on-ubuntu.yml +++ b/.github/workflows/install-lint-test-on-ubuntu.yml @@ -17,7 +17,7 @@ jobs: matrix: python-version: # github.com/actions/python-versions/releases - 3.12 - # - 3.13 + - 3.13 steps: - name: Checkout Repo diff --git a/examples/FinanceBench/streamlit-main.py b/examples/FinanceBench/streamlit-main.py index 77e98ca9a..aca122050 100644 --- a/examples/FinanceBench/streamlit-main.py +++ b/examples/FinanceBench/streamlit-main.py @@ -66,7 +66,7 @@ def task_statement(task_id: TaskId, doc_name: DocName) -> str: if not st.session_state.task_id: st.session_state.typed_question: str = st.text_area(label='Question', value=st.session_state.typed_question, - height=3, + height=68, max_chars=None, key=None, help='Type a Question', diff --git a/examples/semiconductor/streamlit-main.py b/examples/semiconductor/streamlit-main.py index 472d23fbd..e4be4a8b0 100644 --- a/examples/semiconductor/streamlit-main.py +++ b/examples/semiconductor/streamlit-main.py @@ -32,7 +32,7 @@ st.session_state.typed_problem: str = st.text_area(label='Problem/Question', value=st.session_state.typed_problem, - height=3, + height=68, max_chars=None, key=None, help='Problem/Question', diff --git a/openssa/contrib/streamlit_ssa_prob_solver/__init__.py b/openssa/contrib/streamlit_ssa_prob_solver/__init__.py index 7ef7c7ded..2eede66a3 100644 --- a/openssa/contrib/streamlit_ssa_prob_solver/__init__.py +++ b/openssa/contrib/streamlit_ssa_prob_solver/__init__.py @@ -236,7 +236,7 @@ def run(self): self.problem: str = st.text_area(label='Problem to Solve', value=self.problem, - height=3, + height=68, max_chars=None, key=None, help='State the Problem to Solve', diff --git a/openssa/deprecated/ooda_rag/rag_ooda.py b/openssa/deprecated/ooda_rag/rag_ooda.py index 40c63b739..8c8dea7c6 100644 --- a/openssa/deprecated/ooda_rag/rag_ooda.py +++ b/openssa/deprecated/ooda_rag/rag_ooda.py @@ -1,8 +1,8 @@ from typing import Union, ClassVar from uuid import uuid4 -from llama_index.core.retrievers import BaseRetriever # noqa: TCH002 -from llama_index.core.schema import NodeWithScore # noqa: TCH002 +from llama_index.core.retrievers import BaseRetriever # noqa: TC002 +from llama_index.core.schema import NodeWithScore # noqa: TC002 from openssa.deprecated.ooda_rag.builtin_agents import ( ContextValidator, diff --git a/openssa/deprecated/utils/deprecated/llama_index_api.py b/openssa/deprecated/utils/deprecated/llama_index_api.py index afe562a09..437491c16 100644 --- a/openssa/deprecated/utils/deprecated/llama_index_api.py +++ b/openssa/deprecated/utils/deprecated/llama_index_api.py @@ -5,7 +5,7 @@ from llama_index.core import ServiceContext from llama_index.core.llms import OpenAI as LlamaIndexOpenAI -from llama_index.core.llms.llm import LLM # noqa: TCH002 +from llama_index.core.llms.llm import LLM # noqa: TC002 from llama_index.core.llms.openai_utils import ALL_AVAILABLE_MODELS, CHAT_MODELS from llama_index.embeddings.azure_openai import AzureOpenAIEmbedding from llama_index.embeddings.openai import OpenAIEmbedding diff --git a/pyproject.toml b/pyproject.toml index 4de7a7233..b7561c730 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ ipykernel = ">=6.29" notebook = ">=7.2" [tool.poetry.group.docs.dependencies] -sphinx = ">=8.0" +sphinx = ">=8.1" sphinx-autobuild = ">=2024.10" sphinx-press-theme = ">=0.9" myst-parser = ">=4.0" @@ -60,7 +60,7 @@ myst-parser = ">=4.0" [tool.poetry.group.lint.dependencies] flake8 = ">=7.1" pylint = ">=3.3" -ruff = ">=0.6" +ruff = ">=0.8" [tool.poetry.group.test.dependencies] pytest = ">=8.3" @@ -68,40 +68,39 @@ pytest = ">=8.3" [tool.poetry.dependencies] python = ">=3.12,<3.14" # Llama interface -huggingface-hub = ">=0.25" +huggingface-hub = ">=0.26" # OpenAI interface -openai = ">=1.51" +openai = ">=1.55" # LlamaIndex & related -llama-index = ">=0.11" -llama-index-embeddings-azure-openai = ">=0.2" -llama-index-llms-azure-openai = ">=0.2" -llama-index-readers-web = ">=0.2" +llama-index = ">=0.12" +llama-index-embeddings-azure-openai = ">=0.3" +llama-index-llms-azure-openai = ">=0.3" +llama-index-readers-web = ">=0.3" docx2txt = ">=0.8" # for reading .docx files -pypdf = ">=4.3" # for reading .pdf files +pypdf = ">=5.1" # for reading .pdf files pycryptodome = ">=3.21" # for reading .pdf files: PyCryptodome is required for AES algorithm # file systems -fsspec = ">=2024.9" # base/local file system +fsspec = ">=2024.10" # base/local file system adlfs = ">=2024.7" # Azure Data Lake -gcsfs = ">=2024.9" # Google Cloud Storage -s3fs = ">=2024.9" # S3 +gcsfs = ">=2024.10" # Google Cloud Storage +s3fs = ">=2024.10" # S3 # misc / other certifi = ">2023.8" -google-api-python-client = ">=2.147" +google-api-python-client = ">=2.154" googlesearch-python = ">=1.2" httpx = ">=0.27" loguru = ">=0.7" -pydantic = ">=2.9" +pydantic = ">=2.10" python-dotenv = ">=1.0" -torch = ">=2.2,<2.3" # 2.3 fails installing on Mac with M chip -tqdm = ">=4.66" +tqdm = ">=4.67" # optional dependencies required by extras -streamlit = {version = ">=1.39", optional = true} -streamlit-extras = {version = ">=0.4", optional = true} +streamlit = {version = ">=1.40", optional = true} +streamlit-extras = {version = ">=0.5", optional = true} streamlit-mic-recorder = {version = ">=0.0.8", optional = true} langchainhub = ">=0.1" -faiss-cpu = ">=1.8" +faiss-cpu = ">=1.9" [tool.poetry.extras] contrib = [