#18748: Python library to bootstrap Sage
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  blocker            |    Milestone:  sage-6.8
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/python_library_to_bootstrap_sage|  
0acf070e6d86df8f5dcc62f0751002631cbce9d8
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 I honestly have no idea what `tox` does, but I tried it anyway:
 {{{
 jdemeyer@tamiyo:/usr/local/src/sage-config/src/sage_bootstrap$ uname -a
 Linux tamiyo 3.17.7-gentoo #1 SMP PREEMPT Wed Dec 31 20:06:39 CET 2014
 x86_64 Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz GenuineIntel GNU/Linux
 }}}
 {{{
 jdemeyer@tamiyo:/usr/local/src/sage-config/src/sage_bootstrap$ python
 --version
 Python 3.3.2
 }}}
 {{{
 jdemeyer@tamiyo:/usr/local/src/sage-config/src/sage_bootstrap$ tox
 --version
 1.8.1 imported from /usr/lib64/python3.3/site-packages/tox/__init__.py
 }}}
 {{{
 jdemeyer@tamiyo:/usr/local/src/sage-config/src/sage_bootstrap$ tox
 GLOB sdist-make: /usr/local/src/sage-config/src/sage_bootstrap/setup.py
 py26 create: /usr/local/src/sage-config/src/sage_bootstrap/.tox/py26
 ERROR: InterpreterNotFound: python2.6
 py27 inst-nodeps: /usr/local/src/sage-
 config/src/sage_bootstrap/.tox/dist/sage_bootstrap-1.0.zip
 py27 runtests: PYTHONHASHSEED='1210919353'
 py27 runtests: commands[0] | python2.7 -m unittest discover
 .......E.......
 ======================================================================
 ERROR: test_checksum (test.test_tarball.TarballTestCase)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/src/sage-
 config/src/sage_bootstrap/test/test_tarball.py", line 40, in test_checksum
     self.assertTrue(tarball.checksum_verifies())
   File "/usr/local/src/sage-
 config/src/sage_bootstrap/sage_bootstrap/tarball.py", line 83, in
 checksum_verifies
     sha1 = self._compute_sha1()
   File "/usr/local/src/sage-
 config/src/sage_bootstrap/sage_bootstrap/tarball.py", line 73, in
 _compute_sha1
     return self._compute_hash(hashlib.sha1())
   File "/usr/local/src/sage-
 config/src/sage_bootstrap/sage_bootstrap/tarball.py", line 63, in
 _compute_hash
     with open(self.upstream_fqn, 'rb') as f:
 IOError: [Errno 2] No such file or directory: '/usr/local/src/sage-
 config/upstream/configure-99.tar.gz'

 ----------------------------------------------------------------------
 Ran 15 tests in 6.914s

 FAILED (errors=1)
 ERROR: InvocationError: '/usr/local/src/sage-
 config/src/sage_bootstrap/.tox/py27/bin/python2.7 -m unittest discover'
 py33 inst-nodeps: /usr/local/src/sage-
 config/src/sage_bootstrap/.tox/dist/sage_bootstrap-1.0.zip
 py33 runtests: PYTHONHASHSEED='1210919353'
 py33 runtests: commands[0] | python3.3 -m unittest discover
 ..../usr/local/src/sage-
 config/src/sage_bootstrap/sage_bootstrap/download.py:121:
 DeprecationWarning: FancyURLopener style of invoking requests is
 deprecated. Use newer urlopen functions/methods
   opener = urllib.FancyURLopener()
 ...........
 ----------------------------------------------------------------------
 Ran 15 tests in 0.741s

 OK
 py34 create: /usr/local/src/sage-config/src/sage_bootstrap/.tox/py34
 ERROR: InterpreterNotFound: python3.4
 _______________________________________________________________________________
 summary
 
________________________________________________________________________________
 SKIPPED:  py26: InterpreterNotFound: python2.6
 ERROR:   py27: commands failed
   py33: commands succeeded
 SKIPPED:  py34: InterpreterNotFound: python3.4
 }}}

 Also, I'm a bit confused by
 {{{
 ERROR: InterpreterNotFound: python3.4
 }}}
 followed later by
 {{{
 SKIPPED:  py34: InterpreterNotFound: python3.4
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18748#comment:10>
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/d/optout.

Reply via email to