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 beddba6..66e94ed 100644 --- a/.github/workflows/2.build-publish.yml +++ b/.github/workflows/2.build-publish.yml @@ -26,7 +26,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 626e385..449b2c8 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/.* @@ -123,22 +123,22 @@ repos: # --- Python --- - repo: https://github.com/psf/black - rev: 26.5.1 + rev: 26.10.1 hooks: - id: black name: "🐍 black - Format python code" files: \.pyi?$ - repo: https://github.com/asottile/pyupgrade - rev: v3.21.2 + rev: v3.22.0 hooks: - id: pyupgrade name: "🐍 pyupgrade - Upgrade python syntax" - entry: "pyupgrade --py310-plus" + entry: "pyupgrade --py311-plus" files: \.pyi?$ - repo: https://github.com/PyCQA/flake8 - rev: 7.3.0 + rev: 7.4.1 hooks: - id: flake8 name: "🐍 flake8 - Lint python code" 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 b97b93e..218268a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This is a template repository for python module 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 147a51e..1ae0af6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=82.0.1,<84.0.0", "setuptools-scm>=8.0.4,<11.0.0"] +requires = ["setuptools>=82.0.1,<85.0.0", "setuptools-scm>=8.0.4,<11.0.0"] build-backend = "setuptools.build_meta" [project] @@ -7,7 +7,7 @@ name = "my_module01" authors = [{ name = "Batkhuu Byambajav", email = "batkhuu10@gmail.com" }] description = "This is a template module for python projects." readme = "README.md" -requires-python = ">=3.10,<4.0" +requires-python = ">=3.11,<4.0" keywords = ["my_module01", "template", "module", "python", "package"] license-files = ["LICEN[CS]E*"] classifiers = [ @@ -16,10 +16,10 @@ 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", + "Programming Language :: Python :: 3.14", ] dynamic = ["version", "dependencies", "optional-dependencies"] 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