diff --git a/.github/actions/people/Dockerfile b/.github/actions/people/Dockerfile index 1455106bde3..f0f389c644c 100644 --- a/.github/actions/people/Dockerfile +++ b/.github/actions/people/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9 +FROM python:3.11 RUN pip install httpx PyGithub "pydantic==2.0.2" pydantic-settings "pyyaml>=5.3.1,<6.0.0" diff --git a/.github/scripts/check_diff.py b/.github/scripts/check_diff.py index 8ce0b9b2288..74e20e02f6e 100644 --- a/.github/scripts/check_diff.py +++ b/.github/scripts/check_diff.py @@ -136,14 +136,14 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]: if job == "codspeed": py_versions = ["3.12"] # 3.13 is not yet supported elif dir_ == "libs/core": - py_versions = ["3.9", "3.10", "3.11", "3.12", "3.13"] + py_versions = ["3.10", "3.11", "3.12", "3.13"] # custom logic for specific directories elif dir_ in PY_312_MAX_PACKAGES: - py_versions = ["3.9", "3.12"] + py_versions = ["3.10", "3.12"] elif dir_ == "libs/langchain" and job == "extended-tests": - py_versions = ["3.9", "3.13"] + py_versions = ["3.10", "3.13"] elif dir_ == "libs/langchain_v1": py_versions = ["3.10", "3.13"] elif dir_ in {"libs/cli"}: @@ -151,9 +151,9 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]: elif dir_ == ".": # unable to install with 3.13 because tokenizers doesn't support 3.13 yet - py_versions = ["3.9", "3.12"] + py_versions = ["3.10", "3.12"] else: - py_versions = ["3.9", "3.13"] + py_versions = ["3.10", "3.13"] return [{"working-directory": dir_, "python-version": py_v} for py_v in py_versions] diff --git a/.github/workflows/scheduled_test.yml b/.github/workflows/scheduled_test.yml index 63f8471ed1a..81a338604f0 100644 --- a/.github/workflows/scheduled_test.yml +++ b/.github/workflows/scheduled_test.yml @@ -5,7 +5,7 @@ # Runs daily. Can also be triggered manually for immediate updates. name: '⏰ Scheduled Integration Tests' -run-name: "Run Integration Tests - ${{ inputs.working-directory-force || 'all libs' }} (Python ${{ inputs.python-version-force || '3.9, 3.11' }})" +run-name: "Run Integration Tests - ${{ inputs.working-directory-force || 'all libs' }} (Python ${{ inputs.python-version-force || '3.10, 3.11' }})" on: workflow_dispatch: @@ -15,7 +15,7 @@ on: description: "From which folder this pipeline executes - defaults to all in matrix - example value: libs/partners/anthropic" python-version-force: type: string - description: "Python version to use - defaults to 3.9 and 3.11 in matrix - example value: 3.9" + description: "Python version to use - defaults to 3.10 and 3.11 in matrix - example value: 3.10" schedule: - cron: '0 13 * * *' # Runs daily at 1PM UTC (9AM EDT/6AM PDT) @@ -46,9 +46,9 @@ jobs: PYTHON_VERSION_FORCE: ${{ github.event.inputs.python-version-force || '' }} run: | # echo "matrix=..." where matrix is a json formatted str with keys python-version and working-directory - # python-version should default to 3.9 and 3.11, but is overridden to [PYTHON_VERSION_FORCE] if set + # python-version should default to 3.10 and 3.11, but is overridden to [PYTHON_VERSION_FORCE] if set # working-directory should default to DEFAULT_LIBS, but is overridden to [WORKING_DIRECTORY_FORCE] if set - python_version='["3.9", "3.11"]' + python_version='["3.10", "3.11"]' working_directory="$DEFAULT_LIBS" if [ -n "$PYTHON_VERSION_FORCE" ]; then python_version="[\"$PYTHON_VERSION_FORCE\"]"