Skip to content

Commit e7de7ea

Browse files
committed
ci: Remove Python 3.8; add Python 3.11 to CI matrix.
1 parent 1d37ed2 commit e7de7ea

File tree

7 files changed

+14
-17
lines changed

7 files changed

+14
-17
lines changed

.github/workflows/zulip-ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20-
# Focal ships with Python 3.8.10.
21-
- docker_image: zulip/ci:focal
22-
name: Ubuntu 20.04 (Python 3.8, backend)
23-
os: focal
24-
legacy_client_interface: "3"
25-
server_version: refs/tags/3.2
2620
# Bullseye ships with Python 3.9.2.
2721
- docker_image: zulip/ci:bullseye
2822
name: Debian 11 (Python 3.9, backend)
@@ -35,6 +29,12 @@ jobs:
3529
os: jammy
3630
legacy_client_interface: "6"
3731
server_version: refs/tags/6.0
32+
# Debian 12 ships with Python 3.11.2.
33+
- docker_image: zulip/ci:bookworm
34+
name: Debian 12 (Python 3.11, backend + documentation)
35+
os: bookworm
36+
legacy_client_interface: "7"
37+
server_version: refs/tags/7.0
3838

3939
runs-on: ubuntu-latest
4040
name: ${{ matrix.name }} (Zulip ${{matrix.server_version}})

.github/workflows/zulip-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- name: Set up Python 3.8
16+
- name: Set up Python 3.9
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: "3.8"
19+
python-version: "3.9"
2020

2121
- name: Install dependencies
2222
run: tools/provision --force
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
os: [ubuntu-latest, windows-latest]
35-
python-version: ["3.8", "3.9", "3.10", "3.11"]
35+
python-version: ["3.9", "3.10", "3.11"]
3636

3737
steps:
3838
- uses: actions/checkout@v4

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 100
3-
target-version = ["py38"]
3+
target-version = ["py39"]
44

55
[tool.isort]
66
src_paths = [

zulip/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The [Zulip API](https://zulip.com/api) Python bindings require the
44
following dependencies:
55

6-
* **Python (version >= 3.8)**
6+
* **Python (version >= 3.9)**
77
* requests (version >= 0.12.1)
88

99
**Note**: If you'd like to use the Zulip bindings with Python 2, we

zulip/setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ def recur_expand(target_root: Any, dir: Any) -> Generator[Tuple[str, List[str]],
4242
"License :: OSI Approved :: Apache Software License",
4343
"Topic :: Communications :: Chat",
4444
"Programming Language :: Python :: 3",
45-
"Programming Language :: Python :: 3.8",
4645
"Programming Language :: Python :: 3.9",
4746
"Programming Language :: Python :: 3.10",
4847
"Programming Language :: Python :: 3.11",
4948
],
50-
python_requires=">=3.8",
49+
python_requires=">=3.9",
5150
url="https://www.zulip.org/",
5251
project_urls={
5352
"Source": "https://github.com/zulip/python-zulip-api/",

zulip_bots/setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@
3232
"License :: OSI Approved :: Apache Software License",
3333
"Topic :: Communications :: Chat",
3434
"Programming Language :: Python :: 3",
35-
"Programming Language :: Python :: 3.8",
3635
"Programming Language :: Python :: 3.9",
3736
"Programming Language :: Python :: 3.10",
3837
"Programming Language :: Python :: 3.11",
3938
],
40-
python_requires=">=3.8",
39+
python_requires=">=3.9",
4140
url="https://www.zulip.org/",
4241
project_urls={
4342
"Source": "https://github.com/zulip/python-zulip-api/",

zulip_botserver/setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@
2020
"License :: OSI Approved :: Apache Software License",
2121
"Topic :: Communications :: Chat",
2222
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.8",
2423
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",
2726
],
28-
python_requires=">=3.8",
27+
python_requires=">=3.9",
2928
url="https://www.zulip.org/",
3029
project_urls={
3130
"Source": "https://github.com/zulip/python-zulip-api/",

0 commit comments

Comments
 (0)