Skip to content

Commit

Permalink
Fix #979. Do not run against 3.11. Only run against any 3.10. See dec…
Browse files Browse the repository at this point in the history
…ision document on Python upgrade for details.
  • Loading branch information
rt121212121 committed Nov 13, 2022
1 parent ebb5884 commit d856329
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions electrumsv/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ def run_app_with_daemon(fd: int, is_gui: bool=False) -> None:


def enforce_requirements() -> None:
if sys.version_info[:3] < (3, 10, 0):
sys.exit("Error: ElectrumSV requires Python version >= 3.10.0...")
if sys.version_info[:3] < (3, 10, 0) or sys.version_info[:3] >= (3, 11, 0):
sys.exit("ERROR: ElectrumSV requires Python version 3.10")

# Are we running from source, and do we have the requirements? If not we do not apply.
requirement_path = os.path.join(
Expand Down

0 comments on commit d856329

Please sign in to comment.