Closed BigglesZX closed 5 years ago
@BigglesZX thanks for the info. In fact both packages are maintained by me, so I was aware of the discontinued Python 2 support. Just for the record, this packages also no longer officially supports Python 2.
Since we are at it, I must highly encourage you to upgrade to Python 3. Python 2 reaches end of life in December.
Just a note that
measurement
has now published version 3.0.0 which drops support for Python 2.x. That library is referenced as a dependency ofdjango-measurement
using the specificationmeasurement>=1.6
. This means that in Python 2.x environments installation ofdjango-measurement
will now fail, sincemeasurement
3.0.0 will be selected, and 3.0.0 includes a dependency on a version ofsphinx
that requires Python >=3.5 for installation.A workaround I found for this is to add
measurement<3.0.0
to yourrequirements.txt
orsetup.py
file in addition todjango-measurement
. This ensures the 2.x-compatible version ofmeasurement
is resolved as a dependency when installingdjango-measurement
.Hope that helps someone else running into this issue. Thanks for a great package!