Opened 10 years ago

Closed 10 years ago

#43475 closed update (fixed)

py-astropy @0.3.1 update

Reported by: smaret (Sebastien Maret) Owned by: robitaille@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc: petrrr
Port: py-astropy

Description

Please find enclosed an update for py-astropy (0.3.1). It also add the -py34 variant.

Attachments (1)

py-astropy.diff (1.0 KB) - added by smaret (Sebastien Maret) 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by smaret (Sebastien Maret)

Attachment: py-astropy.diff added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: robitaille removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to robitaille@…
Port: py-astropy added

Thanks. Note that the Cc field requires complete email addresses, that you should fill in the Port field, and that you should use the "haspatch" keyword when you are attaching a patch.

comment:2 Changed 10 years ago by smaret (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.

comment:3 Changed 10 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:4 Changed 10 years ago by petrrr

  • r120789 updated the port to @0.3.2 and added py34 subport;
  • r122188 updated to @0.4;

The described problem with py34, seems to be gone. So I would propose to close this ticket.

comment:5 Changed 10 years ago by smaret (Sebastien Maret)

Fine with me.

comment:6 Changed 10 years ago by petrrr

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.