Python 2 is no longer being maintained as of Jan 1, 2020.
The first PySpark release in 2020 will drop Python 2.
Users on Python 2 can continue to use old versions of Sparkmagic, but we should be strongly discouraging Python 2 usage.
Important: add metadata to setup.py to say "this only supports Python 3 or later", and then pip will automatically pick the right version of SparkMagic. Specifically python_requires=">=3.5" or something along those lines.
Users on Python 2 can continue to use old versions of Sparkmagic, but we should be strongly discouraging Python 2 usage.
Important: add metadata to
setup.py
to say "this only supports Python 3 or later", and thenpip
will automatically pick the right version of SparkMagic. Specificallypython_requires=">=3.5"
or something along those lines.