Skip to content

v0.27.0 Deprecate Python 2 Support

Compare
Choose a tag to compare
@kevinconway kevinconway released this 15 Jan 15:15
· 27 commits to master since this release
becab7c

Python 2, itself, was discontinued on 2020-01-01. Since then, libraries that rpmvenv depends on have started breaking compatibility with Python 2 or even adding code that prevents the use of that library in Python 2 regardless of compatibility. It has also become increasingly difficult to support code that works from Python 2.6 to the most recent versions of Python 3.

The last releases that support Python 2 are version 0.27.0 and 1.0.0. These are both the same release. There will be no more releases in the 0.x or 1.x ranges.

If you are using Python 2 then here is an example requirements.txt that has dependencies pinned to the last known versions that support Python 2:

jinja2==2.11.3
venvctrl>=0.5.0,<2.0.0
argparse>=1.4.0,<2.0.0
confpy>=0.11.0,<2.0.0
ordereddict>=1.1.0,<2.0.0
semver>=2.9.1,<3.0.0