Skip to content

Commit

Permalink
Raise Python minimum version to 3.7
Browse files Browse the repository at this point in the history
Currently, this package is set to require Python >= 3.6. I propose
bumping to Python >= 3.7 since Python 3.6 is no longer receiving
security updates.

**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.
  • Loading branch information
Ryan Sinnet committed May 6, 2022
1 parent e72148f commit 434c809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
],
include_package_data=True,
package_data={'': ['bullet/*', 'README.md']},
python_requires='>=3.6',
python_requires='>=3.7',
)

0 comments on commit 434c809

Please sign in to comment.