Skip to content

Commit fa7b949

Browse files
committed
build(python): Sunset Python 3.6 and support Python 3.11
Fixes commitizen-tools#607 BREAKING CHANGE: Python 3.6 is not supported anymore
1 parent 838878e commit fa7b949

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

.github/workflows/pythonpackage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
python-check:
77
strategy:
88
matrix:
9-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
9+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1010
platform: [ubuntu-latest, macos-latest, windows-latest]
1111
runs-on: ${{ matrix.platform }}
1212
steps:

docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ the version or a changelog.
3838

3939
## Requirements
4040

41-
Python 3.6+
41+
Python 3.7+
4242

4343
[Git][gitscm] `1.8.5.2`+
4444

docs/tutorials/gitlab_ci.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ test:
7474

7575
auto-bump:
7676
stage: auto-bump
77-
image: python:3.6
77+
image: python:3.7
7878
before_script:
7979
- "which ssh-agent || ( apt-get update -qy && apt-get install openssh-client -qqy )"
8080
- eval `ssh-agent -s`

pyproject.toml

+3-6
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,20 @@ classifiers = [
4747
"Operating System :: OS Independent",
4848
"Programming Language :: Python",
4949
"Programming Language :: Python :: 3",
50-
"Programming Language :: Python :: 3.6",
5150
"Programming Language :: Python :: 3.7",
5251
"Programming Language :: Python :: 3.8",
5352
"Programming Language :: Python :: 3.9",
5453
"Programming Language :: Python :: 3.10",
54+
"Programming Language :: Python :: 3.11",
5555
"Programming Language :: Python :: Implementation :: CPython",
5656
]
5757

5858
[tool.poetry.dependencies]
59-
python = "^3.6.2"
59+
python = "^3.7"
6060
questionary = "^1.4.0"
6161
decli = "^0.5.2"
6262
colorama = "^0.4.1"
63-
termcolor = [
64-
{ "version" = "^1.1", python = "< 3.7" },
65-
{ "version" = ">= 1.1, < 3", python = ">= 3.7" },
66-
]
63+
termcolor = ">= 1.1, < 3"
6764
packaging = ">=19,<22"
6865
tomlkit = ">=0.5.3,<1.0.0"
6966
jinja2 = ">=2.10.3"

0 commit comments

Comments
 (0)