Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sunpy for openSUSE:Factory 
checked in at 2023-09-20 13:25:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sunpy (Old)
 and      /work/SRC/openSUSE:Factory/.python-sunpy.new.16627 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sunpy"

Wed Sep 20 13:25:21 2023 rev:22 rq:1111746 version:5.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sunpy/python-sunpy.changes        
2023-03-25 18:55:43.394778994 +0100
+++ /work/SRC/openSUSE:Factory/.python-sunpy.new.16627/python-sunpy.changes     
2023-09-20 13:27:00.073941431 +0200
@@ -1,0 +2,81 @@
+Thu Sep 14 14:02:59 UTC 2023 - Markéta Machová <mmach...@suse.com>
+
+- Update to 5.0.1
+  * Fix RHESSI (RHESSIClient) fallback server detection.
+  * Fix bug in get_horizons_coord() when specifying a time range via 
+    a dictionary that could cause the returned times to be slightly different 
+    from the supplied times.
+  * Updated the url of the GBMClient to match on files other than those that 
+    end with version 0
+  * Added missing support to find GOES-18 XRS data in XRSClient.
+- Really drop python-311.patch
+
+-------------------------------------------------------------------
+Fri Aug  4 07:25:16 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 5.0.0:
+  * `~sunpy.net.dataretriever.XRSClient` now provides the re-processed
+    GOES-XRS 8-15 data from NOAA.
+  * Changed the output of :func:`sunpy.map.sample_at_coords` to return the
+    sampled values as `~astropy.units.Quantity` with the appropriate units
+    instead of merely numbers.
+  * Able to run the ``sunpy`` tests doing ``python -m sunpy.tests.self_test``.
+  * Able to detect gzip-compressed FITS files even if they don't have the
+    ``.gz`` extension in the filename.
+    `~sunpy.io.detect_filetype` now looks for the right file signature while
+    checking for gzipped FITS files.
+  * Added ``AttrAnd`` and ``AttrOr`` to the namespace in ``sunpy.net.attrs``.
+  * `~sunpy.net.dataretriever.SUVIClient` now provides GOES-18 SUVI data.
+  * The minimum required versions of several core dependencies have been
+    updated:
+    + Python 3.9
+    + astropy 5.0.1
+    + numpy 1.21.0
+  * Added the utility function :func:`sunpy.map.pixelate_coord_path` to
+    fully pixelate a coordinate path according to the pixels of a given map.
+  * Able to download files from REST/TAP Data Providers from the VSO.
+  * Adding data unit into html repr for `sunpy.map.Map`
+  * Joined ``HISTORY`` keys with newline characters when parsing ``HISTORY``
+    cards from FITS header.
+  * Added the ability to query for the GOES-XRS 1 minute average data with
+    the `.XRSClient`.
+  * Increased minimum version of `parfive` to 2.0.0.
+  * Fixed the incorrect calculation in
+    sunpy.map.header_helper.make_fitswcs_header` of the rotation matrix
+    from a rotation angle when the pixels are non-square.
+  * Fixed an issue with loading old EIT fits files with `sunpy.map.Map`
+    where the date could not be parsed.
+  * Fixed a bug where the `~sunpy.map.GenericMap.exposure_time` returned
+    ``None`` when the exposure time key was set to zero.
+  * HMI JPEG2000 files from Helioviewer could not be loaded due to a bug in
+    setting the plotting normalization.
+  * The ``data_manager`` was not raising failed downloads correctly and
+    would continue as if the file existed locally.
+  * `~sunpy.map.sources.XRTMap` will now set the unit for XRT files if
+    the ``BUNIT`` key is missing.
+  * `~sunpy.net.dataretriever.XRSClient` update use the new url for which
+    the GOES-XRS 8-15 data is provided by NOAA.
+  * Updated `~sunpy.database` to be compatible with ``SQLAlchemy``
+    versions >=2.0
+  * When using ``autoalign=True`` when plotting maps, the result was
+    misaligned by half a pixel.
+  * :meth:`sunpy.map.GenericMap.submap` can now handle a
+    `~astropy.coordinates.BaseCoordinateFrame` as input.
+  * Multi-line ``HISTORY`` and ``COMMENT`` keys metadata dictionaries are
+    now correctly split into multiple history and comment cards when writing
+    a FITS file.
+  * Pass in "max_splits" to Parfive to prevent multi connections to JSOC
+    for JSOC only queries.
+  * When converting an `astropy.wcs.WCS` object to a solar coordinate frame
+    the ``DATE-AVG`` key will be used before the ``DATE-OBS`` key, previously
+    only ``DATE-OBS`` was checked.
+  * `sunpy.map.GenericMap.rotation_matrix` now applies the default values if
+    any FITS rotation matrix keywords are missing from the header.
+  * Modified :func:`sunpy.io.special.srs.read_srs` to correctly handle
+    uppercase SRS files and supplementary sections occurring after the main
+    data sections.
+- Drop patch python-311.patch, no longer required.
+- Switch to pyproject macros.
+- Reinstate dask for python311, numba exists now.
+
+-------------------------------------------------------------------

Old:
----
  python-311.patch
  sunpy-4.1.3.tar.gz

New:
----
  sunpy-5.0.1.tar.gz

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

Other differences:
------------------
++++++ python-sunpy.spec ++++++
--- /var/tmp/diff_new_pack.Mrjm54/_old  2023-09-20 13:27:02.122014804 +0200
+++ /var/tmp/diff_new_pack.Mrjm54/_new  2023-09-20 13:27:02.126014946 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-sunpy
-Version:        4.1.3
+Version:        5.0.1
 Release:        0
 Summary:        SunPy core package: Python for Solar Physics
 License:        Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
@@ -26,60 +26,61 @@
 Source100:      python-sunpy-rpmlintrc
 # PATCH-FIX-OPENSUSE use custom hypothesis profile for slow OBS executions
 Patch1:         sunpy-obs-profile.patch
-# PATCH-FIX-UPSTREAM python-311.patch gh#sunpy/sunpy#6512
-Patch2:         python-311.patch
 BuildRequires:  %{python_module aioftp}
-BuildRequires:  %{python_module astropy >= 4.2.1}
-BuildRequires:  %{python_module base => 3.8}
-BuildRequires:  %{python_module devel >= 3.7}
-BuildRequires:  %{python_module numpy-devel > 1.17.0}
+BuildRequires:  %{python_module astropy >= 5.0.1}
+BuildRequires:  %{python_module base => 3.9}
+BuildRequires:  %{python_module devel >= 3.9}
+BuildRequires:  %{python_module numpy-devel >= 1.21.0}
 BuildRequires:  %{python_module packaging >= 19}
-BuildRequires:  %{python_module parfive >= 1.2.0}
+BuildRequires:  %{python_module parfive >= 2.0.0}
+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-aioftp >= 0.17.1
-Requires:       python-astropy >= 4.2.1
-Requires:       python-numpy > 1.17.0
+Requires:       python-astropy >= 5.0.1
+Requires:       python-numpy > 1.21.0
 Requires:       python-packaging >= 19
-Requires:       python-parfive >= 1.2.0
+Requires:       python-parfive >= 2.0.0
 # SECTION extras_require:asdf
 Recommends:     python-asdf >= 2.8
 Recommends:     python-asdf-astropy >= 0.1.1
 # /SECTION
 # SECTION extras_require:dask
-Suggests:       python-dask-array >= 2.0
+Suggests:       python-dask-array >= 2201.4
 # /SECTION
 # SECTION extras_require:database
 Recommends:     python-SQLAlchemy >= 1.3.4
 # /SECTION
 # SECTION extras_require:image
 Recommends:     python-scikit-image
-Recommends:     python-scipy > 1.3.0
+Recommends:     python-scipy > 1.7.0
 # /SECTION
 # SECTION extras_require:jpeg2000
 Recommends:     python-Glymur >= 0.8.18
+Recommends:     python-lxml >= 4.8
 # /SECTION
 # SECTION extras_require:map
-Recommends:     python-matplotlib >= 3.3.0
+Recommends:     python-matplotlib >= 3.5.0
 Recommends:     python-mpl-animators >= 1.0.0
 Recommends:     python-reproject
 # scipy
 # /SECTION
 # SECTION extras_require:net
-Recommends:     python-beautifulsoup4 >= 4.0.0
+Recommends:     python-beautifulsoup4 >= 4.8.0
 Recommends:     python-drms >= 0.6.1
 Recommends:     python-python-dateutil >= 2.8.0
 Recommends:     python-tqdm >= 4.32.1
 Recommends:     python-zeep >= 3.4.0
 # /SECTION
 # SECTION extras_require:timeseries
-Recommends:     python-cdflib >= 0.3.19
+Recommends:     python-cdflib >= 0.3.20
 Conflicts:      python-cdflib = 0.4.0
 Recommends:     python-h5netcdf
 Recommends:     python-h5py
-Recommends:     python-pandas >= 1
+Recommends:     python-pandas >= 1.2
 #               matplotlib
 # /SECTION
 # SECTION test requirements (and extras)
@@ -89,19 +90,19 @@
 BuildRequires:  %{python_module SQLAlchemy >= 1.3.4}
 BuildRequires:  %{python_module asdf >= 2.8}
 BuildRequires:  %{python_module asdf-astropy >= 0.1.1}
-BuildRequires:  %{python_module beautifulsoup4 >= 4.0.0}
-BuildRequires:  %{python_module cdflib >= 0.3.19}
-# no numba, no dask for Py 3.11 yet
-BuildRequires:  %{python_module dask-array if %python-base < 3.11}
+BuildRequires:  %{python_module beautifulsoup4 >= 4.8.0}
+BuildRequires:  %{python_module cdflib >= 0.3.20}
+BuildRequires:  %{python_module dask-array >= 2021.4}
 BuildRequires:  %{python_module drms >= 0.6.1}
 BuildRequires:  %{python_module extension-helpers}
 BuildRequires:  %{python_module h5netcdf}
 BuildRequires:  %{python_module h5py >= 3.1.0}
 BuildRequires:  %{python_module hypothesis >= 6.0.0}
 BuildRequires:  %{python_module jplephem}
-BuildRequires:  %{python_module matplotlib >= 3.1.0}
+BuildRequires:  %{python_module lxml >= 4.8}
+BuildRequires:  %{python_module matplotlib >= 3.5.0}
 BuildRequires:  %{python_module mpl-animators >= 1.0.0}
-BuildRequires:  %{python_module pandas >= 0.24.0}
+BuildRequires:  %{python_module pandas >= 1.2.0}
 BuildRequires:  %{python_module pytest >= 6}
 BuildRequires:  %{python_module pytest-astropy >= 0.8}
 BuildRequires:  %{python_module pytest-doctestplus >= 0.5}
@@ -110,8 +111,8 @@
 BuildRequires:  %{python_module pytest-xdist >= 2}
 BuildRequires:  %{python_module reproject >= 0.9}
 BuildRequires:  %{python_module requests}
-BuildRequires:  %{python_module scikit-image >= 0.16.0}
-BuildRequires:  %{python_module scipy >= 1.3.0}
+BuildRequires:  %{python_module scikit-image >= 0.18.0}
+BuildRequires:  %{python_module scipy >= 1.7.0}
 BuildRequires:  %{python_module tox}
 BuildRequires:  %{python_module zeep >= 3.4.0}
 BuildRequires:  python3-opencv
@@ -127,10 +128,10 @@
 
 %build
 export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %{python_expand #
 sed -i -e 's@^#!/usr/bin/env python@#!%__$python@' 
%{buildroot}%{$python_sitearch}/sunpy/extern/distro.py
 chmod +x %{buildroot}%{$python_sitearch}/sunpy/extern/distro.py
@@ -157,5 +158,5 @@
 %doc README.rst CHANGELOG.rst
 %license LICENSE.rst licenses/*
 %{python_sitearch}/sunpy
-%{python_sitearch}/sunpy-%{version}*-info
+%{python_sitearch}/sunpy-%{version}.dist-info
 

++++++ sunpy-4.1.3.tar.gz -> sunpy-5.0.1.tar.gz ++++++
++++ 30022 lines of diff (skipped)

++++++ sunpy-obs-profile.patch ++++++
--- /var/tmp/diff_new_pack.Mrjm54/_old  2023-09-20 13:27:02.522029135 +0200
+++ /var/tmp/diff_new_pack.Mrjm54/_new  2023-09-20 13:27:02.526029277 +0200
@@ -1,8 +1,8 @@
-Index: sunpy-4.0.2/sunpy/conftest.py
+Index: sunpy-5.0.0/sunpy/conftest.py
 ===================================================================
---- sunpy-4.0.2.orig/sunpy/conftest.py
-+++ sunpy-4.0.2/sunpy/conftest.py
-@@ -3,6 +3,7 @@ import logging
+--- sunpy-5.0.0.orig/sunpy/conftest.py
++++ sunpy-5.0.0/sunpy/conftest.py
+@@ -4,6 +4,7 @@ import pathlib
  import tempfile
  import importlib
  
@@ -10,9 +10,9 @@
  import pytest
  
  import astropy
-@@ -31,6 +32,14 @@ HAVE_REMOTEDATA = remotedata_spec is not
- # Do not collect the sample data file because this would download the sample 
data.
- collect_ignore = ["data/sample.py"]
+@@ -34,6 +35,14 @@ collect_ignore = ["data/sample.py"]
+ console_logger = logging.getLogger()
+ console_logger.setLevel('INFO')
  
 +hypothesis.settings.register_profile(
 +    'obs',
@@ -23,6 +23,6 @@
 +# 'default' there.
 +hypothesis.settings.load_profile('obs')
  
- console_logger = logging.getLogger()
- console_logger.setLevel('INFO')
+ @pytest.fixture
+ def jsoc_test_email():
 

Reply via email to