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 <[email protected]>
+
+- 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.000000000 +0100
+++ new/pytest-astropy-header-0.2.2/.github/workflows/ci_workflows.yml
2022-09-06 22:43:46.000000000 +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.000000000 +0100
+++ new/pytest-astropy-header-0.2.2/.github/workflows/publish.yml
2022-09-06 22:43:46.000000000 +0200
@@ -7,41 +7,11 @@
- '*'
jobs:
- build-n-publish:
- name: Build and publish Python ???? distributions ???? to PyPI
- runs-on: ubuntu-latest
+ publish:
+ uses:
OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags'))
|| contains(github.event.pull_request.labels.*.name, 'Build wheels'))
-
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 0
- - uses: actions/setup-python@v2
- with:
- python-version: 3.8
-
- - name: Install python-build and twine
- run: python -m pip install pip build "twine>=3.3" -U
-
- - name: Build package
- run: python -m build --sdist --wheel .
-
- - name: List result
- run: ls -l dist
-
- - name: Check wheel
- run: python -m twine check --strict dist/*
-
- - name: Test package
- run: |
- cd ..
- python -m venv testenv
- testenv/bin/pip install astropy pytest pytest-astropy-header/dist/*.whl
- testenv/bin/pytest pytest-astropy-header/tests
-
- - name: Publish distribution ???? to PyPI
- if: startsWith(github.ref, 'refs/tags')
- uses: pypa/gh-action-pypi-publish@release/v1
- with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
+ with:
+ test_extras: test
+ test_command: pytest $GITHUB_WORKSPACE/tests
+ secrets:
+ pypi_token: ${{ secrets.PYPI_API_TOKEN }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-astropy-header-0.2.1/CHANGES.rst
new/pytest-astropy-header-0.2.2/CHANGES.rst
--- old/pytest-astropy-header-0.2.1/CHANGES.rst 2022-03-10 02:36:38.000000000
+0100
+++ new/pytest-astropy-header-0.2.2/CHANGES.rst 2022-09-06 22:43:46.000000000
+0200
@@ -1,3 +1,9 @@
+0.2.2 (2022-09-06)
+==================
+
+- The plugin is now aware of the ``run_slow`` and ``run_hugemem`` options
+ introduced in ``pytest-astropy`` version 0.10.0. [#48]
+
0.2.1 (2022-03-09)
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-astropy-header-0.2.1/PKG-INFO
new/pytest-astropy-header-0.2.2/PKG-INFO
--- old/pytest-astropy-header-0.2.1/PKG-INFO 2022-03-10 02:36:59.877133000
+0100
+++ new/pytest-astropy-header-0.2.2/PKG-INFO 2022-09-06 22:44:04.228710700
+0200
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: pytest-astropy-header
-Version: 0.2.1
+Version: 0.2.2
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
Author-email: [email protected]
License: BSD 3-Clause License
-Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
@@ -232,5 +231,3 @@
This package is licensed under a 3-clause BSD style license - see the
``LICENSE.rst`` file.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-astropy-header-0.2.1/pytest_astropy_header/display.py
new/pytest-astropy-header-0.2.2/pytest_astropy_header/display.py
--- old/pytest-astropy-header-0.2.1/pytest_astropy_header/display.py
2022-03-10 02:36:38.000000000 +0100
+++ new/pytest-astropy-header-0.2.2/pytest_astropy_header/display.py
2022-09-06 22:43:46.000000000 +0200
@@ -11,14 +11,10 @@
import locale
import os
import sys
-from collections import OrderedDict
TESTED_VERSIONS = {}
-PYTEST_HEADER_MODULES = OrderedDict([('Numpy', 'numpy'),
- ('Scipy', 'scipy'),
- ('Matplotlib', 'matplotlib'),
- ('h5py', 'h5py'),
- ('Pandas', 'pandas')])
+DEFAULT_PACKAGES = ("Numpy", "Scipy", "Matplotlib", "h5py", "Pandas")
+PYTEST_HEADER_MODULES = {pkg: pkg.lower() for pkg in DEFAULT_PACKAGES}
# This import is needed so astropy can use pytest-astropy-header.
# See https://github.com/astropy/pytest-astropy-header/issues/41
@@ -52,11 +48,11 @@
if astropy_header_packages_option is not None:
if isinstance(astropy_header_packages_option, str):
astropy_header_packages_option = [x.strip() for x in
astropy_header_packages_option.split(',')]
- packages_to_display = OrderedDict([(x, x) for x in
astropy_header_packages_option])
+ packages_to_display = {x: x for x in astropy_header_packages_option}
elif len(astropy_header_packages_ini) > 0:
if len(astropy_header_packages_ini) == 1:
astropy_header_packages_ini = [x.strip() for x in
astropy_header_packages_ini[0].split(',')]
- packages_to_display = OrderedDict([(x, x) for x in
astropy_header_packages_ini])
+ packages_to_display = {x: x for x in astropy_header_packages_ini}
else:
packages_to_display = PYTEST_HEADER_MODULES
@@ -124,9 +120,8 @@
s += "\n"
- special_opts = ["remote_data", "pep8"]
opts = []
- for op in special_opts:
+ for op in ("remote_data", "pep8", "run_slow", "run_hugemem"):
op_value = getattr(config.option, op, None)
if op_value:
if isinstance(op_value, str):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-astropy-header-0.2.1/pytest_astropy_header/version.py
new/pytest-astropy-header-0.2.2/pytest_astropy_header/version.py
--- old/pytest-astropy-header-0.2.1/pytest_astropy_header/version.py
2022-03-10 02:36:59.000000000 +0100
+++ new/pytest-astropy-header-0.2.2/pytest_astropy_header/version.py
2022-09-06 22:44:04.000000000 +0200
@@ -1,5 +1,5 @@
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
-version = '0.2.1'
-version_tuple = (0, 2, 1)
+__version__ = version = '0.2.2'
+__version_tuple__ = version_tuple = (0, 2, 2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-astropy-header-0.2.1/pytest_astropy_header.egg-info/PKG-INFO
new/pytest-astropy-header-0.2.2/pytest_astropy_header.egg-info/PKG-INFO
--- old/pytest-astropy-header-0.2.1/pytest_astropy_header.egg-info/PKG-INFO
2022-03-10 02:36:59.000000000 +0100
+++ new/pytest-astropy-header-0.2.2/pytest_astropy_header.egg-info/PKG-INFO
2022-09-06 22:44:04.000000000 +0200
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: pytest-astropy-header
-Version: 0.2.1
+Version: 0.2.2
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
Author-email: [email protected]
License: BSD 3-Clause License
-Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
@@ -232,5 +231,3 @@
This package is licensed under a 3-clause BSD style license - see the
``LICENSE.rst`` file.
-
-