Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-astropy-healpix for 
openSUSE:Factory checked in at 2022-10-28 19:30:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-astropy-healpix (Old)
 and      /work/SRC/openSUSE:Factory/.python-astropy-healpix.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-astropy-healpix"

Fri Oct 28 19:30:17 2022 rev:2 rq:1031603 version:0.7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-astropy-healpix/python-astropy-healpix.changes
    2022-02-07 23:39:47.681744761 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-astropy-healpix.new.2275/python-astropy-healpix.changes
  2022-10-28 19:30:41.074978631 +0200
@@ -1,0 +2,14 @@
+Thu Oct 27 17:00:39 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to v0.7
+  * Added new methods ``healpix_to_xyz`` and ``xyz_to_healpix`` to
+    the high level interface. [#153]
+  * The ``frame`` keyword argument for the high-level ``HEALPix``
+    class may now be a frame name, frame instance, or frame class.
+    [#156]
+  * On instantiation, the ``HEALPix`` class checks the ``order``
+    argument. [#162]
+  * Drop support for Python 3.6, which has passed end-of-life.
+    [#166]
+
+-------------------------------------------------------------------

Old:
----
  astropy_healpix-0.6.tar.gz

New:
----
  astropy_healpix-0.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-astropy-healpix.spec ++++++
--- /var/tmp/diff_new_pack.ARKEjM/_old  2022-10-28 19:30:41.574981138 +0200
+++ /var/tmp/diff_new_pack.ARKEjM/_new  2022-10-28 19:30:41.578981158 +0200
@@ -16,26 +16,27 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
 Name:           python-astropy-healpix
-Version:        0.6
+Version:        0.7
 Release:        0
 Summary:        HEALPix for Astropy
 License:        BSD-3-Clause
 URL:            https://github.com/astropy/astropy-healpix
 Source:         
https://files.pythonhosted.org/packages/source/a/astropy_healpix/astropy_healpix-%{version}.tar.gz
+BuildRequires:  %{python_module devel >= 3.7}
 BuildRequires:  %{python_module extension-helpers}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-astropy
+Requires:       python-astropy >= 3
 Requires:       python-numpy
-Provides:       python-astropy-healpix = %{version}-%{release}
+Provides:       python-astropy_healpix = %{version}-%{release}
 # SECTION test requirements
-BuildRequires:  %{python_module astropy}
+BuildRequires:  %{python_module astropy >= 3}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pytest-astropy}
 # /SECTION
@@ -50,10 +51,10 @@
 
 %build
 export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check

++++++ astropy_healpix-0.6.tar.gz -> astropy_healpix-0.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/.github/dependabot.yml 
new/astropy_healpix-0.7/.github/dependabot.yml
--- old/astropy_healpix-0.6/.github/dependabot.yml      1970-01-01 
01:00:00.000000000 +0100
+++ new/astropy_healpix-0.7/.github/dependabot.yml      2022-09-15 
15:10:35.000000000 +0200
@@ -0,0 +1,6 @@
+version: 2
+updates:
+  - package-ecosystem: github-actions
+    directory: /
+    schedule:
+      interval: weekly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/astropy_healpix-0.6/.github/workflows/ci_cron_weekly.yml 
new/astropy_healpix-0.7/.github/workflows/ci_cron_weekly.yml
--- old/astropy_healpix-0.6/.github/workflows/ci_cron_weekly.yml        
1970-01-01 01:00:00.000000000 +0100
+++ new/astropy_healpix-0.7/.github/workflows/ci_cron_weekly.yml        
2022-09-15 15:10:35.000000000 +0200
@@ -0,0 +1,27 @@
+# GitHub Actions workflow that runs on a cron schedule.
+
+name: Cron Scheduled CI Tests
+
+on:
+  schedule:
+    # run at 6am UTC on Mondays
+    - cron: '0 6 * * 1'
+
+jobs:
+  # Testing links in documents is a good example of something to run on a 
schedule
+  # to catch links that stop working for some reason.
+  doc_test:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+    - name: Set up Python to build docs with sphinx
+      uses: actions/setup-python@v4
+      with:
+        python-version: 3.8
+    - name: Install base dependencies
+      run: |
+        python -m pip install --upgrade pip
+        python -m pip install tox
+    - name: Check links in docs using tox
+      run: |
+        tox -e linkcheck
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/.github/workflows/ci_tests.yml 
new/astropy_healpix-0.7/.github/workflows/ci_tests.yml
--- old/astropy_healpix-0.6/.github/workflows/ci_tests.yml      1970-01-01 
01:00:00.000000000 +0100
+++ new/astropy_healpix-0.7/.github/workflows/ci_tests.yml      2022-09-15 
15:10:35.000000000 +0200
@@ -0,0 +1,90 @@
+# GitHub Actions workflow for testing and continuous integration.
+#
+# This file performs testing using tox and tox.ini to define and configure the 
test environments.
+
+name: CI
+
+on:
+  push:
+    branches:
+    - main  # GitHub now defaults to 'main' as the name of the primary branch. 
Change this as needed.
+  #  tags: # run CI if specific tags are pushed
+  pull_request:
+    # branches: # only build on PRs against 'main' if you need to further 
limit when CI is run.
+    #    - main
+
+jobs:
+  # Github Actions supports ubuntu, windows, and macos virtual environments:
+  # 
https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
+  ci_tests:
+    name: ${{ matrix.name }}
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        include:
+          - name: Code style checks
+            os: ubuntu-latest
+            python: 3.x
+            toxenv: codestyle
+
+          - name: Python 3.7 with minimal dependencies
+            os: ubuntu-latest
+            python: 3.7
+            toxenv: py37-test
+
+          - name: Python 3.8 with all optional dependencies and coverage 
checking
+            os: ubuntu-latest
+            python: 3.8
+            toxenv: py38-test-alldeps-cov
+
+          - name: macOS - Python 3.8 with all optional dependencies
+            os: macos-latest
+            python: 3.8
+            toxenv: py38-test-alldeps
+
+          - name: Windows - Python 3.8 with all optional dependencies
+            os: windows-latest
+            python: 3.8
+            toxenv: py38-test-alldeps
+
+          - name: Python 3.10 with all optional dependencies and pre-releases
+            os: ubuntu-latest
+            python: '3.10'
+            toxenv: py38-test-alldeps-predeps
+
+          # - name: Python 3.7 with oldest supported version of all 
dependencies
+          #   os: ubuntu-16.04
+          #   python: 3.7
+          #   toxenv: py37-test-oldestdeps
+
+          # - name: Python 3.8 with latest dev versions of key dependencies
+          #   os: ubuntu-latest
+          #   python: 3.8
+          #   toxenv: py38-test-devdeps
+
+          # - name: Test building of Sphinx docs
+          #   os: ubuntu-latest
+          #   python: 3.x
+          #   toxenv: build_docs
+
+    steps:
+    - name: Checkout code
+      uses: actions/checkout@v3
+      with:
+        fetch-depth: 0
+    - name: Set up Python ${{ matrix.python }} on ${{ matrix.os }}
+      uses: actions/setup-python@v4
+      with:
+        python-version: ${{ matrix.python }}
+    - name: Install base dependencies
+      run: |
+        python -m pip install --upgrade pip
+        python -m pip install tox
+    - name: Test with tox
+      run: |
+        tox -e ${{ matrix.toxenv }}
+    - name: Upload coverage to codecov
+      if: "contains(matrix.toxenv, '-cov')"
+      uses: codecov/codecov-action@v3
+      with:
+        file: ./coverage.xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/.github/workflows/publish.yml 
new/astropy_healpix-0.7/.github/workflows/publish.yml
--- old/astropy_healpix-0.6/.github/workflows/publish.yml       1970-01-01 
01:00:00.000000000 +0100
+++ new/astropy_healpix-0.7/.github/workflows/publish.yml       2022-09-15 
15:10:35.000000000 +0200
@@ -0,0 +1,23 @@
+name: Publish
+
+on:
+  pull_request:
+  push:
+    branches:
+      - main
+    tags:
+      - v*
+
+jobs:
+  publish:
+    if: (github.event_name != 'pull_request' || 
contains(github.event.pull_request.labels.*.name, 'Build wheels'))
+    uses: 
OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1
+    secrets:
+      pypi_token: ${{ secrets.pypi_token }}
+    with:
+      targets: |
+        - linux
+        - macos
+        - windows
+        - cp3*-macosx_arm64
+        - cp3*-manylinux_aarch64
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/.gitignore 
new/astropy_healpix-0.7/.gitignore
--- old/astropy_healpix-0.6/.gitignore  2021-03-10 16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/.gitignore  2022-09-15 15:10:35.000000000 +0200
@@ -29,12 +29,20 @@
 # Pycharm editor project files
 .idea
 
+# Floobits project files
+.floo
+.flooignore
+
+# Visual Studio Code project files
+.vscode
+
 # Packages/installer info
 *.egg
 *.egg-info
 dist
 build
 eggs
+.eggs
 parts
 bin
 var
@@ -48,18 +56,15 @@
 .tox
 .*.sw[op]
 *~
+.project
+.pydevproject
+.settings
+pip-wheel-metadata/
 
 # Mac OSX
 .DS_Store
 
-astropy_healpix/_compiler.c
-astropy_healpix/raw/wrap.c
-astropy_healpix/core_cython.c
-
 # pytest cache folder
 v
 
 .hypothesis
-.eggs
-
-pip-wheel-metadata/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/CHANGES.rst 
new/astropy_healpix-0.7/CHANGES.rst
--- old/astropy_healpix-0.6/CHANGES.rst 2021-03-10 16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/CHANGES.rst 2022-09-15 15:10:35.000000000 +0200
@@ -4,6 +4,16 @@
 Changes
 *******
 
+0.7 (2022-09-15)
+================
+
+- Added new methods ``healpix_to_xyz`` and ``xyz_to_healpix`` to
+  the high level interface. [#153]
+- The ``frame`` keyword argument for the high-level ``HEALPix`` class may now
+  be a frame name, frame instance, or frame class. [#156]
+- On instantiation, the ``HEALPix`` class checks the ``order`` argument. [#162]
+- Drop support for Python 3.6, which has passed end-of-life. [#166]
+
 0.6 (2021-03-10)
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/MANIFEST.in 
new/astropy_healpix-0.7/MANIFEST.in
--- old/astropy_healpix-0.6/MANIFEST.in 2021-03-10 16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/MANIFEST.in 2022-09-15 15:10:35.000000000 +0200
@@ -4,7 +4,7 @@
 include LICENSE.md
 include pyproject.toml
 
-recursive-include astropy_healpix *.pyx *.c *.h *.pxd
+recursive-include astropy_healpix *.c *.h
 recursive-include docs *
 recursive-include licenses *
 recursive-include scripts *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/PKG-INFO 
new/astropy_healpix-0.7/PKG-INFO
--- old/astropy_healpix-0.6/PKG-INFO    2021-03-10 16:53:29.248110300 +0100
+++ new/astropy_healpix-0.7/PKG-INFO    2022-09-15 15:10:59.298053500 +0200
@@ -1,34 +1,79 @@
 Metadata-Version: 2.1
 Name: astropy_healpix
-Version: 0.6
+Version: 0.7
 Summary: BSD-licensed HEALPix for Astropy
 Home-page: https://github.com/astropy/astropy-healpix
 Author: Astropy Developers
 Author-email: astropy.t...@gmail.com
 License: BSD 3-Clause
-Description: |RTD| |Travis Status| |AppVeyor status| |CircleCI| |Coverage 
Status|
-        
-        About
-        -----
-        
-        This is a BSD-licensed HEALPix package developed by the Astropy project
-        and based on C code written by Dustin Lang in `astrometry.net 
<http://astrometry.net/>`__. See the
-        `Documentation <http://astropy-healpix.readthedocs.io>`__ for
-        information about installing and using this package.
-        
-        .. |Travis Status| image:: 
https://travis-ci.org/astropy/astropy-healpix.svg
-           :target: https://travis-ci.org/astropy/astropy-healpix?branch=master
-        .. |AppVeyor status| image:: 
https://ci.appveyor.com/api/projects/status/5kxwb47o2umy370m/branch/master?svg=true
-           :target: 
https://ci.appveyor.com/project/Astropy/astropy-healpix/branch/master
-        .. |CircleCI| image:: 
https://circleci.com/gh/astropy/astropy-healpix.svg?style=svg
-           :target: https://circleci.com/gh/astropy/astropy-healpix
-        .. |Coverage Status| image:: 
https://coveralls.io/repos/astropy/astropy-healpix/badge.svg
-           :target: https://coveralls.io/r/astropy/astropy-healpix
-        .. |RTD| image:: 
https://readthedocs.org/projects/astropy-healpix/badge/?version=latest
-           :target: 
http://astropy-healpix.readthedocs.io/en/latest/?badge=latest
-        
-Platform: UNKNOWN
-Requires-Python: >=3.6
+Requires-Python: >=3.7
 Description-Content-Type: text/x-rst
 Provides-Extra: test
 Provides-Extra: docs
+License-File: LICENSE.md
+
+astropy healpix
+---------------
+
+.. image:: 
https://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
+    :target: https://www.astropy.org
+    :alt: Powered by Astropy Badge
+
+.. image:: https://github.com/astropy/astropy-healpix/workflows/CI/badge.svg
+    :target: https://github.com/astropy/astropy-healpix/actions
+    :alt: GitHub Actions CI Status
+
+.. image:: 
https://codecov.io/gh/astropy/astropy-healpix/branch/main/graph/badge.svg
+    :target: https://codecov.io/gh/astropy/astropy-healpix
+    :alt: Coverage Status
+
+.. image:: 
https://readthedocs.org/projects/astropy-healpix/badge/?version=latest
+    :target: http://astropy-healpix.readthedocs.io/en/latest/?badge=latest
+    :alt: Doc
+
+This is a BSD-licensed HEALPix package developed by the Astropy project
+and based on C code written by Dustin Lang in `astrometry.net 
<http://astrometry.net/>`__. See the
+`Documentation <http://astropy-healpix.readthedocs.io>`__ for
+information about installing and using this package.
+
+License
+-------
+
+This project is Copyright (c) Astropy Developers and licensed under
+the terms of the BSD 3-Clause license. This package is based upon
+the `Astropy package template <https://github.com/astropy/package-template>`_
+which is licensed under the BSD 3-clause license. See the licenses folder for
+more information.
+
+
+Contributing
+------------
+
+We love contributions! astropy-healpix is open source,
+built on open source, and we'd love to have you hang out in our community.
+
+**Imposter syndrome disclaimer**: We want your help. No, really.
+
+There may be a little voice inside your head that is telling you that you're 
not
+ready to be an open source contributor; that your skills aren't nearly good
+enough to contribute. What could you possibly offer a project like this one?
+
+We assure you - the little voice in your head is wrong. If you can write code 
at
+all, you can contribute code to open source. Contributing to open source
+projects is a fantastic way to advance one's coding skills. Writing perfect 
code
+isn't the measure of a good developer (that would disqualify all of us!); it's
+trying to create something, making mistakes, and learning from those
+mistakes. That's how we all improve, and we are happy to help others learn.
+
+Being an open source contributor doesn't just mean writing code, either. You 
can
+help out by writing documentation, tests, or even giving feedback about the
+project (and yes - that includes giving feedback about the contribution
+process). Some of these contributions may be the most valuable to the project 
as
+a whole, because you're coming to the project with fresh eyes, so you can see
+the errors and assumptions that seasoned contributors have glossed over.
+
+Note: This disclaimer was originally written by
+`Adrienne Lowe <https://github.com/adriennefriend>`_ for a
+`PyCon talk <https://www.youtube.com/watch?v=6Uj746j9Heo>`_, and was adapted by
+astropy-healpix based on its use in the README file for the
+`MetPy project <https://github.com/Unidata/MetPy>`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/README.rst 
new/astropy_healpix-0.7/README.rst
--- old/astropy_healpix-0.6/README.rst  2021-03-10 16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/README.rst  2022-09-15 15:10:35.000000000 +0200
@@ -1,20 +1,65 @@
-|RTD| |Travis Status| |AppVeyor status| |CircleCI| |Coverage Status|
+astropy healpix
+---------------
 
-About
------
+.. image:: 
https://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
+    :target: https://www.astropy.org
+    :alt: Powered by Astropy Badge
+
+.. image:: https://github.com/astropy/astropy-healpix/workflows/CI/badge.svg
+    :target: https://github.com/astropy/astropy-healpix/actions
+    :alt: GitHub Actions CI Status
+
+.. image:: 
https://codecov.io/gh/astropy/astropy-healpix/branch/main/graph/badge.svg
+    :target: https://codecov.io/gh/astropy/astropy-healpix
+    :alt: Coverage Status
+
+.. image:: 
https://readthedocs.org/projects/astropy-healpix/badge/?version=latest
+    :target: http://astropy-healpix.readthedocs.io/en/latest/?badge=latest
+    :alt: Doc
 
 This is a BSD-licensed HEALPix package developed by the Astropy project
 and based on C code written by Dustin Lang in `astrometry.net 
<http://astrometry.net/>`__. See the
 `Documentation <http://astropy-healpix.readthedocs.io>`__ for
 information about installing and using this package.
 
-.. |Travis Status| image:: https://travis-ci.org/astropy/astropy-healpix.svg
-   :target: https://travis-ci.org/astropy/astropy-healpix?branch=master
-.. |AppVeyor status| image:: 
https://ci.appveyor.com/api/projects/status/5kxwb47o2umy370m/branch/master?svg=true
-   :target: 
https://ci.appveyor.com/project/Astropy/astropy-healpix/branch/master
-.. |CircleCI| image:: 
https://circleci.com/gh/astropy/astropy-healpix.svg?style=svg
-   :target: https://circleci.com/gh/astropy/astropy-healpix
-.. |Coverage Status| image:: 
https://coveralls.io/repos/astropy/astropy-healpix/badge.svg
-   :target: https://coveralls.io/r/astropy/astropy-healpix
-.. |RTD| image:: 
https://readthedocs.org/projects/astropy-healpix/badge/?version=latest
-   :target: http://astropy-healpix.readthedocs.io/en/latest/?badge=latest
+License
+-------
+
+This project is Copyright (c) Astropy Developers and licensed under
+the terms of the BSD 3-Clause license. This package is based upon
+the `Astropy package template <https://github.com/astropy/package-template>`_
+which is licensed under the BSD 3-clause license. See the licenses folder for
+more information.
+
+
+Contributing
+------------
+
+We love contributions! astropy-healpix is open source,
+built on open source, and we'd love to have you hang out in our community.
+
+**Imposter syndrome disclaimer**: We want your help. No, really.
+
+There may be a little voice inside your head that is telling you that you're 
not
+ready to be an open source contributor; that your skills aren't nearly good
+enough to contribute. What could you possibly offer a project like this one?
+
+We assure you - the little voice in your head is wrong. If you can write code 
at
+all, you can contribute code to open source. Contributing to open source
+projects is a fantastic way to advance one's coding skills. Writing perfect 
code
+isn't the measure of a good developer (that would disqualify all of us!); it's
+trying to create something, making mistakes, and learning from those
+mistakes. That's how we all improve, and we are happy to help others learn.
+
+Being an open source contributor doesn't just mean writing code, either. You 
can
+help out by writing documentation, tests, or even giving feedback about the
+project (and yes - that includes giving feedback about the contribution
+process). Some of these contributions may be the most valuable to the project 
as
+a whole, because you're coming to the project with fresh eyes, so you can see
+the errors and assumptions that seasoned contributors have glossed over.
+
+Note: This disclaimer was originally written by
+`Adrienne Lowe <https://github.com/adriennefriend>`_ for a
+`PyCon talk <https://www.youtube.com/watch?v=6Uj746j9Heo>`_, and was adapted by
+astropy-healpix based on its use in the README file for the
+`MetPy project <https://github.com/Unidata/MetPy>`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/RELEASING.rs 
new/astropy_healpix-0.7/RELEASING.rs
--- old/astropy_healpix-0.6/RELEASING.rs        2021-03-10 16:53:04.000000000 
+0100
+++ new/astropy_healpix-0.7/RELEASING.rs        1970-01-01 01:00:00.000000000 
+0100
@@ -1,28 +0,0 @@
-Release instructions
-====================
-
-Once the package is ready to release, use ``git tag`` to tag the
-release::
-
-    git tag -m <version> <version>
-
-e.g::
-
-    git tag -m v0.1 v0.1
-
-You can also include the ``-s`` flag to sign the tag if you have
-PGP keys set up. Then, push the tag to GitHub, e.g.::
-
-    git push upstream v0.1
-
-and the build should happen automatically on Azure pipelines. You can
-follow the progress of the build here:
-
-https://dev.azure.com/astropy-project/astropy-healpix/_build
-
-If there are any failures, you can always delete the tag, fix the
-issues, tag the release again, and push the tag to GitHub.
-
-See the `OpenAstronomy Azure Pipelines Templates Documentation
-<https://openastronomy-azure-pipelines.readthedocs.io/en/latest/publish.html>`_
-for more details about the Azure Pipelines set-up.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/RELEASING.rst 
new/astropy_healpix-0.7/RELEASING.rst
--- old/astropy_healpix-0.6/RELEASING.rst       1970-01-01 01:00:00.000000000 
+0100
+++ new/astropy_healpix-0.7/RELEASING.rst       2022-09-15 15:10:35.000000000 
+0200
@@ -0,0 +1,28 @@
+Release instructions
+====================
+
+Once the package is ready to release, use ``git tag`` to tag the
+release::
+
+    git tag -m <version> <version>
+
+e.g::
+
+    git tag -m v0.1 v0.1
+
+You can also include the ``-s`` flag to sign the tag if you have
+PGP keys set up. Then, push the tag to GitHub, e.g.::
+
+    git push upstream v0.1
+
+and the build should happen automatically on GitHub Actions. You can
+follow the progress of the build here:
+
+https://github.com/astropy/astropy-healpix/actions/workflows/publish.yml
+
+If there are any failures, you can always delete the tag, fix the
+issues, tag the release again, and push the tag to GitHub.
+
+See the `OpenAstronomy GitHub Actions Workflows
+<https://github.com/OpenAstronomy/github-actions-workflows>`_
+for more details about the GitHub Actions set-up.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/astropy_healpix/__init__.py 
new/astropy_healpix-0.7/astropy_healpix/__init__.py
--- old/astropy_healpix-0.6/astropy_healpix/__init__.py 2021-03-10 
16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix/__init__.py 2022-09-15 
15:10:35.000000000 +0200
@@ -4,11 +4,11 @@
 BSD-licensed HEALPix for Astropy.
 """
 
-# Affiliated packages may add whatever they like to this file, but
+# Packages may add whatever they like to this file, but
 # should keep this content at the top.
-from ._astropy_init import *  # noqa
+# ----------------------------------------------------------------------------
+from ._astropy_init import *   # noqa
+# ----------------------------------------------------------------------------
 
-# For egg_info test builds to pass, put package imports here.
-if not _ASTROPY_SETUP_:  # noqa
-    from .high_level import *  # noqa
-    from .core import *  # noqa
+from .high_level import *  # noqa
+from .core import *  # noqa
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/astropy_healpix/_astropy_init.py 
new/astropy_healpix-0.7/astropy_healpix/_astropy_init.py
--- old/astropy_healpix-0.6/astropy_healpix/_astropy_init.py    2021-03-10 
16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix/_astropy_init.py    2022-09-15 
15:10:35.000000000 +0200
@@ -1,56 +1,13 @@
 # Licensed under a 3-clause BSD style license - see LICENSE.rst
+import os
 
-__all__ = ['__version__', '__githash__']
-
-# this indicates whether or not we are in the package's setup.py
-try:
-    _ASTROPY_SETUP_
-except NameError:
-    import builtins
-    builtins._ASTROPY_SETUP_ = False
+__all__ = ['__version__', 'test']
 
 try:
     from .version import version as __version__
 except ImportError:
     __version__ = ''
-try:
-    from .version import githash as __githash__
-except ImportError:
-    __githash__ = ''
-
-
-if not _ASTROPY_SETUP_:  # noqa
-    import os
-    from warnings import warn
-    from astropy.config.configuration import (
-        update_default_config,
-        ConfigurationDefaultMissingError,
-        ConfigurationDefaultMissingWarning)
-
-    # Create the test function for self test
-    from astropy.tests.runner import TestRunner
-    test = TestRunner.make_test_runner_in(os.path.dirname(__file__))
-    test.__test__ = False
-    __all__ += ['test']
-
-    # add these here so we only need to cleanup the namespace at the end
-    config_dir = None
 
-    if not os.environ.get('ASTROPY_SKIP_CONFIG_UPDATE', False):
-        config_dir = os.path.dirname(__file__)
-        config_template = os.path.join(config_dir, __package__ + ".cfg")
-        if os.path.isfile(config_template):
-            try:
-                update_default_config(
-                    __package__, config_dir, version=__version__)
-            except TypeError as orig_error:
-                try:
-                    update_default_config(__package__, config_dir)
-                except ConfigurationDefaultMissingError as e:
-                    wmsg = (e.args[0] +
-                            " Cannot install default profile. If you are "
-                            "importing from source, this is expected.")
-                    warn(ConfigurationDefaultMissingWarning(wmsg))
-                    del e
-                except Exception:
-                    raise orig_error
+# Create the test function for self test
+from astropy.tests.runner import TestRunner
+test = TestRunner.make_test_runner_in(os.path.dirname(__file__))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/astropy_healpix/conftest.py 
new/astropy_healpix-0.7/astropy_healpix/conftest.py
--- old/astropy_healpix-0.6/astropy_healpix/conftest.py 2021-03-10 
16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix/conftest.py 2022-09-15 
15:10:35.000000000 +0200
@@ -1,33 +1,37 @@
-# This file is used to configure the behavior of pytest when using the Astropy
-# test infrastructure. It needs to live inside the package in order for it to
-# get picked up when running the tests inside an interpreter using
-# astropy_helpers.test
+"""Configure Test Suite.
+
+This file is used to configure the behavior of pytest when using the Astropy
+test infrastructure. It needs to live inside the package in order for it to
+get picked up when running the tests inside an interpreter using
+`astropy_healpix.test()`.
+
+"""
 
 import os
 
 import numpy as np
 
-from astropy.version import version as astropy_version
-
-# For Astropy 3.0 and later, we can use the standalone pytest plugin
-if astropy_version < '3.0':
-    from astropy.tests.pytest_plugins import *  # noqa
-    del pytest_report_header
+try:
+    from pytest_astropy_header.display import PYTEST_HEADER_MODULES, 
TESTED_VERSIONS
     ASTROPY_HEADER = True
-else:
-    try:
-        from pytest_astropy_header.display import PYTEST_HEADER_MODULES, 
TESTED_VERSIONS
-        ASTROPY_HEADER = True
-    except ImportError:
-        ASTROPY_HEADER = False
+except ImportError:
+    ASTROPY_HEADER = False
 
 
 def pytest_configure(config):
+    """Configure Pytest with Astropy.
+
+    Parameters
+    ----------
+    config : pytest configuration
 
+    """
     if ASTROPY_HEADER:
 
         config.option.astropy_header = True
 
+        # Customize the following lines to add/remove entries from the list of
+        # packages for which version numbers are displayed when running the 
tests.
         PYTEST_HEADER_MODULES.pop('h5py', None)
         PYTEST_HEADER_MODULES.pop('Pandas', None)
         PYTEST_HEADER_MODULES['Astropy'] = 'astropy'
@@ -45,6 +49,3 @@
         # On older versions of Numpy, the unrecognized 'legacy' option will
         # raise a TypeError.
         pass
-
-from astropy.tests.helper import enable_deprecations_as_exceptions  # noqa
-enable_deprecations_as_exceptions()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/astropy_healpix/core.py 
new/astropy_healpix-0.7/astropy_healpix/core.py
--- old/astropy_healpix-0.6/astropy_healpix/core.py     2021-03-10 
16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix/core.py     2022-09-15 
15:10:35.000000000 +0200
@@ -24,24 +24,11 @@
     'healpix_to_xyz',
     'bilinear_interpolation_weights',
     'interpolate_bilinear_lonlat',
+    'boundaries_lonlat',
     'neighbours',
 ]
 
 
-def _restore_shape(*args, **kwargs):
-    shape = kwargs['shape']
-    if shape:
-        if len(args) > 1:
-            return [arg.reshape(shape) for arg in args]
-        else:
-            return args[0].reshape(shape)
-    else:
-        if len(args) > 1:
-            return [arg.item() for arg in args]
-        else:
-            return args[0].item()
-
-
 def _validate_order(order):
     # We also support upper-case, to support directly the values
     # ORDERING = {'RING', 'NESTED'} in FITS headers
@@ -54,12 +41,6 @@
         raise ValueError("order must be 'nested' or 'ring'")
 
 
-def _validate_healpix_index(label, healpix_index, nside):
-    npix = nside_to_npix(nside)
-    if np.any((healpix_index < 0) | (healpix_index > npix - 1)):
-        raise ValueError(f'{label} must be in the range [0:{npix}]')
-
-
 def _validate_offset(label, offset):
     offset = np.asarray(offset)
     if np.any((offset < 0) | (offset > 1)):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/astropy_healpix/high_level.py 
new/astropy_healpix-0.7/astropy_healpix/high_level.py
--- old/astropy_healpix-0.6/astropy_healpix/high_level.py       2021-03-10 
16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix/high_level.py       2022-09-15 
15:10:35.000000000 +0200
@@ -1,14 +1,17 @@
 # Licensed under a 3-clause BSD style license - see LICENSE.rst
+import inspect
 import os
-from astropy.coordinates import SkyCoord
-from astropy.coordinates.representation import UnitSphericalRepresentation
+
+from astropy.coordinates import (BaseCoordinateFrame, frame_transform_graph,
+                                 SkyCoord, UnitSphericalRepresentation)
 
 from .core import (nside_to_pixel_area, nside_to_pixel_resolution,
                    nside_to_level, nside_to_npix, npix_to_nside,
                    healpix_to_lonlat, lonlat_to_healpix,
+                   healpix_to_xyz, xyz_to_healpix,
                    bilinear_interpolation_weights, interpolate_bilinear_lonlat,
                    ring_to_nested, nested_to_ring, healpix_cone_search,
-                   boundaries_lonlat, neighbours)
+                   boundaries_lonlat, neighbours, _validate_order)
 from .utils import parse_input_healpix_data
 
 __all__ = ['HEALPix']
@@ -26,6 +29,36 @@
         super().__init__(NO_FRAME_MESSAGE.format(alternative_method))
 
 
+def _get_frame(frame):
+    """
+    Get a frame instance or None, from the input `frame`, which could be a
+    frame name string, frame instance, or frame class.
+
+    Adapted from
+    :meth:`astropy.coordinates.sky_coordinate_parsers._get_frame_class`.
+    """
+
+    if frame is None or isinstance(frame, BaseCoordinateFrame):
+        return frame
+
+    elif isinstance(frame, str):
+        frame_cls = frame_transform_graph.lookup_name(frame)
+        if frame_cls is None:
+            frame_names = frame_transform_graph.get_names()
+            raise ValueError('Coordinate frame name "{}" is not a known '
+                             'coordinate frame ({})'
+                             .format(frame, sorted(frame_names)))
+        return frame_cls()
+
+    elif inspect.isclass(frame) and issubclass(frame, BaseCoordinateFrame):
+        return frame()
+
+    else:
+        raise ValueError("Coordinate frame must be a frame name, frame "
+                         "instance, frame class, or None, not a '{}'"
+                         .format(frame.__class__.__name__))
+
+
 class HEALPix:
     """
     A HEALPix pixellization.
@@ -34,22 +67,29 @@
     ----------
     nside : int
         Number of pixels along the side of each of the 12 top-level HEALPix 
tiles
-    order : { 'nested' | 'ring' }
-        Order of HEALPix pixels
-    frame : :class:`~astropy.coordinates.BaseCoordinateFrame`, optional
+    order : { 'nested' | 'ring' }, optional
+        Order of HEALPix pixels. Input string can be lower or upper case.
+    frame : str or :class:`~astropy.coordinates.BaseCoordinateFrame`, optional
         The celestial coordinate frame of the pixellization. This can be
         ommitted, in which case the pixellization will not be attached to any
         particular celestial frame, and the methods ending in _skycoord will
         not work (but the _lonlat methods will still work and continue to
-        return generic longitudes/latitudes).
+        return generic longitudes/latitudes). The frame may be passed as a
+        string (such as ``galactic``), as a frame class, or as an instance of
+        a frame class.
+
+    Raises
+    ------
+    ValueError
+        If 'order' is not one of the allowed options.
     """
 
     def __init__(self, nside=None, order='ring', frame=None):
         if nside is None:
             raise ValueError('nside has not been set')
         self.nside = nside
-        self.order = order
-        self.frame = frame
+        self.order = _validate_order(order)
+        self.frame = _get_frame(frame)
 
     @classmethod
     def from_header(cls, input_data, field=0, hdu_in=None, nested=None):
@@ -161,6 +201,59 @@
         return lonlat_to_healpix(lon, lat, self.nside,
                                  return_offsets=return_offsets, 
order=self.order)
 
+    def healpix_to_xyz(self, healpix_index, dx=None, dy=None):
+        """
+        Convert HEALPix indices (optionally with offsets) to Cartesian 
coordinates
+
+        Parameters
+        ----------
+        healpix_index : `~numpy.ndarray`
+            1-D array of HEALPix indices
+        dx, dy : `~numpy.ndarray`, optional
+            1-D arrays of offsets inside the HEALPix pixel, which must be in
+            the range [0:1] (0.5 is the center of the HEALPix pixels). If not
+            specified, the position at the center of the pixel is used.
+
+        Returns
+        -------
+        x : :class:`~numpy.ndarray`
+            The x coordinates
+        y : :class:`~numpy.ndarray`
+            The y coordinates
+        z : :class:`~numpy.ndarray`
+            The z coordinates
+        """
+        return healpix_to_xyz(healpix_index, self.nside, dx=dx, dy=dy, 
order=self.order)
+
+    def xyz_to_healpix(self, x, y, z, return_offsets=False):
+        """
+        Convert Cartesian coordinates to HEALPix indices (optionally with 
offsets)
+
+        Parameters
+        ----------
+        x : :class:`~numpy.ndarray`
+            The x coordinates
+        y : :class:`~numpy.ndarray`
+            The y coordinates
+        z : :class:`~numpy.ndarray`
+            The z coordinates
+        return_offsets : bool
+            If `True`, the returned values are the HEALPix pixel as well as
+            ``dx`` and ``dy``, the fractional positions inside the pixel. If
+            `False` (the default), only the HEALPix pixel is returned.
+
+        Returns
+        -------
+        healpix_index : `~numpy.ndarray`
+            1-D array of HEALPix indices
+        dx, dy : `~numpy.ndarray`
+            1-D arrays of offsets inside the HEALPix pixel in the range [0:1] 
(0.5
+            is the center of the HEALPix pixels). This is returned if
+            ``return_offsets`` is `True`.
+        """
+        return xyz_to_healpix(x, y, z, self.nside,
+                              return_offsets=return_offsets, order=self.order)
+
     def nested_to_ring(self, nested_index):
         """
         Convert a healpix 'nested' index to a healpix 'ring' index
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/astropy_healpix/setup_package.py 
new/astropy_healpix-0.7/astropy_healpix/setup_package.py
--- old/astropy_healpix-0.6/astropy_healpix/setup_package.py    2021-03-10 
16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix/setup_package.py    2022-09-15 
15:10:35.000000000 +0200
@@ -2,7 +2,7 @@
 
 import os
 
-from distutils.core import Extension
+from setuptools import Extension
 
 import numpy as np
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/astropy_healpix-0.6/astropy_healpix/tests/test_high_level.py 
new/astropy_healpix-0.7/astropy_healpix/tests/test_high_level.py
--- old/astropy_healpix-0.6/astropy_healpix/tests/test_high_level.py    
2021-03-10 16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix/tests/test_high_level.py    
2022-09-15 15:10:35.000000000 +0200
@@ -57,6 +57,31 @@
         assert_allclose(dx, [0.1, 0.2, 0.3])
         assert_allclose(dy, [0.5, 0.4, 0.7])
 
+    def test_healpix_to_xyz(self):
+        x, y, z = self.pix.healpix_to_xyz([1, 2, 3])
+
+        assert isinstance(x, np.ndarray)
+        assert isinstance(y, np.ndarray)
+        assert isinstance(z, np.ndarray)
+
+        index = self.pix.xyz_to_healpix(x, y, z)
+
+        assert_equal(index, [1, 2, 3])
+
+        x, y, z = self.pix.healpix_to_xyz([1, 2, 3],
+                                          dx=[0.1, 0.2, 0.3],
+                                          dy=[0.5, 0.4, 0.7])
+
+        assert isinstance(x, np.ndarray)
+        assert isinstance(y, np.ndarray)
+        assert isinstance(z, np.ndarray)
+
+        index, dx, dy = self.pix.xyz_to_healpix(x, y, z, return_offsets=True)
+
+        assert_equal(index, [1, 2, 3])
+        assert_allclose(dx, [0.1, 0.2, 0.3])
+        assert_allclose(dy, [0.5, 0.4, 0.7])
+
     def test_nested_to_ring(self):
         nested_index_1 = [1, 3, 22]
         ring_index = self.pix.nested_to_ring(nested_index_1)
@@ -185,3 +210,25 @@
     def test_boundaries_skycoord(self):
         coord = self.pix.boundaries_skycoord([10, 20, 30], 4)
         assert coord.shape == (3, 16)
+
+
+class TestCelestialHEALPixFrameAsClass(TestCelestialHEALPix):
+
+    def setup_class(self):
+        self.pix = HEALPix(nside=256, order='nested', frame=Galactic)
+
+
+class TestCelestialHEALPixFrameAsString(TestCelestialHEALPix):
+
+    def setup_class(self):
+        self.pix = HEALPix(nside=256, order='nested', frame='galactic')
+
+
+def test_invalid_frame_name():
+    with pytest.raises(ValueError, match='Coordinate frame name "foobar"'):
+        HEALPix(nside=256, frame='foobar')
+
+
+def test_invalid_frame_type():
+    with pytest.raises(ValueError, match='Coordinate frame must be a'):
+        HEALPix(nside=256, frame=('obviously', 'not', 'a', 'frame'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/astropy_healpix/version.py 
new/astropy_healpix-0.7/astropy_healpix/version.py
--- old/astropy_healpix-0.6/astropy_healpix/version.py  2021-03-10 
16:53:29.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix/version.py  2022-09-15 
15:10:59.000000000 +0200
@@ -5,4 +5,4 @@
     from setuptools_scm import get_version
     version = get_version(root='..', relative_to=__file__)
 except Exception:
-    version = '0.6'
+    version = '0.7'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/astropy_healpix-0.6/astropy_healpix.egg-info/PKG-INFO 
new/astropy_healpix-0.7/astropy_healpix.egg-info/PKG-INFO
--- old/astropy_healpix-0.6/astropy_healpix.egg-info/PKG-INFO   2021-03-10 
16:53:29.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix.egg-info/PKG-INFO   2022-09-15 
15:10:59.000000000 +0200
@@ -1,34 +1,79 @@
 Metadata-Version: 2.1
 Name: astropy-healpix
-Version: 0.6
+Version: 0.7
 Summary: BSD-licensed HEALPix for Astropy
 Home-page: https://github.com/astropy/astropy-healpix
 Author: Astropy Developers
 Author-email: astropy.t...@gmail.com
 License: BSD 3-Clause
-Description: |RTD| |Travis Status| |AppVeyor status| |CircleCI| |Coverage 
Status|
-        
-        About
-        -----
-        
-        This is a BSD-licensed HEALPix package developed by the Astropy project
-        and based on C code written by Dustin Lang in `astrometry.net 
<http://astrometry.net/>`__. See the
-        `Documentation <http://astropy-healpix.readthedocs.io>`__ for
-        information about installing and using this package.
-        
-        .. |Travis Status| image:: 
https://travis-ci.org/astropy/astropy-healpix.svg
-           :target: https://travis-ci.org/astropy/astropy-healpix?branch=master
-        .. |AppVeyor status| image:: 
https://ci.appveyor.com/api/projects/status/5kxwb47o2umy370m/branch/master?svg=true
-           :target: 
https://ci.appveyor.com/project/Astropy/astropy-healpix/branch/master
-        .. |CircleCI| image:: 
https://circleci.com/gh/astropy/astropy-healpix.svg?style=svg
-           :target: https://circleci.com/gh/astropy/astropy-healpix
-        .. |Coverage Status| image:: 
https://coveralls.io/repos/astropy/astropy-healpix/badge.svg
-           :target: https://coveralls.io/r/astropy/astropy-healpix
-        .. |RTD| image:: 
https://readthedocs.org/projects/astropy-healpix/badge/?version=latest
-           :target: 
http://astropy-healpix.readthedocs.io/en/latest/?badge=latest
-        
-Platform: UNKNOWN
-Requires-Python: >=3.6
+Requires-Python: >=3.7
 Description-Content-Type: text/x-rst
 Provides-Extra: test
 Provides-Extra: docs
+License-File: LICENSE.md
+
+astropy healpix
+---------------
+
+.. image:: 
https://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
+    :target: https://www.astropy.org
+    :alt: Powered by Astropy Badge
+
+.. image:: https://github.com/astropy/astropy-healpix/workflows/CI/badge.svg
+    :target: https://github.com/astropy/astropy-healpix/actions
+    :alt: GitHub Actions CI Status
+
+.. image:: 
https://codecov.io/gh/astropy/astropy-healpix/branch/main/graph/badge.svg
+    :target: https://codecov.io/gh/astropy/astropy-healpix
+    :alt: Coverage Status
+
+.. image:: 
https://readthedocs.org/projects/astropy-healpix/badge/?version=latest
+    :target: http://astropy-healpix.readthedocs.io/en/latest/?badge=latest
+    :alt: Doc
+
+This is a BSD-licensed HEALPix package developed by the Astropy project
+and based on C code written by Dustin Lang in `astrometry.net 
<http://astrometry.net/>`__. See the
+`Documentation <http://astropy-healpix.readthedocs.io>`__ for
+information about installing and using this package.
+
+License
+-------
+
+This project is Copyright (c) Astropy Developers and licensed under
+the terms of the BSD 3-Clause license. This package is based upon
+the `Astropy package template <https://github.com/astropy/package-template>`_
+which is licensed under the BSD 3-clause license. See the licenses folder for
+more information.
+
+
+Contributing
+------------
+
+We love contributions! astropy-healpix is open source,
+built on open source, and we'd love to have you hang out in our community.
+
+**Imposter syndrome disclaimer**: We want your help. No, really.
+
+There may be a little voice inside your head that is telling you that you're 
not
+ready to be an open source contributor; that your skills aren't nearly good
+enough to contribute. What could you possibly offer a project like this one?
+
+We assure you - the little voice in your head is wrong. If you can write code 
at
+all, you can contribute code to open source. Contributing to open source
+projects is a fantastic way to advance one's coding skills. Writing perfect 
code
+isn't the measure of a good developer (that would disqualify all of us!); it's
+trying to create something, making mistakes, and learning from those
+mistakes. That's how we all improve, and we are happy to help others learn.
+
+Being an open source contributor doesn't just mean writing code, either. You 
can
+help out by writing documentation, tests, or even giving feedback about the
+project (and yes - that includes giving feedback about the contribution
+process). Some of these contributions may be the most valuable to the project 
as
+a whole, because you're coming to the project with fresh eyes, so you can see
+the errors and assumptions that seasoned contributors have glossed over.
+
+Note: This disclaimer was originally written by
+`Adrienne Lowe <https://github.com/adriennefriend>`_ for a
+`PyCon talk <https://www.youtube.com/watch?v=6Uj746j9Heo>`_, and was adapted by
+astropy-healpix based on its use in the README file for the
+`MetPy project <https://github.com/Unidata/MetPy>`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/astropy_healpix-0.6/astropy_healpix.egg-info/SOURCES.txt 
new/astropy_healpix-0.7/astropy_healpix.egg-info/SOURCES.txt
--- old/astropy_healpix-0.6/astropy_healpix.egg-info/SOURCES.txt        
2021-03-10 16:53:29.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix.egg-info/SOURCES.txt        
2022-09-15 15:10:59.000000000 +0200
@@ -4,13 +4,16 @@
 LICENSE.md
 MANIFEST.in
 README.rst
-RELEASING.rs
-azure-pipelines.yml
+RELEASING.rst
 environment-dev.yml
 pyproject.toml
 setup.cfg
 setup.py
 tox.ini
+.github/dependabot.yml
+.github/workflows/ci_cron_weekly.yml
+.github/workflows/ci_tests.yml
+.github/workflows/publish.yml
 astropy_healpix/__init__.py
 astropy_healpix/_astropy_init.py
 astropy_healpix/_compiler.c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/astropy_healpix-0.6/astropy_healpix.egg-info/requires.txt 
new/astropy_healpix-0.7/astropy_healpix.egg-info/requires.txt
--- old/astropy_healpix-0.6/astropy_healpix.egg-info/requires.txt       
2021-03-10 16:53:29.000000000 +0100
+++ new/astropy_healpix-0.7/astropy_healpix.egg-info/requires.txt       
2022-09-15 15:10:59.000000000 +0200
@@ -1,5 +1,5 @@
 numpy
-astropy
+astropy>=3
 
 [docs]
 sphinx-astropy
@@ -7,4 +7,4 @@
 
 [test]
 pytest-astropy
-hypothesis<4.42
+hypothesis
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/azure-pipelines.yml 
new/astropy_healpix-0.7/azure-pipelines.yml
--- old/astropy_healpix-0.6/azure-pipelines.yml 2021-03-10 16:53:04.000000000 
+0100
+++ new/astropy_healpix-0.7/azure-pipelines.yml 1970-01-01 01:00:00.000000000 
+0100
@@ -1,65 +0,0 @@
-variables:
-  CIBW_BUILD: cp36-* cp37-* cp38-* cp39-*
-
-resources:
-  repositories:
-  - repository: OpenAstronomy
-    type: github
-    endpoint: astropy
-    name: OpenAstronomy/azure-pipelines-templates
-    ref: master
-
-trigger:
-  branches:
-    include:
-    - '*'
-  tags:
-    include:
-    - 'v*'
-
-jobs:
-
-- template: run-tox-env.yml@OpenAstronomy
-  parameters:
-
-    coverage: codecov
-
-    envs:
-
-    - linux: codestyle
-
-    - macos: py36-test-cov
-    - macos: py37-test-cov
-    - macos: py38-test-cov
-    - macos: py39-test-cov
-
-    - linux: py36-test-cov
-    - linux: py37-test-cov
-    - linux: py38-test-cov
-    - linux: py39-test-cov
-
-    - linux32: py36-test-cov
-    - linux32: py37-test-cov
-    - linux32: py38-test-cov
-    - linux32: py39-test-cov
-
-    - windows: py36-test-cov
-    - windows: py37-test-cov
-    - windows: py38-test-cov
-    - windows: py39-test-cov
-
-    - macos: build_docs
-    - linux: build_docs
-    - macos: build_docs
-
-- template: publish.yml@OpenAstronomy
-  parameters:
-    test_command: pytest -p no:warnings --pyargs astropy_healpix
-    test_extras: test
-    ${{ if startsWith(variables['Build.SourceBranch'], 'refs/tags/v') }}:
-      pypi_connection_name : 'pypi_endpoint'
-    targets:
-    - sdist
-    - wheels_linux
-    - wheels_macos
-    - wheels_windows
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/docs/conf.py 
new/astropy_healpix-0.7/docs/conf.py
--- old/astropy_healpix-0.6/docs/conf.py        2021-03-10 16:53:04.000000000 
+0100
+++ new/astropy_healpix-0.7/docs/conf.py        2022-09-15 15:10:35.000000000 
+0200
@@ -52,7 +52,7 @@
 #needs_sphinx = '1.2'
 
 # To perform a Sphinx version check that needs to be more specific than
-# major.minor, call `check_sphinx_version("x.y.z")` here.
+# major.minor, call `check_sphinx_version("X.Y.Z")` here.
 # check_sphinx_version("1.2.1")
 
 # List of patterns, relative to source directory, that match files and
@@ -135,6 +135,9 @@
 # Output file base name for HTML help builder.
 htmlhelp_basename = project + 'doc'
 
+# Prefixes that are ignored for sorting the Python module index
+modindex_common_prefix = ["astropy_healpix."]
+
 
 # -- Options for LaTeX output -------------------------------------------------
 
@@ -159,13 +162,23 @@
     extensions += ['sphinx_astropy.ext.edit_on_github']
 
     edit_on_github_project = setup_cfg['github_project']
-    edit_on_github_branch = "master"
+    edit_on_github_branch = "main"
+
     edit_on_github_source_root = ""
     edit_on_github_doc_root = "docs"
 
 # -- Resolving issue number to links in changelog -----------------------------
 github_issues_url = 
'https://github.com/{0}/issues/'.format(setup_cfg['github_project'])
 
+
+# -- Options for linkcheck output -------------------------------------------
+linkcheck_retry = 5
+linkcheck_ignore = [
+    r'https://github\.com/astropy/astropy/(?:issues|pull)/\d+',
+]
+linkcheck_timeout = 180
+linkcheck_anchors = False
+
 # -- Turn on nitpicky mode for sphinx (to warn about references not found) ----
 #
 # nitpicky = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/docs/index.rst 
new/astropy_healpix-0.7/docs/index.rst
--- old/astropy_healpix-0.6/docs/index.rst      2021-03-10 16:53:04.000000000 
+0100
+++ new/astropy_healpix-0.7/docs/index.rst      2022-09-15 15:10:35.000000000 
+0200
@@ -52,4 +52,4 @@
 ===============
 
 For a list of changes in each version, see the `CHANGES.rst
-<https://github.com/astropy/astropy-healpix/blob/master/CHANGES.rst>`_ file.
+<https://github.com/astropy/astropy-healpix/blob/main/CHANGES.rst>`_ file.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/docs/installation.rst 
new/astropy_healpix-0.7/docs/installation.rst
--- old/astropy_healpix-0.6/docs/installation.rst       2021-03-10 
16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/docs/installation.rst       2022-09-15 
15:10:35.000000000 +0200
@@ -14,7 +14,7 @@
 Required dependencies
 ---------------------
 
-The **astropy-healpix** package works with Python 3.6 and later (on Linux, 
MacOS
+The **astropy-healpix** package works with Python 3.7 and later (on Linux, 
MacOS
 and Windows), and requires the following dependencies:
 
 * `Numpy <http://www.numpy.org>`__ 1.11 or later
@@ -30,7 +30,7 @@
 * `pytest <http://www.pytest.org>`__ for testing
 * `healpy <https://healpy.readthedocs.io>`__ for testing (but this is not 
required
   and the tests that require healpy will be skipped if healpy is not installed)
-* `hypothesis <hypothesis.readthedocs.io>`__ for the healpy-related tests.
+* `hypothesis <https://hypothesis.readthedocs.io>`__ for the healpy-related 
tests.
 
 Stable version
 ==============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/docs/interpolation.rst 
new/astropy_healpix-0.7/docs/interpolation.rst
--- old/astropy_healpix-0.6/docs/interpolation.rst      2021-03-10 
16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/docs/interpolation.rst      2022-09-15 
15:10:35.000000000 +0200
@@ -42,7 +42,6 @@
 
     >>> from astropy.io import fits
     >>> hdulist = 
fits.open('https://lambda.gsfc.nasa.gov/data/map/dr3/skymaps/5yr//wmap_band_imap_r9_5yr_K_v3.fits')
  # doctest: +REMOTE_DATA
-    Downloading 
https://lambda.gsfc.nasa.gov/data/map/dr3/skymaps/5yr//wmap_band_imap_r9_5yr_K_v3.fits
 [Done]
     >>> hdulist.info()  # doctest: +REMOTE_DATA
     Filename: ...
     No.    Name      Ver    Type      Cards   Dimensions   Format
@@ -86,8 +85,8 @@
 The data itself can be accessed using::
 
     >>> hdulist[1].data['TEMPERATURE']  # doctest: +REMOTE_DATA
-    array([ 16.28499985,  16.8025322 ,  15.32036781, ...,  15.0780201 ,
-        15.36229229,  15.23281574], dtype=float32)
+    array([ 16.285   ,  16.802532,  15.320368, ...,  15.07802 ,  15.362292,
+            15.232816], dtype=float32)
 
 The last piece of information we need is that the map is in Galactic 
coordinates,
 which is unfortunately not encoded in the header but can be found `here
@@ -109,7 +108,7 @@
     >>> coord = SkyCoord('00h42m44.3503s +41d16m08.634s', frame='icrs')
     >>> temperature = hdulist[1].data['temperature']  # doctest: +REMOTE_DATA
     >>> hp.interpolate_bilinear_skycoord(coord, temperature)  # doctest: 
+FLOAT_CMP +REMOTE_DATA
-    array([ 0.41296058])
+    0.40692833017361985
 
 Here is a full example that uses this to make a map of a section of the sky:
 
@@ -144,7 +143,7 @@
 
     # Make a plot of the interpolated temperatures
     plt.figure(figsize=(9, 5))
-    im = plt.imshow(tmap, extent=[-1, 1, -10, 10], cmap=plt.cm.RdYlBu, 
aspect='auto')
+    im = plt.imshow(tmap, extent=[-1, 1, -10, 10], cmap=plt.cm.RdYlBu, 
origin='lower', aspect='auto')
     plt.colorbar(im)
     plt.xlabel('Right ascension (ICRS)')
     plt.ylabel('Declination (ICRS)')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/docs/make.bat 
new/astropy_healpix-0.7/docs/make.bat
--- old/astropy_healpix-0.6/docs/make.bat       2021-03-10 16:53:04.000000000 
+0100
+++ new/astropy_healpix-0.7/docs/make.bat       2022-09-15 15:10:35.000000000 
+0200
@@ -37,6 +37,8 @@
 if "%1" == "clean" (
        for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
        del /q /s %BUILDDIR%\*
+       del /q /s api
+       del /q /s generated
        goto end
 )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/environment-dev.yml 
new/astropy_healpix-0.7/environment-dev.yml
--- old/astropy_healpix-0.6/environment-dev.yml 2021-03-10 16:53:04.000000000 
+0100
+++ new/astropy_healpix-0.7/environment-dev.yml 2022-09-15 15:10:35.000000000 
+0200
@@ -11,7 +11,7 @@
   - conda-forge
 
 dependencies:
-  - python==3.6
+  - python==3.7
   - pip
   - ipython
   - numpy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/pyproject.toml 
new/astropy_healpix-0.7/pyproject.toml
--- old/astropy_healpix-0.6/pyproject.toml      2021-03-10 16:53:04.000000000 
+0100
+++ new/astropy_healpix-0.7/pyproject.toml      2022-09-15 15:10:35.000000000 
+0200
@@ -2,8 +2,14 @@
 
 requires = ["setuptools",
             "setuptools_scm",
+            "wheel",
             "extension-helpers",
-            "oldest-supported-numpy",
-            "wheel"]
+            "oldest-supported-numpy"]
 
 build-backend = 'setuptools.build_meta'
+
+[tool.cibuildwheel]
+skip = "*-musllinux_* pp*"
+
+[tool.cibuildwheel.macos]
+archs = ["x86_64", "universal2"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/setup.cfg 
new/astropy_healpix-0.7/setup.cfg
--- old/astropy_healpix-0.6/setup.cfg   2021-03-10 16:53:29.248110300 +0100
+++ new/astropy_healpix-0.7/setup.cfg   2022-09-15 15:10:59.298053500 +0200
@@ -14,16 +14,16 @@
 [options]
 zip_safe = False
 packages = find:
-python_requires = >=3.6
+python_requires = >=3.7
 setup_requires = setuptools_scm
 install_requires = 
        numpy
-       astropy
+       astropy>=3
 
 [options.extras_require]
 test = 
        pytest-astropy
-       hypothesis<4.42
+       hypothesis
 docs = 
        sphinx-astropy
        matplotlib
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-0.6/tox.ini 
new/astropy_healpix-0.7/tox.ini
--- old/astropy_healpix-0.6/tox.ini     2021-03-10 16:53:04.000000000 +0100
+++ new/astropy_healpix-0.7/tox.ini     2022-09-15 15:10:35.000000000 +0200
@@ -1,8 +1,8 @@
 [tox]
 envlist =
-    py{36,37,38,39}-test{,-alldeps,-devdeps}{,-cov}
-    py{36,37,38,39}-test-numpy{116,117,118}
-    py{36,37,38,39}-test-astropy{30,40,lts}
+    py{37,38,39,310}-test{,-alldeps,-devdeps-predeps}{,-cov}
+    py{37,38,39,310}-test-numpy{116,117,118}
+    py{37,38,39,310}-test-astropy{30,40,lts}
     build_docs
     linkcheck
     codestyle
@@ -12,6 +12,8 @@
 isolated_build = true
 
 [testenv]
+# Suppress display of matplotlib plots generated during docs build
+setenv = MPLBACKEND=agg
 
 # Pass through the following environment variables which may be needed for the 
CI
 passenv = HOME WINDIR LC_ALL LC_CTYPE CC CI TRAVIS
@@ -44,7 +46,8 @@
 # The following provides some specific pinnings for key packages
 deps =
 
-    pytest-cov
+    cov: coverage
+    cov: pytest-cov
 
     numpy116: numpy==1.16.*
     numpy117: numpy==1.17.*
@@ -52,9 +55,8 @@
 
     astropy30: astropy==3.0.*
     astropy40: astropy==4.0.*
-    astropylts: astropy==4.0.*
+    astropylts: astropy==5.0.*
 
-    devdeps: git+https://github.com/numpy/numpy.git#egg=numpy
     devdeps: git+https://github.com/astropy/astropy.git#egg=astropy
 
 # The following indicates which extras_require from setup.cfg will be installed
@@ -63,9 +65,15 @@
     alldeps: all
 
 commands =
+    devdeps: pip install -U --pre --only-binary :all: -i 
https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
     pip freeze
     !cov: pytest --pyargs astropy_healpix {toxinidir}/docs {posargs}
     cov: pytest --pyargs astropy_healpix {toxinidir}/docs --cov 
astropy_healpix --cov-config={toxinidir}/setup.cfg {posargs}
+    cov: coverage xml -o {toxinidir}/coverage.xml
+
+pip_pre =
+    predeps: true
+    !predeps: false
 
 [testenv:build_docs]
 changedir = docs

Reply via email to