Skip to content

Commit

Permalink
bump pyversions
Browse files Browse the repository at this point in the history
  • Loading branch information
lorr1 committed Jan 14, 2024
1 parent a6a774b commit 9c2eb9c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.10", "3.11"]
services:
# Label used to access the service container
redis:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: check-merge-conflict
- id: check-added-large-files
- repo: https://github.com/timothycrosley/isort
rev: 5.9.3
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black
Expand Down
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
dev:
pip install -e .[all]
pip install -e git+https://github.com/microsoft/DeepSpeed.git#egg=deepspeed
pre-commit install

test: dev check
pytest tests

deepspeed:
pip install -e git+https://github.com/microsoft/DeepSpeed.git#egg=deepspeed

format:
isort --atomic manifest/ tests/ web_app/
black manifest/ tests/ web_app/

check:
isort -c manifest/ tests/ web_app/
isort -c -v manifest/ tests/ web_app/
black manifest/ tests/ web_app/ --check
flake8 manifest/ tests/ web_app/
mypy manifest/ tests/ web_app/
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
URL = "https://github.com/HazyResearch/manifest"
EMAIL = "[email protected]"
AUTHOR = "Laurel Orr"
REQUIRES_PYTHON = ">=3.8.0"
REQUIRES_PYTHON = ">=3.10.0"
VERSION = main_ns["__version__"]

# What packages are required for this module to be executed?
Expand All @@ -43,12 +43,12 @@
EXTRAS = {
"api": [
"accelerate>=0.10.0",
"deepspeed>=0.7.0",
"deepspeed>=0.10.0",
"diffusers>=0.6.0",
"Flask>=2.1.2",
"sentence_transformers>=2.2.0",
"torch>=1.8.0",
"transformers>=4.29.0,<4.31.0",
"transformers>=4.29.0",
"tokenizers>=0.13.3",
],
"app": [
Expand All @@ -66,7 +66,7 @@
"dev": [
"autopep8>=1.6.0",
"black>=22.3.0",
"isort>=5.9.3",
"isort>=5.13.2",
"flake8>=4.0.0",
"flake8-docstrings>=1.6.0",
"mypy>=0.950",
Expand Down

0 comments on commit 9c2eb9c

Please sign in to comment.