glyph / automat

Self-service finite-state machines for the programmer on the go.
MIT License
591 stars 65 forks source link

Use setuptools-scm that is compat with Python2 #131

Closed ahalam closed 3 years ago

ahalam commented 3 years ago

The setuptools-scm >= 6.0.0 is now Python 3 only. https://pypi.org/project/setuptools-scm/6.0.0/. It was released on March 17, 2021.

The last version that is also compat with is https://pypi.org/project/setuptools-scm/5.0.2/

moshez commented 3 years ago

Hi Shalam,

Thank you for your pull request. Python 2.7 is no longer supported by Python core development, and automat does no longer officially support it. It is possible that by manually doing pip install setuptools-scm<6.0.0 and then pip install automat, or by creating a wheel, you will be able to install automat on Python 2.7. I hope one of those work-arounds works for you. However do note that automat no longer supports Python 2,7, and will not make Python 2.7-specific.

Once again, thank you for the work you have done to analyze the issue. It should be helpful to anyone else who needs to figure out why, and to work around, failures to install automat on Python 2.7.

Best, Moshe Z.