Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bump whats_left.py python version
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
  • Loading branch information
arihant2math committed Feb 12, 2025
commit 1f0ea4e1432a4be5ef5815bef18b03bd45e3ae08
4 changes: 2 additions & 2 deletions whats_left.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
implementation = platform.python_implementation()
if implementation != "CPython":
sys.exit(f"whats_left.py must be run under CPython, got {implementation} instead")
if sys.version_info[:2] < (3, 12):
sys.exit(f"whats_left.py must be run under CPython 3.12 or newer, got {implementation} {sys.version} instead")
if sys.version_info[:2] < (3, 13):
sys.exit(f"whats_left.py must be run under CPython 3.13 or newer, got {implementation} {sys.version} instead")

def parse_args():
parser = argparse.ArgumentParser(description="Process some integers.")
Expand Down