Skip to content

Commit

Permalink
Bump required Python version everywhere
Browse files Browse the repository at this point in the history
The required Python version was bumped to 3.6 in e965e58 (because we
now use f-strings), but README.md and setup.py weren’t updated.
  • Loading branch information
lucaswerkmeister authored and poettering committed Nov 10, 2018
1 parent 5eccb8f commit a415718
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -397,7 +397,7 @@ in addition to `debootstrap`, depending on what kind of distribution images
you want to build. `debootstrap` on Debian only pulls in the Debian keyring
on its own, and the version on Ubuntu only the one from Ubuntu.

Note that the minimum required Python version is 3.5.
Note that the minimum required Python version is 3.6.

If SecureBoot signing is to be used, then the "sbsign" tool needs to
be installed as well, which is currently not available on Fedora, but
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -3,8 +3,8 @@

import sys

if sys.version_info < (3, 5):
sys.exit("Sorry, we need at least Python 3.5.")
if sys.version_info < (3, 6):
sys.exit("Sorry, we need at least Python 3.6.")

from setuptools import setup

Expand Down

0 comments on commit a415718

Please sign in to comment.