diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 87d9d947..9f53d37a 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.3.0 with: - python-version: '3.12' + python-version: '3.10' - name: Install dependencies env: SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL: True diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index d1fb8fb8..824d4c04 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - python-version: [3.12] + python-version: [3.10] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pypi-test.yml b/.github/workflows/pypi-test.yml index c6691a8d..04b91535 100644 --- a/.github/workflows/pypi-test.yml +++ b/.github/workflows/pypi-test.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - python-version: [3.12] + python-version: [3.10] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 00b1367d..39aeb1c9 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, self-hosted] - python-version: [3.12] + python-version: [3.10] steps: - name: Checkout @@ -47,8 +47,8 @@ jobs: shell: bash -l {0} run: | source ~/miniconda3/etc/profile.d/conda.sh - conda create -y -n pythainlpwork312 python=3.12 - conda activate pythainlpwork312 + conda create -y -n pythainlpwork310 python=3.10 + conda activate pythainlpwork310 conda info conda list python -m pip install --upgrade pip diff --git a/.github/workflows/test-ubuntu.yml b/.github/workflows/test-ubuntu.yml index f108af82..0a0760ed 100644 --- a/.github/workflows/test-ubuntu.yml +++ b/.github/workflows/test-ubuntu.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - python-version: [3.12] + python-version: [3.10] steps: - name: Checkout diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 5b367251..81aee546 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [windows-latest] - python-version: [3.12] + python-version: [3.10] steps: - name: Checkout diff --git a/Dockerfile b/Dockerfile index 3a8b325e..2361983f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project # SPDX-License-Identifier: Apache-2.0 -FROM python:3.12-slim +FROM python:3.10-slim COPY . .