Skip to content

Commit f7065d6

Browse files
kahneChanghan Wang
andauthored
Drop Python 3.9 and 3.10 support (#118)
Both are end-of-life (or nearly so). Bump the minimum supported version to 3.11 in packaging metadata, CI matrix, and docs. Co-authored-by: Changhan Wang <changhan@meta.com>
1 parent 59e1f05 commit f7065d6

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
fail-fast: false
3939
matrix:
4040
os: [ubuntu-latest, macos-latest]
41-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
41+
python-version: ["3.11", "3.12", "3.13"]
4242
runs-on: ${{ matrix.os }}
4343
steps:
4444
- uses: actions/checkout@v4
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/checkout@v4
6767
- uses: actions/setup-python@v5
6868
with:
69-
python-version: "3.10"
69+
python-version: "3.11"
7070
- name: Install VizSeq with embedding dependencies
7171
run: pip install -e .[embeddings]
7272
- name: Download example data
@@ -80,8 +80,7 @@ jobs:
8080
- uses: actions/checkout@v4
8181
- uses: actions/setup-python@v5
8282
with:
83-
# torch<2.0 (via [all] -> embeddings) ships no cp311 wheel
84-
python-version: "3.10"
83+
python-version: "3.11"
8584
- run: sudo apt-get update && sudo apt-get install -y libsndfile1
8685
- name: Install VizSeq
8786
run: pip install -e .[all] pytest pytest-cov

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ a normal Python package.
4444
## Getting Started
4545

4646
### Installation
47-
VizSeq requires **Python 3.9+** and currently runs on **Unix/Linux** and **macOS/OS X**. It will support **Windows** as well in the future.
47+
VizSeq requires **Python 3.11+** and currently runs on **Unix/Linux** and **macOS/OS X**. It will support **Windows** as well in the future.
4848

4949
You can install VizSeq from PyPI repository:
5050
```bash

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ name = "vizseq"
77
version = "0.2.0"
88
description = "Visual Analysis Toolkit for Text Generation Tasks"
99
readme = "README.md"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.11"
1111
license = { file = "LICENSE" }
1212
classifiers = [
1313
"Intended Audience :: Science/Research",
1414
"Programming Language :: Python :: 3 :: Only",
15-
"Programming Language :: Python :: 3.9",
16-
"Programming Language :: Python :: 3.10",
1715
"Programming Language :: Python :: 3.11",
1816
"Programming Language :: Python :: 3.12",
1917
"Programming Language :: Python :: 3.13",

website/docs/getting_started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_label: Installation
66

77
import useBaseUrl from '@docusaurus/useBaseUrl';
88

9-
VizSeq requires **Python 3.9+** and currently runs on **Unix/Linux** and **macOS/OS X**. It will support **Windows** as
9+
VizSeq requires **Python 3.11+** and currently runs on **Unix/Linux** and **macOS/OS X**. It will support **Windows** as
1010
well in the future.
1111

1212
You can install VizSeq from PyPI repository:

0 commit comments

Comments
 (0)