Skip to content

Commit e568ea1

Browse files
committed
Update minimum version and stability fix
1 parent ce5134a commit e568ea1

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "together"
7-
version = "0.0.6"
7+
version = "0.0.7"
88
authors = [
99
{ name="Together Computer", email="[email protected]" },
1010
]
11-
description = "Coming soon!"
11+
description = "Python client for Together's Cloud Platform!"
1212
readme = "README.md"
1313
license = {file = "LICENSE"}
14-
requires-python = ">=3.10"
14+
requires-python = ">=3.6"
1515
classifiers = [
1616
"Programming Language :: Python :: 3",
1717
"License :: OSI Approved :: Apache Software License",

src/together/cli/cli.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ def main() -> None:
4040
args = parser.parse_args()
4141

4242
# Setup logging
43-
logger = get_logger(__name__, log_level=args.log)
43+
try:
44+
logger = get_logger(__name__, log_level=args.log)
45+
except Exception:
46+
logger = get_logger(__name__, log_level="WARNING")
4447

4548
try:
4649
args.func(args)
@@ -49,6 +52,7 @@ def main() -> None:
4952
if str(e) != "'Namespace' object has no attribute 'func'":
5053
logger.critical(f"Error raised: {e}")
5154
exit_1(logger)
55+
parser.print_help()
5256

5357

5458
if __name__ == "__main__":

0 commit comments

Comments
 (0)