SHA256
1
0
forked from pool/python-sunpy
Files
python-sunpy/sunpy-obs-profile.patch
Steve Kowalik 6b413c3a20 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sunpy?expand=0&rev=40
2023-08-04 07:25:44 +00:00

28 lines
753 B
Diff

Index: sunpy-5.0.0/sunpy/conftest.py
===================================================================
--- 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
+import hypothesis
import pytest
import astropy
@@ -34,6 +35,14 @@ collect_ignore = ["data/sample.py"]
console_logger = logging.getLogger()
console_logger.setLevel('INFO')
+hypothesis.settings.register_profile(
+ 'obs',
+ deadline=5000,
+ suppress_health_check=[hypothesis.HealthCheck.too_slow]
+)
+# this loads the profile after the pytest header printout, so don't be confused by the
+# 'default' there.
+hypothesis.settings.load_profile('obs')
@pytest.fixture
def jsoc_test_email():