Debian Codegraph @

debian/patches/remove_six.patch

raw
1 Forwarded: https://github.com/astropy/astroplan/pull/570/files
2
3 --- a/astroplan/observer.py
4 +++ b/astroplan/observer.py
5 @@ -1,7 +1,7 @@
6 # Licensed under a 3-clause BSD style license - see LICENSE.rst
7 from __future__ import (absolute_import, division, print_function,
8 unicode_literals)
9 -from six import string_types
10 +string_types = (str,)
11
12 # Standard library
13 import sys
14 --- a/docs/faq/iers.rst
15 +++ b/docs/faq/iers.rst
16 @@ -78,7 +78,7 @@
17 import numpy as np
18 import astropy.units as u
19 from astropy.time import Time
20 - from six.moves.urllib.error import HTTPError
21 + from urllib.error import HTTPError
22
23 # Download and cache the IERS Bulletins A and B using astropy's machinery
24 # (reminder: astroplan has its own function for this: `download_IERS_A`)
25 --- a/setup.cfg
26 +++ b/setup.cfg
27 @@ -20,7 +20,6 @@
28 numpy>=1.17
29 astropy>=4
30 pytz
31 - six
32
33 [options.extras_require]
34 all =