Skip to content

Commit

Permalink
check in init
Browse files Browse the repository at this point in the history
  • Loading branch information
madhur-ob committed May 21, 2024
1 parent 887d948 commit 472bbec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
4 changes: 1 addition & 3 deletions metaflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,8 @@ class and related decorators.
from . import tuple_util

# Runner API
try:
if sys.version_info >= (3, 7):
from .metaflow_runner import Runner
except RuntimeError:
pass

__version_addl__ = []
_ext_debug("Loading top-level modules")
Expand Down
8 changes: 0 additions & 8 deletions metaflow/metaflow_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
import asyncio
import tempfile
from typing import Dict, Optional

if sys.version_info < (3, 7):
raise RuntimeError(
"""
The Metaflow Programmatic API is not supported for versions of Python less than 3.7
"""
)

from metaflow import Run
from metaflow.subprocess_manager import SubprocessManager, CommandManager

Expand Down

0 comments on commit 472bbec

Please sign in to comment.