Skip to content

Commit b60c783

Browse files
committed
feat: update Python version from 3.10 to 3.11 across workflows and configuration files
1 parent c059f9b commit b60c783

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎.github/workflows/1.bump-version.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Python
2222
uses: actions/setup-python@v7
2323
with:
24-
python-version: "3.10"
24+
python-version: "3.11"
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install -U pip

‎.github/workflows/2.build-publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v7
2828
with:
29-
python-version: "3.10"
29+
python-version: "3.11"
3030
- name: Install dependencies
3131
run: |
3232
python -m pip install -U pip

‎.github/workflows/pre-commit.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python
2424
uses: actions/setup-python@v7
2525
with:
26-
python-version: "3.10"
26+
python-version: "3.11"
2727
- name: Cache pip
2828
uses: actions/cache@v6
2929
with:

‎.github/workflows/publish-docs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python
2424
uses: actions/setup-python@v7
2525
with:
26-
python-version: "3.10"
26+
python-version: "3.11"
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install -U pip

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
fail_fast: true
22
default_language_version:
3-
python: python3.10
3+
python: python3.11
44
exclude: |
55
(?x)^(
66
\.git/.*
@@ -134,7 +134,7 @@ repos:
134134
hooks:
135135
- id: pyupgrade
136136
name: "🐍 pyupgrade - Upgrade python syntax"
137-
entry: "pyupgrade --py310-plus"
137+
entry: "pyupgrade --py311-plus"
138138
files: \.pyi?$
139139

140140
- repo: https://github.com/PyCQA/flake8

‎.python-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10
1+
3.11

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This is a template repository for python module projects.
2323

2424
### 1. 🚧 Prerequisites
2525

26-
- Install **Python (>= v3.10)** and **pip (>= 23)**:
26+
- Install **Python (>= v3.11)** and **pip (>= 23)**:
2727
- **[RECOMMENDED] [Miniconda (v3)](https://www.anaconda.com/docs/getting-started/miniconda/install)**
2828
- *[arm64/aarch64] [Miniforge (v3)](https://github.com/conda-forge/miniforge)*
2929
- *[Python virtual environment] [venv](https://docs.python.org/3/library/venv.html)*

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "my_module01"
77
authors = [{ name = "Batkhuu Byambajav", email = "batkhuu10@gmail.com" }]
88
description = "This is a template module for python projects."
99
readme = "README.md"
10-
requires-python = ">=3.10,<4.0"
10+
requires-python = ">=3.11,<4.0"
1111
keywords = ["my_module01", "template", "module", "python", "package"]
1212
license-files = ["LICEN[CS]E*"]
1313
classifiers = [
@@ -16,10 +16,10 @@ classifiers = [
1616
"Topic :: Software Development :: Libraries",
1717
"Operating System :: OS Independent",
1818
"Programming Language :: Python :: 3",
19-
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",
2221
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2323
]
2424
dynamic = ["version", "dependencies", "optional-dependencies"]
2525

0 commit comments

Comments
 (0)