Skip to content

Commit 572874a

Browse files
committed
setup/lint-and-test: Add initial CPython 3.12 testing support.
1 parent 9ba89f6 commit 572874a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/lint-and-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ jobs:
239239
- {PYTHON: 3.9, OS: ubuntu-latest, NAME: "CPython 3.9 (ubuntu)", EXPECT: "Linux"}
240240
- {PYTHON: "3.10", OS: ubuntu-latest, NAME: "CPython 3.10 (ubuntu)", EXPECT: "Linux"}
241241
- {PYTHON: "3.11", OS: ubuntu-latest, NAME: "CPython 3.11 (ubuntu)", EXPECT: "Linux"}
242+
- {PYTHON: "3.12", OS: ubuntu-latest, NAME: "CPython 3.12 (ubuntu)", EXPECT: "Linux"}
242243
- {PYTHON: 'pypy-3.7', OS: ubuntu-latest, NAME: "PyPy 3.7 (ubuntu)", EXPECT: "Linux"}
243244
- {PYTHON: 'pypy-3.8', OS: ubuntu-latest, NAME: "PyPy 3.8 (ubuntu)", EXPECT: "Linux"}
244245
- {PYTHON: 'pypy-3.9', OS: ubuntu-latest, NAME: "PyPy 3.9 (ubuntu)", EXPECT: "Linux"}

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def long_description():
7676
"Programming Language :: Python :: 3.9",
7777
"Programming Language :: Python :: 3.10",
7878
"Programming Language :: Python :: 3.11",
79+
"Programming Language :: Python :: 3.12",
7980
"Programming Language :: Python :: Implementation :: CPython",
8081
"Programming Language :: Python :: Implementation :: PyPy",
8182
],
@@ -85,7 +86,7 @@ def long_description():
8586
"Issues": "https://github.com/zulip/zulip-terminal/issues",
8687
"Hot Keys": "https://github.com/zulip/zulip-terminal/blob/main/docs/hotkeys.md",
8788
},
88-
python_requires=">=3.7, <3.12",
89+
python_requires=">=3.7, <3.13",
8990
keywords="",
9091
packages=find_packages(exclude=["tests", "tests.*"]),
9192
zip_safe=True,

0 commit comments

Comments
 (0)