From 662c5a0bb0895e6afb2893376bb4f7a794c12435 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2026 16:03:29 +0000 Subject: [PATCH 1/6] build(deps): update setuptools requirement Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v82.0.1...v84.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-version: 84.0.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- requirements/requirements.build.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5d6fcf0..a6418c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=82.0.1,<84.0.0", "setuptools-scm>=10.0.5,<11.0.0"] +requires = ["setuptools>=82.0.1,<85.0.0", "setuptools-scm>=10.0.5,<11.0.0"] build-backend = "setuptools.build_meta" [project] diff --git a/requirements/requirements.build.txt b/requirements/requirements.build.txt index 3ed2c93..97120e7 100644 --- a/requirements/requirements.build.txt +++ b/requirements/requirements.build.txt @@ -1,4 +1,4 @@ -setuptools>=70.3.0,<84.0.0 +setuptools>=70.3.0,<85.0.0 wheel>=0.43.0,<1.0.0 build>=1.1.1,<2.0.0 twine>=6.0.1,<8.0.0 From 52b31304c06e32cdc07d7cf6563ca492df89f916 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 16:05:21 +0000 Subject: [PATCH 2/6] build(deps): bump https://github.com/PyCQA/flake8 from 7.3.0 to 7.4.1 Bumps [https://github.com/PyCQA/flake8](https://github.com/PyCQA/flake8) from 7.3.0 to 7.4.1. - [Commits](https://github.com/PyCQA/flake8/compare/7.3.0...7.4.1) --- updated-dependencies: - dependency-name: https://github.com/PyCQA/flake8 dependency-version: 7.4.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fe38c9b..eec570f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -161,7 +161,7 @@ repos: files: \.pyi?$ - repo: https://github.com/PyCQA/flake8 - rev: 7.3.0 + rev: 7.4.1 hooks: - id: flake8 name: "๐Ÿ flake8 - Lint python code" From 95c95ed4a254b9c4b7978829232794d3c4ab9434 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Oct 2026 20:54:43 +0000 Subject: [PATCH 3/6] build(deps): bump https://github.com/psf/black from 26.5.1 to 26.10.1 Bumps [https://github.com/psf/black](https://github.com/psf/black) from 26.5.1 to 26.10.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/26.5.1...26.10.1) --- updated-dependencies: - dependency-name: https://github.com/psf/black dependency-version: 26.10.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eec570f..6037a92 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -146,7 +146,7 @@ repos: # --- Python --- - repo: https://github.com/psf/black - rev: 26.5.1 + rev: 26.10.1 hooks: - id: black name: "๐Ÿ black - Format python code" From 96d69878682ed18c0818414f4c563e2459c33c9e Mon Sep 17 00:00:00 2001 From: Batkhuu Byambajav Date: Thu, 15 Oct 2026 10:01:50 +0900 Subject: [PATCH 4/6] feat: update Python version from 3.10 to 3.11 across workflows and configuration files --- .github/workflows/1.bump-version.yml | 2 +- .github/workflows/2.build-publish.yml | 2 +- .github/workflows/pre-commit.yml | 2 +- .github/workflows/publish-docs.yml | 2 +- .pre-commit-config.yaml | 4 ++-- .python-version | 2 +- README.md | 2 +- pyproject.toml | 3 +-- 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/1.bump-version.yml b/.github/workflows/1.bump-version.yml index ebbd31a..02da425 100644 --- a/.github/workflows/1.bump-version.yml +++ b/.github/workflows/1.bump-version.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | python -m pip install -U pip diff --git a/.github/workflows/2.build-publish.yml b/.github/workflows/2.build-publish.yml index a96faec..cfd974b 100644 --- a/.github/workflows/2.build-publish.yml +++ b/.github/workflows/2.build-publish.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | python -m pip install -U pip diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 10fd5b9..e5b9614 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.11" - name: Cache pip uses: actions/cache@v6 with: diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index d11be07..9ba7f43 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.11" - name: Install dependencies run: | python -m pip install -U pip diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6037a92..6ed19c3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ fail_fast: true default_language_version: - python: python3.10 + python: python3.11 exclude: | (?x)^( \.git/.* @@ -157,7 +157,7 @@ repos: hooks: - id: pyupgrade name: "๐Ÿ pyupgrade - Upgrade python syntax" - entry: "pyupgrade --py310-plus" + entry: "pyupgrade --py311-plus" files: \.pyi?$ - repo: https://github.com/PyCQA/flake8 diff --git a/.python-version b/.python-version index c8cfe39..2c07333 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.10 +3.11 diff --git a/README.md b/README.md index dfdf645..4b4db0e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This is a template repository for AI/ML model projects. ### 1. ๐Ÿšง Prerequisites -- Install **Python (>= v3.10)** and **pip (>= 23)**: +- Install **Python (>= v3.11)** and **pip (>= 23)**: - **[RECOMMENDED] [Miniconda (v3)](https://www.anaconda.com/docs/getting-started/miniconda/install)** - *[arm64/aarch64] [Miniforge (v3)](https://github.com/conda-forge/miniforge)* - *[Python virtual environment] [venv](https://docs.python.org/3/library/venv.html)* diff --git a/pyproject.toml b/pyproject.toml index a6418c0..3836cae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "simple_model" authors = [{ name = "Batkhuu Byambajav", email = "batkhuu10@gmail.com" }] description = "This is a template module for AI/ML model projects." readme = "README.md" -requires-python = ">=3.10,<4.0" +requires-python = ">=3.11,<4.0" keywords = [ "simple_model", "model", @@ -24,7 +24,6 @@ classifiers = [ "Topic :: Software Development :: Libraries", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", From 9900e43c49c7585192046188cf5dd18d1add820e Mon Sep 17 00:00:00 2001 From: Batkhuu Byambajav Date: Thu, 15 Oct 2026 10:04:03 +0900 Subject: [PATCH 5/6] chore: bump pyupgrade from v3.21.2 to v3.22.0 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ed19c3..ea196d4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -153,7 +153,7 @@ repos: files: \.pyi?$ - repo: https://github.com/asottile/pyupgrade - rev: v3.21.2 + rev: v3.22.0 hooks: - id: pyupgrade name: "๐Ÿ pyupgrade - Upgrade python syntax" From b694e4f74b307497264c20a521898158a15539d1 Mon Sep 17 00:00:00 2001 From: Batkhuu Byambajav Date: Thu, 15 Oct 2026 11:15:39 +0900 Subject: [PATCH 6/6] feat: update Python version to 3.11 in Dockerfiles and documentation --- Dockerfile | 2 +- Dockerfile.gpu | 4 +-- README.md | 36 +++++---------------------- docs/getting-started/installation.md | 29 +++++---------------- docs/getting-started/prerequisites.md | 2 +- pyproject.toml | 1 + 6 files changed, 17 insertions(+), 57 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c44c24..c718052 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 # check=skip=SecretsUsedInArgOrEnv -ARG PYTHON_VERSION=3.10 +ARG PYTHON_VERSION=3.11 ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim-trixie ARG DEBIAN_FRONTEND=noninteractive diff --git a/Dockerfile.gpu b/Dockerfile.gpu index 17489b7..485fbd4 100644 --- a/Dockerfile.gpu +++ b/Dockerfile.gpu @@ -20,7 +20,7 @@ ARG PROJECT_SLUG ENV UV_LINK_MODE=copy -ARG PYTHON_VERSION=3.10 +ARG PYTHON_VERSION=3.11 SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -40,7 +40,7 @@ RUN --mount=type=cache,target=/opt/conda/pkgs,sharing=private \ ca-certificates \ build-essential \ wget && \ - _MINICONDA_VERSION=py310_25.11.1-1 && \ + _MINICONDA_VERSION=py311_26.7.1-1 && \ if [ "${_BUILD_TARGET_ARCH}" == "x86_64" ]; then \ _MINICONDA_FILENAME=Miniconda3-${_MINICONDA_VERSION}-Linux-x86_64.sh && \ export _MINICONDA_URL=https://repo.anaconda.com/miniconda/${_MINICONDA_FILENAME}; \ diff --git a/README.md b/README.md index 4b4db0e..18e3bff 100644 --- a/README.md +++ b/README.md @@ -43,36 +43,19 @@ This is a template repository for AI/ML model projects. [TIP] Skip this step, if you're going to install the package directly from **GitHub** repository. -**2.1.** Prepare projects directory (if not exists): - ```sh -# Create projects directory: mkdir -pv ~/workspaces/projects - -# Enter into projects directory: cd ~/workspaces/projects -``` - -**2.2.** Follow one of the below options **[A]**, **[B]** or **[C]**: -**OPTION A.** Clone the repository: +# HTTPS: +git clone https://github.com/bybatkhuu/model-python-template.git +# Or SSH (development): +git clone git@github.com:bybatkhuu/model-python-template.git -```sh -git clone https://github.com/bybatkhuu/model-python-template.git && \ - cd model-python-template +cd model-python-template ``` -**OPTION B.** Clone the repository (for **DEVELOPMENT**: git + ssh key): - -```sh -git clone git@github.com:bybatkhuu/model-python-template.git && \ - cd model-python-template -``` - -**OPTION C.** Download source code: - -1. Download archived **zip** file from [**releases**](https://github.com/bybatkhuu/model-python-template/releases). -2. Extract it into the projects directory. +Alternatively, download the source from the [**releases**](https://github.com/bybatkhuu/model-python-template/releases) page and extract it into your projects directory. ### 3. ๐Ÿ“ฆ Install the package @@ -229,13 +212,6 @@ simple_model: # Just an example to group t [**`.env.example`**](./.env.example): -```sh -# ENV=LOCAL -# DEBUG=false -# TZ=UTC -# PYTHONDONTWRITEBYTECODE=0 -``` - --- ## ๐Ÿงช Running Tests diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 190d5e5..4691606 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -8,36 +8,19 @@ title: Installation [TIP] Skip this step, if you're going to install the module directly from **git** repository. -**1.1.** Prepare projects directory (if not exists): - ```sh -# Create projects directory: mkdir -pv ~/workspaces/projects - -# Enter into projects directory: cd ~/workspaces/projects -``` - -**1.2.** Follow one of the below options **[A]**, **[B]** or **[C]**: - -**OPTION A.** Clone the repository: -```sh -git clone https://github.com/bybatkhuu/model-python-template.git && \ - cd model-python-template -``` - -**OPTION B.** Clone the repository (for **DEVELOPMENT**: git + ssh key): +# HTTPS: +git clone https://github.com/bybatkhuu/model-python-template.git +# Or SSH (development): +git clone git@github.com:bybatkhuu/model-python-template.git -```sh -git clone git@github.com:bybatkhuu/model-python-template.git && \ - cd model-python-template +cd model-python-template ``` -**OPTION C.** Download source code: - -1. Download archived **zip** file from [**releases**](https://github.com/bybatkhuu/model-python-template/releases). -2. Extract it into the projects directory. +Alternatively, download the source from the [**releases**](https://github.com/bybatkhuu/model-python-template/releases) page and extract it into your projects directory. ## 2. ๐Ÿ“ฆ Install the module diff --git a/docs/getting-started/prerequisites.md b/docs/getting-started/prerequisites.md index d3b1fd2..3885611 100644 --- a/docs/getting-started/prerequisites.md +++ b/docs/getting-started/prerequisites.md @@ -4,7 +4,7 @@ title: Prerequisites # ๐Ÿšง Prerequisites -- Install **Python (>= v3.10)** and **pip (>= 23)**: +- Install **Python (>= v3.11)** and **pip (>= 23)**: - **[RECOMMENDED] [Miniconda (v3)](https://www.anaconda.com/docs/getting-started/miniconda/install)** - *[arm64/aarch64] [Miniforge (v3)](https://github.com/conda-forge/miniforge)* - *[Python virtual environment] [venv](https://docs.python.org/3/library/venv.html)* diff --git a/pyproject.toml b/pyproject.toml index 3836cae..c3806d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dynamic = ["version", "dependencies", "optional-dependencies"]