Skip to content

Commit 23136e3

Browse files
committed
chore(deps): python_requires>=3.7
Drop Python 3.6 support since `torch-geometric>=2.3.0` requires Python 3.7+. Python 3.6 (released 2016) went EOL in 2021, and Ubuntu 18.04 LTS went EOL in 2023.
1 parent bc39e93 commit 23136e3

File tree

6 files changed

+7
-15
lines changed

6 files changed

+7
-15
lines changed

.github/workflows/pytest.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@ jobs:
88
strategy:
99
matrix:
1010
python-version:
11-
- "3.6"
1211
- "3.7"
1312
- "3.8"
1413
- "3.9"
1514
include:
1615
- os: "ubuntu-latest"
17-
# no Python 3.6 in ubuntu>20.04.
18-
- os: "ubuntu-20.04"
19-
python-version: "3.6"
2016
steps:
2117
- uses: actions/checkout@v3
2218
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: macos-latest
3939
strategy:
4040
matrix:
41-
python-version: [3.6, 3.7, 3.8, 3.9]
41+
python-version: [3.7, 3.8, 3.9]
4242
steps:
4343
- uses: actions/checkout@v2
4444
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/static-analysis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@ jobs:
88
strategy:
99
matrix:
1010
python-version:
11-
- "3.6"
1211
- "3.7"
1312
- "3.8"
1413
- "3.9"
1514
include:
1615
- os: "ubuntu-latest"
17-
# no Python 3.6 in ubuntu>20.04.
18-
- os: "ubuntu-20.04"
19-
python-version: "3.6"
2016
steps:
2117
- uses: actions/checkout@v3
2218
- name: Set up Python ${{ matrix.python-version }}

.gitlab-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ wheel:
2424
expire_in: 1 day
2525
parallel:
2626
matrix:
27-
- PYTHON_VERSION: ['3.6', '3.7', '3.8', '3.9']
27+
- PYTHON_VERSION: ['3.7', '3.8', '3.9']
2828
tags:
2929
- docker
3030

3131
sdist:
32-
image: python:3.6-buster
32+
image: python:3.7-buster
3333
stage: build
3434
before_script:
3535
- pip install build
@@ -51,7 +51,7 @@ flake8:
5151

5252
black:
5353
stage: static-analysis
54-
image: python:3.6-buster
54+
image: python:3.7-buster
5555
before_script:
5656
- python --version
5757
- pip install black
@@ -62,7 +62,7 @@ black:
6262

6363
isort:
6464
stage: static-analysis
65-
image: python:3.6-buster
65+
image: python:3.7-buster
6666
before_script:
6767
- python --version
6868
- pip install .

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompressAI currently provides:
2424
2525
## Installation
2626

27-
CompressAI supports python 3.6+ and PyTorch 1.7+.
27+
CompressAI supports python 3.7+ and PyTorch 1.7+.
2828

2929
**pip**:
3030

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def get_extra_requirements():
133133
author_email="compressai@interdigital.com",
134134
packages=find_packages(exclude=("tests",)),
135135
zip_safe=False,
136-
python_requires=">=3.6",
136+
python_requires=">=3.7",
137137
install_requires=[
138138
"einops",
139139
"numpy",

0 commit comments

Comments
 (0)