[AstroPy] Astropy in Fedora
Michael Droettboom
mdroe at stsci.edu
Wed Jan 22 11:02:27 EST 2014
Thanks for doing this. This is fantastic.
I'm getting one absolutely non-critical test failure with the package,
however.
|_______________ test_skip_hidden __________________
def test_skip_hidden():
path = data._find_pkg_data_path('data')
for root, dirs, files in os.walk(path):
> assert '.hidden_file.txt' in files
E assert u'.hidden_file.txt' in [u'local.dat.bz2', u'invalid.dat.gz', u'unicode.txt', u'local.dat', u'invalid.dat.bz2', u'local.dat.gz']
/usr/lib64/python2.7/site-packages/astropy/utils/tests/test_misc.py:118: AssertionError
==== 1 failed, 4802 passed, 89 skipped, 11 xfailed in 178.17 seconds ====|
The purpose of this test is to ensure that the regular Python |os.walk|
includes hidden files, but that our own
|astropy.utils.misc.walk_skip_hidden| does not. To test this, a hidden
file is included in the test data folder, but it looks like that file is
not being installed in the package:
|~ > ls -a /usr/lib64/python2.7/site-packages/astropy/utils/tests/data/
. .. invalid.dat.bz2 invalid.dat.gz local.dat local.dat.bz2 local.dat.gz test_package unicode.txt|
If hidden files can't be included in the package for policy reasons,
it's probably reasonable to either disable this test in the package, or
create the file programmatically in a temporary directory and then run
these tests there. I can probably help code up the latter if that would
be helpful.
Let me know if this is sufficient or I should file a bugzilla entry etc.
Mike
On 01/18/2014 05:51 PM, Sergio Pascual wrote:
> Hello,
>
> I'm very happy to inform you that astropy has been included in Fedora.
>
> It exists for Fedora 20 only. There are python-astropy for Python 2.7
> and python3-astropy for Python 3.3
> The documentation is splited in a subpackage python(3)-astropy-doc
>
> During the next week approximately , the packages will be in the
> 'updates-testing' repository. To install from this repository users
> will need to do:
>
> $ sudo yum install python-astropy --enablerepo=updates-testing
>
> Once the package is pushed to the updates repository, its enough to do
>
> $ sudo yum install python-astropy
>
> Please install, test and enjoy!
>
> Best regards, Sergio
>
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
--
_
|\/|o _|_ _. _ | | \.__ __|__|_|_ _ _ ._ _
| ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |
http://www.droettboom.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20140122/40d3ff3e/attachment.html>
More information about the AstroPy
mailing list