Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit74f66c7

Browse files
committed
feat(build): officially support Python 3.11
1 parent31a39e1 commit74f66c7

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

‎.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
-name:Set up Python
2727
uses:actions/setup-python@v4.3.0
2828
with:
29-
python-version:"3.10"
29+
python-version:"3.11"
3030
-name:Install dependencies
3131
run:pip install tox
3232
-name:Build docs
@@ -46,7 +46,7 @@ jobs:
4646
-name:Set up Python
4747
uses:actions/setup-python@v4.3.0
4848
with:
49-
python-version:"3.10"
49+
python-version:"3.11"
5050
-name:Install dependencies
5151
run:pip install tox twine wheel
5252
-name:Check twine readme rendering

‎.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fetch-depth:0
2828
-uses:actions/setup-python@v4.3.0
2929
with:
30-
python-version:"3.10"
30+
python-version:"3.11"
3131
-run:pip install --upgrade tox
3232
-name:Run commitizen (https://commitizen-tools.github.io/commitizen/)
3333
run:tox -e cz

‎.github/workflows/pre_commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
-uses:actions/checkout@v3.1.0
3333
-uses:actions/setup-python@v4.3.0
3434
with:
35-
python-version:"3.10"
35+
python-version:"3.11"
3636
-name:install tox
3737
run:pip install tox==3.26.0
3838
-name:pre-commit

‎.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ jobs:
2626
os:[ubuntu-latest]
2727
python:
2828
-version:"3.7"
29-
toxenv:py37
29+
toxenv:py37,smoke
3030
-version:"3.8"
31-
toxenv:py38
31+
toxenv:py38,smoke
3232
-version:"3.9"
33-
toxenv:py39
33+
toxenv:py39,smoke
3434
-version:"3.10"
3535
toxenv:py310,smoke
36-
-version:'3.11.0-alpha - 3.11'# SemVer's version range syntax
36+
-version:"3.11"
3737
toxenv:py311,smoke
3838
include:
3939
-os:macos-latest
4040
python:
41-
version:"3.10"
41+
version:"3.11"
4242
toxenv:py310,smoke
4343
-os:windows-latest
4444
python:
45-
version:"3.10"
45+
version:"3.11"
4646
toxenv:py310,smoke
4747
steps:
4848
-uses:actions/checkout@v3.1.0
@@ -67,7 +67,7 @@ jobs:
6767
-name:Set up Python
6868
uses:actions/setup-python@v4.3.0
6969
with:
70-
python-version:"3.10"
70+
python-version:"3.11"
7171
-name:Install dependencies
7272
run:pip install tox
7373
-name:Run tests
@@ -88,7 +88,7 @@ jobs:
8888
-name:Set up Python ${{ matrix.python-version }}
8989
uses:actions/setup-python@v4.3.0
9090
with:
91-
python-version:"3.10"
91+
python-version:"3.11"
9292
-name:Install dependencies
9393
run:pip install tox
9494
-name:Run tests

‎Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
ARG PYTHON_FLAVOR=alpine
2-
FROM python:3.10-${PYTHON_FLAVOR} AS build
2+
FROM python:3.11-${PYTHON_FLAVOR} AS build
33

44
WORKDIR /opt/python-gitlab
55
COPY . .
66
RUN python setup.py bdist_wheel
77

8-
FROM python:3.10-${PYTHON_FLAVOR}
8+
FROM python:3.11-${PYTHON_FLAVOR}
99

1010
WORKDIR /opt/python-gitlab
1111
COPY --from=build /opt/python-gitlab/dist dist/

‎setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def get_version() -> str:
4848
"Programming Language :: Python :: 3.8",
4949
"Programming Language :: Python :: 3.9",
5050
"Programming Language :: Python :: 3.10",
51+
"Programming Language :: Python :: 3.11",
5152
],
5253
extras_require={
5354
"autocompletion": ["argcomplete>=1.10.0,<3"],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp