Package Details: python-astroplan 0.10-1

Git Clone URL: (read-only, click to copy)
Package Base: python-astroplan
Description: A python package to help astronomers plan observations
Upstream URL:
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-04-06 13:23 (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:

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 "" in astroplan-0.4/astroplan is broken since the depreciation of astropy.tests.pytest_plugins since astropy 3.2. See 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 "", line 132, in <module>
  File "/usr/lib/python3.7/site-packages/setuptools/", line 129, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.7/distutils/", line 148, in setup
  File "/usr/lib/python3.7/distutils/", line 966, in run_commands
  File "/usr/lib/python3.7/distutils/", line 985, in run_command
  File "/usr/lib/python3.7/site-packages/astropy_helpers/commands/", 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().

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

msg "Building Docs"
python 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: . You can downgrade astropy to 2.0.2 or wait for a newer version of astropy to fix it.