openstax / oer.exports

Converter to various book formats (PDF, epub, mobi)
2 stars 0 forks source link

Fix running on newer systems #4063

Open aiwenar opened 3 years ago

aiwenar commented 3 years ago

Since Python 2 reached EOL some linux distributions began switching the default python executable (/usr/bin/python) to Python 3.X. On such systems virtualenv will by default create a Python 3 environment. Similarly, starting with 7.0.0 Pillow dropped support for Python 2, so this PR fixes it to 6.2.2 (the last version supporting Python 2.X).

css-plus@2.10.0 depends on mmmagic@^0.4, which in turn depends on nan@^2.4, which doest not compile on node.js >= 12. The correct solution would be to publish a new version of css-plus with mmmagic udpated to 0.5, but as a temporary fix this PR fixes node to 10.22.0.