ipython/ipython — pull request #7070 by rgbkrk (2014-12-01 02:28:48+00:00)
Title: Pin the version of less used in the Dockerfile

Until #7007 is merged/decided upon, this is necessary for our Docker builds. Otherwise we get a warning about being on the latest and greatest version of `less`.:

```python-traceback
Running setup.py install for ipython
Traceback (most recent call last):
File "/usr/local/bin/invoke", line 9, in
load_entry_point('invoke==0.9.0', 'console_scripts', 'invoke')()
File "/usr/local/lib/python2.7/dist-packages/invoke/cli.py", line 304, in main
dispatch(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/invoke/cli.py", line 297, in dispatch
return executor.execute(*tasks, dedupe=dedupe)
File "/usr/local/lib/python2.7/dist-packages/invoke/executor.py", line 90, in execute
task=task, name=name, args=args, kwargs=kwargs
File "/usr/local/lib/python2.7/dist-packages/invoke/executor.py", line 131, in _execute
result = task(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/invoke/tasks.py", line 111, in __call__
result = self.body(*args, **kwargs)
File "/tmp/pip_build_root/ipython/IPython/html/tasks.py", line 54, in css
_compile_less(source, target, sourcemap, minify, verbose)
File "/tmp/pip_build_root/ipython/IPython/html/tasks.py", line 72, in _compile_less
raise ValueError("lessc too new: %s >= %s. Use `$ npm install lesscss@X.Y.Z` to install a specific version of less" % (less_version, max_less_version))
ValueError: lessc too new: 2.0.0 >= 1.8.0. Use `$ npm install lesscss@X.Y.Z` to install a specific version of less
Failed to build css sourcemaps: Command '['invoke', 'css', '--minify']' returned non-zero exit status 1
```

Also as part of this, I updated the help command to reflect the current name of the package on npm. It's `less`, not `lesscss`.