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 2023-12-02 17:13:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-astropy-healpix (Old)
 and      /work/SRC/openSUSE:Factory/.python-astropy-healpix.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-astropy-healpix"

Sat Dec  2 17:13:20 2023 rev:4 rq:1130392 version:1.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-astropy-healpix/python-astropy-healpix.changes
    2023-09-12 21:03:05.896635512 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-astropy-healpix.new.25432/python-astropy-healpix.changes
 2023-12-02 17:13:51.778865052 +0100
@@ -1,0 +2,7 @@
+Sat Dec  2 08:50:58 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 1.0.1:
+  * Allow building using any version of Numpy between 1.25 and 2.
+  * Build wheels for PyPI. [#200]
+
+-------------------------------------------------------------------

Old:
----
  astropy_healpix-1.0.0.tar.gz

New:
----
  astropy_healpix-1.0.1.tar.gz

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

Other differences:
------------------
++++++ python-astropy-healpix.spec ++++++
--- /var/tmp/diff_new_pack.fzhyUh/_old  2023-12-02 17:13:52.226881470 +0100
+++ /var/tmp/diff_new_pack.fzhyUh/_new  2023-12-02 17:13:52.226881470 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python-astropy-healpix
-Version:        1.0.0
+Version:        1.0.1
 Release:        0
 Summary:        HEALPix for Astropy
 License:        BSD-3-Clause

++++++ astropy_healpix-1.0.0.tar.gz -> astropy_healpix-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/astropy_healpix-1.0.0/.github/workflows/ci_cron_weekly.yml 
new/astropy_healpix-1.0.1/.github/workflows/ci_cron_weekly.yml
--- old/astropy_healpix-1.0.0/.github/workflows/ci_cron_weekly.yml      
2023-08-21 15:27:23.000000000 +0200
+++ new/astropy_healpix-1.0.1/.github/workflows/ci_cron_weekly.yml      
2023-11-28 18:07:08.000000000 +0100
@@ -13,7 +13,7 @@
   doc_test:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
     - name: Set up Python to build docs with sphinx
       uses: actions/setup-python@v4
       with:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-1.0.0/.github/workflows/ci_tests.yml 
new/astropy_healpix-1.0.1/.github/workflows/ci_tests.yml
--- old/astropy_healpix-1.0.0/.github/workflows/ci_tests.yml    2023-08-21 
15:27:23.000000000 +0200
+++ new/astropy_healpix-1.0.1/.github/workflows/ci_tests.yml    2023-11-28 
18:07:08.000000000 +0100
@@ -69,7 +69,7 @@
 
     steps:
     - name: Checkout code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
       with:
         fetch-depth: 0
     - name: Set up Python ${{ matrix.python }} on ${{ matrix.os }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-1.0.0/.github/workflows/publish.yml 
new/astropy_healpix-1.0.1/.github/workflows/publish.yml
--- old/astropy_healpix-1.0.0/.github/workflows/publish.yml     2023-08-21 
15:27:23.000000000 +0200
+++ new/astropy_healpix-1.0.1/.github/workflows/publish.yml     2023-11-28 
18:07:08.000000000 +0100
@@ -1,6 +1,10 @@
 name: Publish
 
 on:
+  schedule:
+    # run every day at 4am UTC
+    - cron: '0 4 * * *'
+  workflow_dispatch:
   pull_request:
   push:
     branches:
@@ -14,6 +18,7 @@
     uses: 
OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1
     secrets:
       pypi_token: ${{ secrets.pypi_token }}
+      anaconda_token: ${{ secrets.anaconda_token }}
     with:
       targets: |
         - linux
@@ -21,3 +26,12 @@
         - windows
         - cp3*-macosx_arm64
         - cp3*-manylinux_aarch64
+
+      # Developer wheels (use Numpy dev to build)
+      upload_to_anaconda: ${{ (github.event_name == 'schedule' || 
github.event_name == 'workflow_dispatch') }}
+      anaconda_user: astropy
+      anaconda_package: astropy-healpix
+      anaconda_keep_n_latest: 10
+      env: |
+        CIBW_BEFORE_BUILD: '${{ ((github.event_name == 'schedule' || 
github.event_name == 'workflow_dispatch') && 'pip install --pre 
--extra-index-url 
https://pypi.anaconda.org/scientific-python-nightly-wheels/simple setuptools 
setuptools_scm numpy>=0.0dev0 extension-helpers') || '' }}'
+        CIBW_BUILD_FRONTEND: '${{ ((github.event_name == 'schedule' || 
github.event_name == 'workflow_dispatch') && 'pip; args: --no-build-isolation') 
|| 'build' }}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-1.0.0/.readthedocs.yml 
new/astropy_healpix-1.0.1/.readthedocs.yml
--- old/astropy_healpix-1.0.0/.readthedocs.yml  2023-08-21 15:27:23.000000000 
+0200
+++ new/astropy_healpix-1.0.1/.readthedocs.yml  2023-11-28 18:07:08.000000000 
+0100
@@ -6,7 +6,6 @@
     python: "3.11"
 
 python:
