commit python-pytest-astropy-header for openSUSE:Factory

2022-10-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-astropy-header for 
openSUSE:Factory checked in at 2022-10-28 19:30:24

Comparing /work/SRC/openSUSE:Factory/python-pytest-astropy-header (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.2275 
(New)


Package is "python-pytest-astropy-header"

Fri Oct 28 19:30:24 2022 rev:8 rq:1031606 version:0.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-astropy-header/python-pytest-astropy-header.changes
2022-03-13 20:25:41.475692336 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.2275/python-pytest-astropy-header.changes
  2022-10-28 19:30:45.387000255 +0200
@@ -1,0 +2,7 @@
+Thu Oct 27 17:23:49 UTC 2022 - Ben Greiner 
+
+- Update to v0.2.2
+  * The plugin is now aware of the ``run_slow`` and ``run_hugemem``
+options introduced in ``pytest-astropy`` version 0.10.0. [#48]
+
+---

Old:

  pytest-astropy-header-0.2.1.tar.gz

New:

  pytest-astropy-header-0.2.2.tar.gz



Other differences:
--
++ python-pytest-astropy-header.spec ++
--- /var/tmp/diff_new_pack.SWLqm6/_old  2022-10-28 19:30:45.879002722 +0200
+++ /var/tmp/diff_new_pack.SWLqm6/_new  2022-10-28 19:30:45.883002742 +0200
@@ -25,10 +25,9 @@
 %bcond_with test
 %endif
 %define modname pytest-astropy-header
-%{?!python_module:%define python_module() python3-%{**}}
-%define skip_python2 1
+
 Name:   python-%{modname}%{psuffix}
-Version:0.2.1
+Version:0.2.2
 Release:0
 Summary:Pytest plugin to add diagnostic information to the header of 
the test output
 License:BSD-3-Clause
@@ -46,6 +45,8 @@
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pytest >= 4.6}
 %endif
+Provides:   python-pytest_astropy_header = %{version}-%{release}
+BuildArch:  noarch
 %python_subpackages
 
 %description

++ pytest-astropy-header-0.2.1.tar.gz -> pytest-astropy-header-0.2.2.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-astropy-header-0.2.1/.github/workflows/ci_workflows.yml 
new/pytest-astropy-header-0.2.2/.github/workflows/ci_workflows.yml
--- old/pytest-astropy-header-0.2.1/.github/workflows/ci_workflows.yml  
2022-03-10 02:36:38.0 +0100
+++ new/pytest-astropy-header-0.2.2/.github/workflows/ci_workflows.yml  
2022-09-06 22:43:46.0 +0200
@@ -9,48 +9,15 @@
 
 jobs:
   tests:
-runs-on: ${{ matrix.os }}
-strategy:
-  fail-fast: true
-  matrix:
-include:
-  - os: ubuntu-latest
-python-version: 3.7
-toxenv: py37-test-pytest46
-  - os: windows-latest
-python-version: 3.7
-toxenv: py37-test-pytest50
-  - os: macos-latest
-python-version: 3.8
-toxenv: py38-test-pytest51
-  - os: ubuntu-latest
-python-version: 3.8
-toxenv: py38-test-pytest52
-  - os: windows-latest
-python-version: 3.9
-toxenv: py39-test-pytest53
-  - os: macos-latest
-python-version: 3.9
-toxenv: py39-test-pytest60
-  - os: ubuntu-latest
-python-version: 3.9
-toxenv: py39-test-pytest61
-  - os: windows-latest
-python-version: '3.10'
-toxenv: py310-test-pytest62
-  - os: ubuntu-latest
-python-version: '3.10'
-toxenv: py310-test-pytestdev
-
-steps:
-- uses: actions/checkout@v2
-  with:
-fetch-depth: 0
-- name: Set up Python ${{ matrix.python-version }}
-  uses: actions/setup-python@v2
-  with:
-python-version: ${{ matrix.python-version }}
-- name: Install tox
-  run: python -m pip install tox
-- name: Run tox
-  run: tox -v -e ${{ matrix.toxenv }}
+uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
+with:
+  envs: |
+- linux: py37-test-pytest46
+- windows: py37-test-pytest50
+- macos: py38-test-pytest51
+- linux: py38-test-pytest52
+- windows: py39-test-pytest53
+- macos: py39-test-pytest60
+- linux: py39-test-pytest61
+- windows: py310-test-pytest62
+- linux: py310-test-pytestdev
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-astropy-header-0.2.1/.github/workflows/publish.yml 
new/pytest-astropy-header-0.2.2/.github/workflows/publish.yml
--- old/pytest-astropy-header-0.2.1/.github/workflows/publish.yml   
2022-03-10 02:36:38.0 

commit python-pytest-astropy-header for openSUSE:Factory

2022-03-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-astropy-header for 
openSUSE:Factory checked in at 2022-03-13 20:25:18

Comparing /work/SRC/openSUSE:Factory/python-pytest-astropy-header (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.25692 
(New)


Package is "python-pytest-astropy-header"

Sun Mar 13 20:25:18 2022 rev:7 rq:961430 version:0.2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-astropy-header/python-pytest-astropy-header.changes
2021-12-29 21:11:29.422311855 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.25692/python-pytest-astropy-header.changes
 2022-03-13 20:25:41.475692336 +0100
@@ -1,0 +2,6 @@
+Sun Mar 13 08:25:07 UTC 2022 - Ben Greiner 
+
+- Update to v0.2.1
+  * Import astropy so astropy can use this package by @pllim in #43
+
+---

Old:

  pytest-astropy-header-0.2.0.tar.gz

New:

  pytest-astropy-header-0.2.1.tar.gz



Other differences:
--
++ python-pytest-astropy-header.spec ++
--- /var/tmp/diff_new_pack.R5mXba/_old  2022-03-13 20:25:42.039692999 +0100
+++ /var/tmp/diff_new_pack.R5mXba/_new  2022-03-13 20:25:42.039692999 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,9 +27,8 @@
 %define modname pytest-astropy-header
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
-%define skip_python36 1
 Name:   python-%{modname}%{psuffix}
-Version:0.2.0
+Version:0.2.1
 Release:0
 Summary:Pytest plugin to add diagnostic information to the header of 
the test output
 License:BSD-3-Clause

++ pytest-astropy-header-0.2.0.tar.gz -> pytest-astropy-header-0.2.1.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-astropy-header-0.2.0/CHANGES.rst 
new/pytest-astropy-header-0.2.1/CHANGES.rst
--- old/pytest-astropy-header-0.2.0/CHANGES.rst 2021-12-27 18:22:00.0 
+0100
+++ new/pytest-astropy-header-0.2.1/CHANGES.rst 2022-03-10 02:36:38.0 
+0100
@@ -1,3 +1,8 @@
+0.2.1 (2022-03-09)
+==
+
+- Fixed compatibility with ``astropy``. [#43]
+
 0.2.0 (2021-12-27)
 ==
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-astropy-header-0.2.0/PKG-INFO 
new/pytest-astropy-header-0.2.1/PKG-INFO
--- old/pytest-astropy-header-0.2.0/PKG-INFO2021-12-27 18:22:16.337073300 
+0100
+++ new/pytest-astropy-header-0.2.1/PKG-INFO2022-03-10 02:36:59.877133000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pytest-astropy-header
-Version: 0.2.0
+Version: 0.2.1
 Summary: pytest plugin to add diagnostic information to the header of the test 
output
 Home-page: https://github.com/astropy/pytest-astropy-header
 Author: The Astropy Developers
@@ -25,8 +25,13 @@
 pytest-astropy-header
 =
 
+.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5806492.svg
+:target: https://doi.org/10.5281/zenodo.5806492
+:alt: 10.5281/zenodo.5806492
+
 .. image:: https://img.shields.io/pypi/v/pytest-astropy-header.svg
 :target: https://pypi.python.org/pypi/pytest-astropy-header
+:alt: PyPI
 
 .. image:: 
https://github.com/astropy/pytest-astropy-header/workflows/CI/badge.svg
 :target: https://github.com/astropy/pytest-astropy-header/actions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-astropy-header-0.2.0/README.rst 
new/pytest-astropy-header-0.2.1/README.rst
--- old/pytest-astropy-header-0.2.0/README.rst  2021-12-27 18:22:00.0 
+0100
+++ new/pytest-astropy-header-0.2.1/README.rst  2022-03-10 02:36:38.0 
+0100
@@ -2,8 +2,13 @@
 pytest-astropy-header
 =
 
+.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5806492.svg
+:target: https://doi.org/10.5281/zenodo.5806492
+:alt: 10.5281/zenodo.5806492
+
 .. image:: https://img.shields.io/pypi/v/pytest-astropy-header.svg
 :target: https://pypi.python.org/pypi/pytest-astropy-header
+:alt: PyPI
 
 .. image:: 
https://github.com/astropy/pytest-astropy-header/workflows/CI/badge.svg
 :target: https://github.com/astropy/pytest-astropy-header/actions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-astropy-header-0.2.0/pytest_astropy_header/display.py 

commit python-pytest-astropy-header for openSUSE:Factory

2021-12-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-astropy-header for 
openSUSE:Factory checked in at 2021-12-29 21:10:58

Comparing /work/SRC/openSUSE:Factory/python-pytest-astropy-header (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.2520 
(New)


Package is "python-pytest-astropy-header"

Wed Dec 29 21:10:58 2021 rev:6 rq:943003 version:0.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-astropy-header/python-pytest-astropy-header.changes
2020-12-09 22:22:05.655716327 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.2520/python-pytest-astropy-header.changes
  2021-12-29 21:11:29.422311855 +0100
@@ -1,0 +2,16 @@
+Tue Dec 28 17:37:12 UTC 2021 - Ben Greiner 
+
+- Update to v0.2
+  * Suppressed PytestAssertRewriteWarning. [#4]
+  * Do not show astropy-helpers version in packages that don't use
+it. [#16]
+  * Removed compatibility code for astropy < 4.0, and for
+astropy-helpers. [#32]
+  * Removed astropy dependency. [#19, #34]
+  * Bumped minimum supported Python version to 3.7 and various
+infrastructure updates. [#23, #39]
+- Drop patches
+  * pytest-astropy-header-pr16-no-helper-version.patch
+  * pytest-astropy-header-pr29-nohelpers.patch
+
+---

Old:

  pytest-astropy-header-0.1.2.tar.gz
  pytest-astropy-header-pr16-no-helper-version.patch
  pytest-astropy-header-pr29-nohelpers.patch

New:

  pytest-astropy-header-0.2.0.tar.gz



Other differences:
--
++ python-pytest-astropy-header.spec ++
--- /var/tmp/diff_new_pack.NkMuIm/_old  2021-12-29 21:11:29.942312282 +0100
+++ /var/tmp/diff_new_pack.NkMuIm/_new  2021-12-29 21:11:29.950312289 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package python-pytest-astropy-header
+# spec file
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,38 +16,36 @@
 #
 
 
-%define modname pytest-astropy-header
-%define skip_python2 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %define psuffix -test
-# current astropy in TW requires python >= 3.7
-%define skip_python36 1
 %bcond_without test
 %else
 %define psuffix %{nil}
 %bcond_with test
 %endif
+%define modname pytest-astropy-header
+%{?!python_module:%define python_module() python3-%{**}}
+%define skip_python2 1
+%define skip_python36 1
 Name:   python-%{modname}%{psuffix}
-Version:0.1.2
+Version:0.2.0
 Release:0
 Summary:Pytest plugin to add diagnostic information to the header of 
the test output
 License:BSD-3-Clause
 Group:  Productivity/Scientific/Astronomy
 URL:https://github.com/astropy/pytest-astropy-header
 Source: 
https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
-Patch0: 
https://github.com/astropy/pytest-astropy-header/pull/16.patch#/pytest-astropy-header-pr16-no-helper-version.patch
-Patch1: 
https://github.com/astropy/pytest-astropy-header/pull/29.patch#/pytest-astropy-header-pr29-nohelpers.patch
+BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module setuptools >= 30.3.0}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-pytest >= 2.8
+Requires:   python-pytest >= 4.6
 %if %{with test}
-# Patch0 and Patch1: helpers got removed in astropy 4
 BuildRequires:  %{python_module astropy >= 4.0}
 BuildRequires:  %{python_module numpy}
-BuildRequires:  %{python_module pytest >= 2.8}
+BuildRequires:  %{python_module pytest >= 4.6}
 %endif
 %python_subpackages
 
@@ -81,7 +79,7 @@
 %doc CHANGES.rst README.rst
 %license LICENSE.rst
 %{python_sitelib}/pytest_astropy_header
-%{python_sitelib}/pytest_astropy_header-%{version}-py*.egg-info
+%{python_sitelib}/pytest_astropy_header-%{version}*-info
 %endif
 
 %changelog

++ pytest-astropy-header-0.1.2.tar.gz -> pytest-astropy-header-0.2.0.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-astropy-header-0.1.2/.github/workflows/ci_workflows.yml 
new/pytest-astropy-header-0.2.0/.github/workflows/ci_workflows.yml
--- old/pytest-astropy-header-0.1.2/.github/workflows/ci_workflows.yml  
1970-01-01 01:00:00.0 +0100
+++ new/pytest-astropy-header-0.2.0/.github/workflows/ci_workflows.yml  
2021-12-27 18:22:00.0 +0100
@@ -0,0 +1,56 @@
+name: CI
+

commit python-pytest-astropy-header for openSUSE:Factory

2020-12-09 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-pytest-astropy-header for 
openSUSE:Factory checked in at 2020-12-09 22:22:04

Comparing /work/SRC/openSUSE:Factory/python-pytest-astropy-header (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.2328 
(New)


Package is "python-pytest-astropy-header"

Wed Dec  9 22:22:04 2020 rev:5 rq:854214 version:0.1.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-astropy-header/python-pytest-astropy-header.changes
2020-08-17 12:08:39.854804066 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-astropy-header.new.2328/python-pytest-astropy-header.changes
  2020-12-09 22:22:05.655716327 +0100
@@ -1,0 +2,10 @@
+Wed Dec  9 09:49:05 UTC 2020 - Benjamin Greiner 
+
+- Fix test failures
+  * requires astropy >= 4 which removed astropy-helpers 
+  * gh#/astropy/pytest-astropy-header#16
+pytest-astropy-header-pr16-no-helper-version.patch
+  * gh#/astropy/pytest-astropy-header#29
+pytest-astropy-header-pr29-nohelpers.patch
+
+---

New:

  pytest-astropy-header-pr16-no-helper-version.patch
  pytest-astropy-header-pr29-nohelpers.patch



Other differences:
--
++ python-pytest-astropy-header.spec ++
--- /var/tmp/diff_new_pack.Bjtkq3/_old  2020-12-09 22:22:06.243716924 +0100
+++ /var/tmp/diff_new_pack.Bjtkq3/_new  2020-12-09 22:22:06.247716928 +0100
@@ -22,6 +22,8 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %define psuffix -test
+# current astropy in TW requires python >= 3.7
+%define skip_python36 1
 %bcond_without test
 %else
 %define psuffix %{nil}
@@ -35,12 +37,15 @@
 Group:  Productivity/Scientific/Astronomy
 URL:https://github.com/astropy/pytest-astropy-header
 Source: 
https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
+Patch0: 
https://github.com/astropy/pytest-astropy-header/pull/16.patch#/pytest-astropy-header-pr16-no-helper-version.patch
+Patch1: 
https://github.com/astropy/pytest-astropy-header/pull/29.patch#/pytest-astropy-header-pr29-nohelpers.patch
 BuildRequires:  %{python_module setuptools >= 30.3.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-pytest >= 2.8
 %if %{with test}
-BuildRequires:  %{python_module astropy >= 3.0}
+# Patch0 and Patch1: helpers got removed in astropy 4
+BuildRequires:  %{python_module astropy >= 4.0}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pytest >= 2.8}
 %endif
@@ -53,7 +58,7 @@
 Astropy project, but is optimized for use with astropy-related projects.
 
 %prep
-%setup -q -n %{modname}-%{version}
+%autosetup -p1 -n %{modname}-%{version}
 
 %build
 %python_build

++ pytest-astropy-header-pr16-no-helper-version.patch ++
From 0d5d2768ba7727977eaa9c750c067c60fa667631 Mon Sep 17 00:00:00 2001
From: Thomas Robitaille 
Date: Tue, 28 Jan 2020 12:40:36 +
Subject: [PATCH] Don't show astropy-helpers version in packages that don't use
 it

---
 CHANGES.rst  |  5 +
 pytest_astropy_header/display.py | 29 +++-
 tests/test_display.py| 38 
 3 files changed, 52 insertions(+), 20 deletions(-)

diff --git a/CHANGES.rst b/CHANGES.rst
index d215057..5d8af5f 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,3 +1,8 @@
+0.1.3 (unreleased)
+==
+
+- Don't show astropy-helpers version in packages that don't use it. [#16]
+
 0.1.2 (2019-12-18)
 ==
 
diff --git a/pytest_astropy_header/display.py b/pytest_astropy_header/display.py
index 48c8a22..e23d820 100644
--- a/pytest_astropy_header/display.py
+++ b/pytest_astropy_header/display.py
@@ -8,10 +8,14 @@
 import sys
 import datetime
 import locale
-import math
 from collections import OrderedDict
 from distutils.version import LooseVersion
 
+if sys.version_info[0] >= 3:
+import builtins
+else:
+import __builtin__ as builtins
+
 PYTEST_HEADER_MODULES = OrderedDict([('Numpy', 'numpy'),
 ('Scipy', 'scipy'),
 ('Matplotlib', 'matplotlib'),
@@ -157,17 +161,20 @@ def pytest_report_header(config):
 version = 'unknown (no __version__ attribute)'
 s += "{module_display}: 
{version}\n".format(module_display=module_display, version=version)
 
-# Helpers version
-if 'astropy_helpers' in TESTED_VERSIONS:
-astropy_helpers_version = TESTED_VERSIONS['astropy_helpers']
-else:
-try:
-from astropy.version import astropy_helpers_version
-except ImportError:
-astropy_helpers_version = None