-
-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Remove Python 3.8; add Python 3.12. #842
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,6 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
# Focal ships with Python 3.8.10. | ||
- docker_image: zulip/ci:focal | ||
name: Ubuntu 20.04 (Python 3.8, backend) | ||
os: focal | ||
legacy_client_interface: "3" | ||
server_version: refs/tags/3.2 | ||
# Bullseye ships with Python 3.9.2. | ||
- docker_image: zulip/ci:bullseye | ||
name: Debian 11 (Python 3.9, backend) | ||
|
@@ -35,6 +29,18 @@ jobs: | |
os: jammy | ||
legacy_client_interface: "6" | ||
server_version: refs/tags/6.0 | ||
# Debian 12 ships with Python 3.11.2. | ||
- docker_image: zulip/ci:bookworm | ||
name: Debian 12 (Python 3.11, backend + documentation) | ||
os: bookworm | ||
legacy_client_interface: "7" | ||
server_version: refs/tags/7.0 | ||
# Ubuntu 24.04 ships with Python 3.12.3. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Though, the Zulip workflow mentions 3.12.2, the actual version used now seems to be 3.12.3. |
||
- docker_image: zulip/ci:noble | ||
name: Ubuntu 24.04 (Python 3.12, backend) | ||
os: noble | ||
legacy_client_interface: "8" | ||
server_version: refs/tags/8.5 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Earliest minor Zulip version that supports the platform is 8.3. But, 8.3 and 8.4 are unable to use Traceback
|
||
|
||
runs-on: ubuntu-latest | ||
name: ${{ matrix.name }} (Zulip ${{matrix.server_version}}) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.black] | ||
line-length = 100 | ||
target-version = ["py38"] | ||
target-version = ["py39"] | ||
|
||
[tool.isort] | ||
src_paths = [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,12 +32,12 @@ | |
"License :: OSI Approved :: Apache Software License", | ||
"Topic :: Communications :: Chat", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
], | ||
python_requires=">=3.8", | ||
python_requires=">=3.9", | ||
url="https://www.zulip.org/", | ||
project_urls={ | ||
"Source": "https://github.com/zulip/python-zulip-api/", | ||
|
@@ -56,7 +56,7 @@ | |
"lxml", | ||
"BeautifulSoup4", | ||
"typing_extensions>=4.5.0", | ||
'importlib-metadata >= 3.6; python_version < "3.10"', | ||
"importlib-metadata>=3.6", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix for #829, included in this commit as it is necessary for the Py 3.12 tests (but not for the 3.11 one). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, isn't the point of #829 that we can just drop this dependency and use the built-in module in 3.10? Or do we need to wait until we drop 3.9 support to drop it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, we can't drop it before dropping 3.9 support. |
||
], | ||
packages=find_packages(), | ||
package_data=package_data, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Earliest major Zulip version that has the same entry in its matrix.