[MacPorts] #43475: py-astropy @0.3.1 update

MacPorts noreply at macports.org
Thu Apr 24 01:32:45 PDT 2014


#43475: py-astropy @0.3.1 update
--------------------------------+--------------------------
  Reporter:  sebastien.maret@…  |      Owner:  robitaille@…
      Type:  update             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.2.1
Resolution:                     |   Keywords:  haspatch
      Port:  py-astropy         |
--------------------------------+--------------------------

Comment (by sebastien.maret@…):

 Indeed, astropy does not like Python 3.4:

 {{{
 % python3.4
 Python 3.4.0 (default, Apr 23 2014, 22:57:24)
 [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import astropy
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4
 /site-packages/astropy/__init__.py", line 244, in <module>
     log = _init_log()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4
 /site-packages/astropy/logger.py", line 88, in _init_log
     log._set_defaults()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4
 /site-packages/astropy/logger.py", line 497, in _set_defaults
     self.setLevel(LOG_LEVEL())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4
 /site-packages/astropy/logger.py", line 479, in setLevel
     self.level = _checkLevel(level)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4
 /site-packages/astropy/logger.py", line 554, in _checkLevel
     if level not in logging._levelNames:
 AttributeError: 'module' object has no attribute '_levelNames'
 >>>
 }}}

 We should drop the -py34 until this is fixed upstream.

-- 
Ticket URL: <https://trac.macports.org/ticket/43475#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list