Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…ental` are broken On Ubuntu 18.04 with 9.5.beta6, `sage --standard`, `sage --optional` and `sage --experimental` are broken: {{{ $ sage --standard [package]...............................[latest version] ([version]) Traceback (most recent call last): File "/home/slabbe/GitBox/sage/src/bin/sage-list-packages", line 102, in <module> pkg.installed_version = pkg.installed_version or 'not_installed' AttributeError: can't set attribute $ sage --optional [package]...............................[latest version] ([version]) /home/slabbe/GitBox/sage/local/lib/python3.9/site- packages/sage/misc/package.py:117: UserWarning: failed to fetch the version of pkg='ore_algebra' at https://pypi.org/pypi/ore_algebra/json warnings.warn("failed to fetch the version of pkg={!r} at {}".format(pkg, url)) Traceback (most recent call last): File "/home/slabbe/GitBox/sage/src/bin/sage-list-packages", line 102, in <module> pkg.installed_version = pkg.installed_version or 'not_installed' AttributeError: can't set attribute $ sage --experimental [package]...............................[latest version] ([version]) Traceback (most recent call last): File "/home/slabbe/GitBox/sage/src/bin/sage-list-packages", line 102, in <module> pkg.installed_version = pkg.installed_version or 'not_installed' AttributeError: can't set attribute }}} This leads to the following doctests to fail. {{{ $ sage -t --optional=sage,internet src/sage/tests/cmdline.py }}} gives {{{ [218 tests, 9 failures, 36.22 s] }}} URL: https://trac.sagemath.org/32885 Reported by: slabbe Ticket author(s): John Palmieri Reviewer(s): Sébastien Labbé
- Loading branch information