Package Details: python-astroplan-doc 0.10.1-1

Git Clone URL: https://aur.archlinux.org/python-astroplan.git (read-only, click to copy)
Package Base: python-astroplan
Description: Documentation for Python astroplan module
Upstream URL: https://astroplan.readthedocs.io
Keywords: astronomy astropy science
Licenses: BSD-3-Clause
Submitter: Universebenzene
Maintainer: Universebenzene
Last Packager: Universebenzene
Votes: 1
Popularity: 0.000000
First Submitted: 2018-02-03 11:13 (UTC)
Last Updated: 2024-08-14 03:49 (UTC)

Latest Comments

Universebenzene commented on 2019-06-14 04:19 (UTC)

@Stendec Thanks for reminding. Actually I removed the testing for several astropy affiliated packages due to astropy 3.2 but I forgot this one... Now I remove that. Or you can just use this instead: https://aur.archlinux.org/packages/python-astropy31/

Stendec commented on 2019-06-13 20:26 (UTC)

As of python-astropy 3.2 this package fails in testing:

ModuleNotFoundError: No module named 'astropy.tests.pytest_plugins'

This is because "conftest.py" in astroplan-0.4/astroplan is broken since the depreciation of astropy.tests.pytest_plugins since astropy 3.2. See https://github.com/astropy/package-template/blob/cookiecutter/%7B%7B%20cookiecutter.package_name%20%7D%7D/%7B%7B%20cookiecutter.module_name%20%7D%7D/conftest.py for a working version.

Universebenzene commented on 2018-08-11 17:32 (UTC)

@privong This problem is caused by astropy-helpers. The maintainer of astropy-helpers forget to update the patch for python3.7, so the build doesn't success. I will remind the maintainer again.

privong commented on 2018-08-11 17:22 (UTC) (edited on 2018-08-11 17:26 (UTC) by privong)

This package fails to build with the following error:

==> Building Docs running build_docs creating /tmp/yaourt-tmp-george/aur-python-astroplan-doc/src/astroplan-0.4/build/sphinx creating /tmp/yaourt-tmp-george/aur-python-astroplan-doc/src/astroplan-0.4/build/sphinx/doctrees creating /tmp/yaourt-tmp-george/aur-python-astroplan-doc/src/astroplan-0.4/build/sphinx/html creating /tmp/yaourt-tmp-george/aur-python-astroplan-doc/src/astroplan-0.4/build/_static running build running build_py Traceback (most recent call last):   File "setup.py", line 132, in <module>     **package_info   File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 129, in setup     return distutils.core.setup(**attrs)   File "/usr/lib/python3.7/distutils/core.py", line 148, in setup     dist.run_commands()   File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands     self.run_command(cmd)   File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command     cmd_obj.run()   File "/usr/lib/python3.7/site-packages/astropy_helpers/commands/build_sphinx.py", line 123, in run     ah_path = os.path.abspath(ah_importer.path) AttributeError: 'NoneType' object has no attribute 'path' ==> ERROR: A failure occurred in build().     Aborting... 

Removing these two lines in build() enables the non-docs package to successfully compile:

msg "Building Docs" python setup.py build_docs 

Universebenzene commented on 2018-02-03 11:18 (UTC) (edited on 2018-02-08 18:43 (UTC) by Universebenzene)

While using astroplan-0.4 with astropy-2.0.3 and 2.0.4, the astroplan.test() may fail like this issue: https://github.com/astropy/astroplan/issues/342 . You can downgrade astropy to 2.0.2 or wait for a newer version of astropy to fix it.