-  system_packages: false
   install:
     - method: pip
       path: .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-1.0.0/CHANGES.rst 
new/astropy_healpix-1.0.1/CHANGES.rst
--- old/astropy_healpix-1.0.0/CHANGES.rst       2023-08-21 15:27:23.000000000 
+0200
+++ new/astropy_healpix-1.0.1/CHANGES.rst       2023-11-28 18:07:08.000000000 
+0100
@@ -4,6 +4,13 @@
 Changes
 *******
 
+1.0.1 (2023-11-28)
+==================
+
+- Allow building using any version of Numpy between 1.25 and 2. [#201]
+
+- Build wheels for PyPI. [#200]
+
 1.0.0 (2023-08-21)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-1.0.0/PKG-INFO 
new/astropy_healpix-1.0.1/PKG-INFO
--- old/astropy_healpix-1.0.0/PKG-INFO  2023-08-21 15:41:43.285111200 +0200
+++ new/astropy_healpix-1.0.1/PKG-INFO  2023-11-28 18:07:31.105450600 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: astropy_healpix
-Version: 1.0.0
+Version: 1.0.1
 Summary: BSD-licensed HEALPix for Astropy
 Home-page: https://github.com/astropy/astropy-healpix
 Author: Astropy Developers
@@ -18,9 +18,15 @@
 Classifier: Topic :: Scientific/Engineering :: Physics
 Requires-Python: >=3.9
 Description-Content-Type: text/x-rst
+License-File: LICENSE.md
+Requires-Dist: numpy>=1.19
+Requires-Dist: astropy>=3
 Provides-Extra: test
+Requires-Dist: pytest-astropy; extra == "test"
+Requires-Dist: hypothesis; extra == "test"
 Provides-Extra: docs
-License-File: LICENSE.md
+Requires-Dist: sphinx-astropy; extra == "docs"
+Requires-Dist: matplotlib; extra == "docs"
 
 astropy healpix
 ---------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-1.0.0/astropy_healpix/_core.c 
new/astropy_healpix-1.0.1/astropy_healpix/_core.c
--- old/astropy_healpix-1.0.0/astropy_healpix/_core.c   2023-08-21 
15:27:23.000000000 +0200
+++ new/astropy_healpix-1.0.1/astropy_healpix/_core.c   2023-11-28 
18:07:08.000000000 +0100
@@ -1,3 +1,17 @@
+#include <Python.h>
+#include <numpy/arrayobject.h>
+#include <numpy/ufuncobject.h>
+#include "healpix.h"
+#include "healpix-utils.h"
+#include "interpolation.h"
+
+/* FIXME: We need npy_set_floatstatus_invalid(), but unlike most of the Numpy
+ * C API it is only available on some platforms if you explicitly link against
+ * Numpy, which is not typically done for building C extensions. This bundled
+ * header file contains a static definition of _npy_set_floatstatus_invalid().
+ */
+#include "ieee754.h"
+
 /* FIXME:
  * The Numpy C-API defines PyArrayDescr_Type as:
  *
@@ -14,23 +28,11 @@
  *
  * Drop this when supporting gcc < 10 becomes irrelevant.
  */
+#ifndef PYPY_VERSION
 struct _typeobject {
     int _placeholder;
 };
-
-#include <Python.h>
-#include <numpy/arrayobject.h>
-#include <numpy/ufuncobject.h>
-#include "healpix.h"
-#include "healpix-utils.h"
-#include "interpolation.h"
-
-/* FIXME: We need npy_set_floatstatus_invalid(), but unlike most of the Numpy
- * C API it is only available on some platforms if you explicitly link against
- * Numpy, which is not typically done for building C extensions. This bundled
- * header file contains a static definition of _npy_set_floatstatus_invalid().
- */
-#include "ieee754.h"
+#endif
 
 
 #define INVALID_INDEX (-1)
@@ -67,7 +69,7 @@
 
 
 static void healpix_to_lonlat_loop(
-    char **args, npy_intp *dimensions, npy_intp *steps, void *data)
+    char **args, const npy_intp *dimensions, const npy_intp *steps, void *data)
 {
     order_funcs *funcs = data;
     npy_intp i, n = dimensions[0];
@@ -97,7 +99,7 @@
 
 
 static void lonlat_to_healpix_loop(
-    char **args, npy_intp *dimensions, npy_intp *steps, void *data)
+    char **args, const npy_intp *dimensions, const npy_intp *steps, void *data)
 {
     order_funcs *funcs = data;
     npy_intp i, n = dimensions[0];
@@ -125,7 +127,7 @@
 
 
 static void healpix_to_xyz_loop(
-    char **args, npy_intp *dimensions, npy_intp *steps, void *data)
+    char **args, const npy_intp *dimensions, const npy_intp *steps, void *data)
 {
     order_funcs *funcs = data;
     npy_intp i, n = dimensions[0];
@@ -156,7 +158,7 @@
 
 
 static void xyz_to_healpix_loop(
-    char **args, npy_intp *dimensions, npy_intp *steps, void *data)
+    char **args, const npy_intp *dimensions, const npy_intp *steps, void *data)
 {
     order_funcs *funcs = data;
     npy_intp i, n = dimensions[0];
@@ -191,7 +193,7 @@
 
 
 static void nested_to_ring_loop(
-    char **args, npy_intp *dimensions, npy_intp *steps, void *data)
+    char **args, const npy_intp *dimensions, const npy_intp *steps, void *data)
 {
     npy_intp i, n = dimensions[0];
 
@@ -215,7 +217,7 @@
 
 
 static void ring_to_nested_loop(
-    char **args, npy_intp *dimensions, npy_intp *steps, void *data)
+    char **args, const npy_intp *dimensions, const npy_intp *steps, void *data)
 {
     npy_intp i, n = dimensions[0];
 
@@ -239,7 +241,7 @@
 
 
 static void bilinear_interpolation_weights_loop(
-    char **args, npy_intp *dimensions, npy_intp *steps, void *data)
+    char **args, const npy_intp *dimensions, const npy_intp *steps, void *data)
 {
     npy_intp i, n = dimensions[0];
 
@@ -263,7 +265,7 @@
 
 
 static void neighbours_loop(
-    char **args, npy_intp *dimensions, npy_intp *steps, void *data)
+    char **args, const npy_intp *dimensions, const npy_intp *steps, void *data)
 {
     order_funcs *funcs = data;
     npy_intp i, n = dimensions[0];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/astropy_healpix-1.0.0/astropy_healpix/setup_package.py 
new/astropy_healpix-1.0.1/astropy_healpix/setup_package.py
--- old/astropy_healpix-1.0.0/astropy_healpix/setup_package.py  2023-08-21 
15:27:23.000000000 +0200
+++ new/astropy_healpix-1.0.1/astropy_healpix/setup_package.py  2023-11-28 
18:07:08.000000000 +0100
@@ -39,6 +39,7 @@
         extra_compile_args=['-O2'],
         py_limited_api=True,
         define_macros=[('Py_LIMITED_API', 0x03090000),
+                       ('NPY_TARGET_VERSION', 'NPY_1_19_API_VERSION'),
                        ('NPY_NO_DEPRECATED_API', 'NPY_1_19_API_VERSION')])
 
     return [extension]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-1.0.0/astropy_healpix/version.py 
new/astropy_healpix-1.0.1/astropy_healpix/version.py
--- old/astropy_healpix-1.0.0/astropy_healpix/version.py        2023-08-21 
15:41:43.000000000 +0200
+++ new/astropy_healpix-1.0.1/astropy_healpix/version.py        2023-11-28 
18:07:31.000000000 +0100
@@ -5,4 +5,4 @@
     from setuptools_scm import get_version
     version = get_version(root='..', relative_to=__file__)
 except Exception:
-    version = '1.0.0'
+    version = '1.0.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/astropy_healpix-1.0.0/astropy_healpix.egg-info/PKG-INFO 
new/astropy_healpix-1.0.1/astropy_healpix.egg-info/PKG-INFO
--- old/astropy_healpix-1.0.0/astropy_healpix.egg-info/PKG-INFO 2023-08-21 
15:41:43.000000000 +0200
+++ new/astropy_healpix-1.0.1/astropy_healpix.egg-info/PKG-INFO 2023-11-28 
18:07:31.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: astropy-healpix
-Version: 1.0.0
+Version: 1.0.1
 Summary: BSD-licensed HEALPix for Astropy
 Home-page: https://github.com/astropy/astropy-healpix
 Author: Astropy Developers
@@ -18,9 +18,15 @@
 Classifier: Topic :: Scientific/Engineering :: Physics
 Requires-Python: >=3.9
 Description-Content-Type: text/x-rst
+License-File: LICENSE.md
+Requires-Dist: numpy>=1.19
+Requires-Dist: astropy>=3
 Provides-Extra: test
+Requires-Dist: pytest-astropy; extra == "test"
+Requires-Dist: hypothesis; extra == "test"
 Provides-Extra: docs
-License-File: LICENSE.md
+Requires-Dist: sphinx-astropy; extra == "docs"
+Requires-Dist: matplotlib; extra == "docs"
 
 astropy healpix
 ---------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/astropy_healpix-1.0.0/pyproject.toml 
new/astropy_healpix-1.0.1/pyproject.toml
--- old/astropy_healpix-1.0.0/pyproject.toml    2023-08-21 15:27:23.000000000 
+0200
+++ new/astropy_healpix-1.0.1/pyproject.toml    2023-11-28 18:07:08.000000000 
+0100
@@ -2,14 +2,13 @@
 
 requires = ["setuptools>=42.0.0",
             "setuptools_scm",
-            "wheel",
             "extension-helpers",
-            "numpy==1.25.1"]
+            "numpy>=1.25,<2"]
 
 build-backend = 'setuptools.build_meta'
 
 [tool.cibuildwheel]
-skip = "*-musllinux_* pp*"
+skip = "*-musllinux_* pp310*"
 
 [tool.cibuildwheel.macos]
 archs = ["x86_64", "universal2"]

Reply via email to