Package Details: python-astroplan 0.4-4

Git Clone URL: https://aur.archlinux.org/python-astroplan.git (read-only)
Package Base: python-astroplan
Description: A python package to help astronomers plan observations
Upstream URL: https://astroplan.readthedocs.io/en/latest/
Keywords: astronomy astropy science
Licenses: BSD
Submitter: Universebenzene
Maintainer: Universebenzene
Last Packager: Universebenzene
Votes: 1
Popularity: 0.865952
First Submitted: 2018-02-03 11:13
Last Updated: 2018-08-07 04:56

Dependencies (15)

Required by (0)

Sources (2)

Pinned Comments

Universebenzene commented on 2018-02-03 11:18

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.

Latest Comments

Universebenzene commented on 2018-08-11 17:32

@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

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

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.