This reverts commit ad53cf0a829dee15a6a01568b7af3b63e08717b2.
I think this commit must have been by mistake. It updates the version of
notebook that was supposed to pin to an old, py2 compatible version.
This reverts commit 0ccf10b955910dd511208720f3bbf49a2ffe9fbb.
I think it was premature to drop the support a couple of weeks before
the official deadline. At least sage still depends on it.
Largest changes:
- Add Mish activation.
- Add experimental support for the RAdam optimizer.
- Add experimental support for lookahead to the optimizer.
- Add experimental support for LARS to the optimizer.
Changelog:
https://github.com/explosion/thinc/releases/tag/v7.3.0
Addressing CVE-2019-17109
Also added missing description, homepage & license. Re-disabled for py3k
as the kojira executable doesn't seem to be happy with it.
I was unable tp build calibre at the current git master as it relies on
pytthon27Packages.html2text. Python 2.7 support was removed in the
latest version. This PR downgrades html2text when using an unsupported
Python version.
This PR does not fix building python37Packages.html2text
and python38Packages.html2text, which were broken at master due to what
seems to be a problem in buildPythonPackage.
Previously it was missing a runtime dependency on setuptools:
[kier@saelli:~/checkouts/nixpkgs]$ $(nix-build -A python27Packages.pylint --no-out-link)/bin/pylint
Traceback (most recent call last):
File "/nix/store/0k8h6n6nxjcs2j5jp54mfppjbx37hrrg-python2.7-pylint-1.9.5/bin/.pylint-wrapped", line 6, in <module>
from pylint import run_pylint
File "/nix/store/0k8h6n6nxjcs2j5jp54mfppjbx37hrrg-python2.7-pylint-1.9.5/lib/python2.7/site-packages/pylint/__init__.py", line 11, in <module>
from .__pkginfo__ import version as __version__
File "/nix/store/0k8h6n6nxjcs2j5jp54mfppjbx37hrrg-python2.7-pylint-1.9.5/lib/python2.7/site-packages/pylint/__pkginfo__.py", line 25, in <module>
from pkg_resources import parse_version
ImportError: No module named pkg_resources
With this change, the same command now correctly prints pylint's help text.
This only applies to Python 2.