Skip to content

Updated python 3.10 to 3.11 - #71

Merged
bybatkhuu merged 9 commits into
mainfrom
dev
Oct 15, 2026
Merged

bybatkhuu merged 9 commits into
mainfrom
dev

Conversation

@bybatkhuu

Copy link
Copy Markdown
Owner

This pull request upgrades the project's Python version support from 3.10 to 3.11 across all environments, updates related dependencies and configuration files, and improves documentation for installation and setup. These changes ensure compatibility with the latest Python features and tooling, streamline environment setup, and clarify instructions for users.

Python version upgrade and environment configuration:

  • Updated Python version from 3.10 to 3.11 in workflow files (.github/workflows/1.bump-version.yml, 2.build-publish.yml, pre-commit.yml, publish-docs.yml), .pre-commit-config.yaml, .python-version, Dockerfile, and Dockerfile.gpu to standardize on Python 3.11. [1] [2] [3] [4] [5] [6] [7] [8]
  • Updated Miniconda version and installation logic in Dockerfile.gpu to match Python 3.11.

Dependency and pre-commit tool updates:

  • Upgraded pre-commit hooks: black to 26.10.1, pyupgrade to v3.22.0 (now using --py311-plus), and flake8 to 7.4.1 in .pre-commit-config.yaml.
  • Expanded setuptools version range in pyproject.toml and requirements/requirements.build.txt to allow up to <85.0.0. [1] [2]

Project metadata and compatibility:

  • Updated pyproject.toml to require Python >=3.11 and added classifier for Python 3.14, while removing the 3.10 classifier. [1] [2]

Documentation improvements:

  • Updated installation and prerequisites instructions in README.md and documentation files to reference Python 3.11 and clarified project setup steps. [1] [2] [3] [4]
  • Cleaned up redundant or outdated instructions and example sections in README.md.

dependabot Bot and others added 9 commits August 12, 2026 16:03
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](pypa/setuptools@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] <support@github.com>
…te-82.0.1-and-lt-85.0.0

build(deps): update setuptools requirement from <84.0.0,>=82.0.1 to >=82.0.1,<85.0.0
Bumps [https://github.com/PyCQA/flake8](https://github.com/PyCQA/flake8) from 7.3.0 to 7.4.1.
- [Commits](PyCQA/flake8@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] <support@github.com>
…-/github.com/PyCQA/flake8-7.4.1

build(deps): bump https://github.com/PyCQA/flake8 from 7.3.0 to 7.4.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](psf/black@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] <support@github.com>
…-/github.com/psf/black-26.10.1

build(deps): bump https://github.com/psf/black from 26.5.1 to 26.10.1
@bybatkhuu bybatkhuu self-assigned this Oct 15, 2026
Copilot AI balanced review requested due to automatic review settings October 15, 2026 02:19
@bybatkhuu bybatkhuu added documentation [📝 Documentation] Improvements or additions to documentation dependency [📌 Dependencies] dockerfile [🐳 Docker] feature [✨ Features] MINOR version labels Oct 15, 2026
@bybatkhuu
bybatkhuu merged commit adf9ff2 into main Oct 15, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The configuration and documentation changes align with the Python upgrade, with no identified blocking issues.

0 open findings

What changed in this PR

Standardizes the project on Python 3.11 across packaging, development, CI, and containers.

Changes:

  • Raises the minimum Python version and updates environment defaults.
  • Refreshes pre-commit tools, Miniconda, and setuptools constraints.
  • Simplifies installation documentation.
File Description
requirements/​requirements.build.txt Expands the setuptools version range.
README.md Updates prerequisites and simplifies setup instructions.
pyproject.toml Raises minimum Python, adds the 3.14 classifier, and updates setuptools constraints.
docs/​getting-started/​prerequisites.md Documents Python 3.11 minimum.
docs/​getting-started/​installation.md Simplifies repository setup instructions.
Dockerfile.gpu Updates Python and Miniconda defaults.
Dockerfile Defaults to Python 3.11.
.python-version Selects Python 3.11 locally.
.pre-commit-config.yaml Updates Python, hooks, and syntax target.
.github/​workflows/​publish-docs.yml Builds documentation with Python 3.11.
.github/​workflows/​pre-commit.yml Runs checks with Python 3.11.
.github/​workflows/​2.build-publish.yml Builds packages with Python 3.11.
.github/​workflows/​1.bump-version.yml Runs version updates with Python 3.11.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency [📌 Dependencies] dockerfile [🐳 Docker] documentation [📝 Documentation] Improvements or additions to documentation feature [✨ Features] MINOR version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants