-
-
Notifications
You must be signed in to change notification settings - Fork 425
Updated astropy-helpers to v1.0.2 #534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This astropy-helpers update results in issues for astroquery. Sphinx build: https://gist.github.com/cdeil/782fef6e464d23c797cf Somehow the way astroquery sets up In [16]: %paste
from astropy import config as _config
class Conf(_config.ConfigNamespace):
"""
Configuration parameters for `astroquery.irsa_dust`.
"""
# maintain a list of URLs in case the user wants to append a mirror
server = _config.ConfigItem(
['http://irsa.ipac.caltech.edu/cgi-bin/DUST/nph-dust'],
'Name of the irsa_dust server to use.'
)
timeout = _config.ConfigItem(
30,
'Default timeout for connecting to server.'
)
conf = Conf()
## -- End pasted text --
In [17]: conf
Out[17]: <__main__.Conf at 0x1069c9668>
In [18]: conf.server
---------------------------------------------------------------------------
VdtValueError Traceback (most recent call last)
/Users/deil/Library/Python/3.4/lib/python/site-packages/astropy-1.1.dev12096-py3.4-macosx-10.10-x86_64.egg/astropy/config/configuration.py in __call__(self)
431 try:
--> 432 return self._validate_val(val)
433 except validate.ValidateError as e:
/Users/deil/Library/Python/3.4/lib/python/site-packages/astropy-1.1.dev12096-py3.4-macosx-10.10-x86_64.egg/astropy/config/configuration.py in _validate_val(self, val)
444 # instance or sub-class, it will be used
--> 445 return self._validator.check(self.cfgtype, val)
446
/Users/deil/Library/Python/3.4/lib/python/site-packages/astropy-1.1.dev12096-py3.4-macosx-10.10-x86_64.egg/astropy/extern/configobj/validate.py in check(self, check, value, missing)
624
--> 625 return self._check_value(value, fun_name, fun_args, fun_kwargs)
626
/Users/deil/Library/Python/3.4/lib/python/site-packages/astropy-1.1.dev12096-py3.4-macosx-10.10-x86_64.egg/astropy/extern/configobj/validate.py in _check_value(self, value, fun_name, fun_args, fun_kwargs)
656 else:
--> 657 return fun(value, *fun_args, **fun_kwargs)
658
/Users/deil/Library/Python/3.4/lib/python/site-packages/astropy-1.1.dev12096-py3.4-macosx-10.10-x86_64.egg/astropy/extern/configobj/validate.py in is_option(value, *options)
1331 if not value in options:
-> 1332 raise VdtValueError(value)
1333 return value
VdtValueError: the value "http://ned.ipac.caltech.edu/cgi-bin/" is unacceptable.
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
<ipython-input-18-a27f955e9921> in <module>()
----> 1 conf.server
/Users/deil/Library/Python/3.4/lib/python/site-packages/astropy-1.1.dev12096-py3.4-macosx-10.10-x86_64.egg/astropy/config/configuration.py in __get__(self, obj, objtype)
268 if obj is None:
269 return self
--> 270 return self()
271
272 def set(self, value):
/Users/deil/Library/Python/3.4/lib/python/site-packages/astropy-1.1.dev12096-py3.4-macosx-10.10-x86_64.egg/astropy/config/configuration.py in __call__(self)
432 return self._validate_val(val)
433 except validate.ValidateError as e:
--> 434 raise TypeError('Configuration value not valid:' + e.args[0])
435
436 def _validate_val(self, val):
TypeError: Configuration value not valid:the value "http://ned.ipac.caltech.edu/cgi-bin/" is unacceptable.@embray Is this a result of your changes in astropy/astropy-helpers#158 ? |
|
The issue I had locally was fixed by updating Astropy master from Don't know what it is, but it works fine now and tests passed on travis-ci. |
|
Sure, but can you explain it to me tomorrow? |
|
All this PR does is update Astroquery to the latest astropy-helpers using these commands: This is needed for all affiliated packages (sigh) to make |
Updated astropy-helpers to v1.0.2
This is needed to make
python setup.py build_sphinxwork with Sphinx 1.3.(It's why I didn't notice the Sphinx error which then showed up on travis-ci here: #523 (comment))