#14482: create the new development scripts/library
-------------------------------------+-------------------------------------
Reporter: ohanar | Owner: jason
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.0
Component: misc | Resolution:
Keywords: sd51 | Merged in:
Authors: Robert Bradshaw, | Reviewers: Volker Braun
David Roe, Julian Rueth, R. | Work issues:
Andrew Ohana, Martin Raum, Timo | Commit:
Kluck | 702d7af1b3a57861e191aedd68ae04ccd15f4f51
Report Upstream: N/A | Stopgaps:
Branch: |
u/vbraun/dev_scripts |
Dependencies: #14480, #14557, |
#15222 |
-------------------------------------+-------------------------------------
Comment (by vbraun):
I get doctest failures on fresh accounts (cached stuff in DOT_SAGE?) of
the type
{{{
File "src/sage/dev/git_interface.py", line 118, in
sage.dev.git_interface.GitProxy._run_git
Failed example:
dev.git.status()
Expected:
Traceback (most recent call last):
...
AssertionError: working with the sage repository in a doctest
Got:
<BLANKLINE>
Traceback (most recent call last):
File "/home/buildslave/slave/local_full/build/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/home/buildslave/slave/local_full/build/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest sage.dev.git_interface.GitProxy._run_git[7]>", line
1, in <module>
dev.git.status()
File "lazy_import.pyx", line 312, in
sage.misc.lazy_import.LazyImport.__getattr__
(sage/misc/lazy_import.c:2402)
File "lazy_import.pyx", line 248, in
sage.misc.lazy_import.LazyImport._get_object
(sage/misc/lazy_import.c:1885)
File "/home/buildslave/slave/local_full/build/local/lib/python2.7
/site-packages/sage/dev/sagedev_wrapper.py", line 250, in <module>
dev = SageDevWrapper(SageDev())
File "/home/buildslave/slave/local_full/build/local/lib/python2.7
/site-packages/sage/dev/sagedev.py", line 119, in __init__
self.trac = TracInterface(self.config['trac'], self._UI)
File "/home/buildslave/slave/local_full/build/local/lib/python2.7
/site-packages/sage/dev/trac_interface.py", line 212, in __init__
self.__ticket_cache = SavingDict(ticket_cache_file)
File "/home/buildslave/slave/local_full/build/local/lib/python2.7
/site-packages/sage/dev/saving_dict.py", line 116, in __init__
self._write()
File "/home/buildslave/slave/local_full/build/local/lib/python2.7
/site-packages/sage/dev/saving_dict.py", line 236, in _write
assert os.path.abspath(self._filename).startswith(SAGE_TMP), error
AssertionError: write attempt to a saving_dict in a doctest
}}}
Doesn't happen in my own user account. Anybody knows whats up?
--
Ticket URL: <http://trac.sagemath.org/ticket/14482#comment:158>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.