Skip to content

Commit 7e689d6

Browse files
author
Ryan Sinnet
committed
Raise Python minimum version to 3.7
Currently, this package is set to require Python >= 3.6. I propose bumping to Python >= 3.7 to enable the use of f-strings. **Be aware this will almost certainly break things for some users.** Ubuntu 18.04 ships with Python 3.6 so a user would have to use pyenv, virtualenv, a different PPA, or some other method for installing Python or use a Docker container to run this code. Ubuntu 18.04 is still relatively widely used. Ubuntu 20.04 ships with Python 3.8. I have created a prototype Dockerfile in a fork that containerizes this application so that approach seems reasonable and does work. It is also fairly straightforward to install pyenv and that is how I've always run this package. I suggest this as a good time for an upgrade because the API for ttps://bootstrap.pypa.io/get-pip.py just deprecated Python 3.6 to allow f-strings.
1 parent e72148f commit 7e689d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333
],
3434
include_package_data=True,
3535
package_data={'': ['bullet/*', 'README.md']},
36-
python_requires='>=3.6',
36+
python_requires='>=3.7',
3737
)

0 commit comments

Comments
 (0)