Skip to content

Commit

Permalink
chore(deps): enforce python_requires>=3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
YodaEmbedding committed Feb 2, 2024
1 parent 630f15a commit fe591e7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 15 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ jobs:
strategy:
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
include:
- os: "ubuntu-latest"
# no Python 3.6 in ubuntu>20.04.
- os: "ubuntu-20.04"
python-version: "3.6"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ jobs:
strategy:
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
include:
- os: "ubuntu-latest"
# no Python 3.6 in ubuntu>20.04.
- os: "ubuntu-20.04"
python-version: "3.6"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ wheel:
expire_in: 1 day
parallel:
matrix:
- PYTHON_VERSION: ['3.6', '3.7', '3.8', '3.9']
- PYTHON_VERSION: ['3.7', '3.8', '3.9']
tags:
- docker

sdist:
image: python:3.6-buster
image: python:3.7-buster
stage: build
before_script:
- pip install build
Expand All @@ -51,7 +51,7 @@ flake8:

black:
stage: static-analysis
image: python:3.6-buster
image: python:3.7-buster
before_script:
- python --version
- pip install black
Expand All @@ -62,7 +62,7 @@ black:

isort:
stage: static-analysis
image: python:3.6-buster
image: python:3.7-buster
before_script:
- python --version
- pip install .
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CompressAI currently provides:
## Installation

CompressAI supports python 3.6+ and PyTorch 1.7+.
CompressAI supports python 3.7+ and PyTorch 1.7+.

**pip**:

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def get_extra_requirements():
author_email="[email protected]",
packages=find_packages(exclude=("tests",)),
zip_safe=False,
python_requires=">=3.6",
python_requires=">=3.7",
install_requires=[
"einops",
"numpy",
Expand Down

0 comments on commit fe591e7

Please sign in to comment.