Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/1.bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/2.build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fail_fast: true
default_language_version:
python: python3.10
python: python3.11
exclude: |
(?x)^(
\.git/.*
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.11
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)*
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[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]
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 = [
Expand All @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.build.txt
Original file line number Diff line number Diff line change
@@ -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
Loading