Hello community,

here is the log from the commit of package python-pytest-remotedata for 
openSUSE:Leap:15.2 checked in at 2020-02-23 16:47:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pytest-remotedata (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-pytest-remotedata.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-remotedata"

Sun Feb 23 16:47:50 2020 rev:4 rq:777027 version:0.3.2

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-pytest-remotedata/python-pytest-remotedata.changes
      2020-01-15 15:52:19.087559206 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-pytest-remotedata.new.26092/python-pytest-remotedata.changes
   2020-02-23 16:47:51.238364786 +0100
@@ -1,0 +2,7 @@
+Mon Jul 22 08:52:02 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.3.2:
+  * Fixed compatibility with pytest 4.2 and later. [#38, #40]
+- Remove pytest42.patch merged upstream
+
+-------------------------------------------------------------------

Old:
----
  pytest-remotedata-0.3.1.tar.gz
  pytest42.patch

New:
----
  pytest-remotedata-0.3.2.tar.gz

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

Other differences:
------------------
++++++ python-pytest-remotedata.spec ++++++
--- /var/tmp/diff_new_pack.aAd1Eh/_old  2020-02-23 16:47:51.542365371 +0100
+++ /var/tmp/diff_new_pack.aAd1Eh/_new  2020-02-23 16:47:51.542365371 +0100
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest-remotedata
-Version:        0.3.1
+Version:        0.3.2
 Release:        0
 Summary:        Pytest plugin for controlling remote data access
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            https://github.com/astropy/pytest-remotedata
+URL:            https://github.com/astropy/pytest-remotedata
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-remotedata/pytest-remotedata-%{version}.tar.gz
-Patch0:         pytest42.patch
 BuildRequires:  %{python_module pytest >= 3.1}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
@@ -34,7 +33,6 @@
 Requires:       python-pytest >= 3.1
 Requires:       python-six
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -43,7 +41,6 @@
 
 %prep
 %setup -q -n pytest-remotedata-%{version}
-%patch0 -p1
 
 %build
 %python_build
@@ -54,7 +51,7 @@
 
 %check
 # test_internet_access (test_default_behavior, test_strict_with_decorator) - 
needs network
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v -k 'not (test_default_behavior or 
test_strict_with_decorator)'
+%pytest -k 'not (test_default_behavior or test_strict_with_decorator)'
 
 %files %{python_files}
 %doc CHANGES.rst README.rst

++++++ pytest-remotedata-0.3.1.tar.gz -> pytest-remotedata-0.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.1/.gitignore 
new/pytest-remotedata-0.3.2/.gitignore
--- old/pytest-remotedata-0.3.1/.gitignore      1970-01-01 01:00:00.000000000 
+0100
+++ new/pytest-remotedata-0.3.2/.gitignore      2019-07-20 16:01:53.000000000 
+0200
@@ -0,0 +1,55 @@
+# Compiled files
+*.py[cod]
+*.a
+*.o
+*.so
+*.pyd
+__pycache__
+
+# Ignore .c files by default to avoid including generated code. If you want to
+# add a non-generated .c extension, use `git add -f filename.c`.
+*.c
+
+# Other generated files
+MANIFEST
+
+# Sphinx
+_build
+_generated
+docs/api
+docs/generated
+
+# Packages/installer info
+*.egg
+*.egg-info
+dist
+build
+eggs
+.eggs
+parts
+bin
+var
+sdist
+develop-eggs
+.installed.cfg
+distribute-*.tar.gz
+
+# Other
+.cache
+.tox
+.*.swp
+.*.swo
+*~
+.project
+.pydevproject
+.settings
+.coverage
+cover
+htmlcov
+.pytest_cache
+
+# Mac OSX
+.DS_Store
+
+# PyCharm
+.idea
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.1/.travis.yml 
new/pytest-remotedata-0.3.2/.travis.yml
--- old/pytest-remotedata-0.3.1/.travis.yml     1970-01-01 01:00:00.000000000 
+0100
+++ new/pytest-remotedata-0.3.2/.travis.yml     2019-07-20 16:04:01.000000000 
+0200
@@ -0,0 +1,49 @@
+# We set the language to c because python isn't supported on the MacOS X nodes
+# on Travis. However, the language ends up being irrelevant anyway, since we
+# install Python ourselves using conda.
+language: c
+
+os:
+    - linux
+
+# Use Travis' container-based architecture
+sudo: false
+
+env:
+    global:
+        # The following versions are the 'default' for tests, unless
+        # overidden underneath. They are defined here in order to save having
+        # to repeat them for all configurations.
+        - PYTHON_VERSION=3.6
+        - PYTEST_VERSION=4.6
+        - PYTEST_COMMAND='pytest'
+        - NUMPY_VERSION=stable
+        - CONDA_DEPENDENCIES='six'
+
+    matrix:
+        - PYTHON_VERSION=2.7 PYTEST_VERSION=3.1 PYTEST_COMMAND='py.test'
+        - PYTHON_VERSION=2.7
+        - PYTHON_VERSION=3.5
+        - PYTHON_VERSION=3.6 PYTEST_VERSION=3.4
+        - PYTHON_VERSION=3.6 PYTEST_VERSION=4.5
+        - PYTHON_VERSION=3.6
+        - PYTHON_VERSION=3.7 PYTEST_VERSION=5.0
+
+matrix:
+    include:
+        # Try a run on OSX with latest versions of python and pytest
+        - os: osx
+          env: PYTHON_VERSION=3.7 PYTEST_VERSION=3.7
+
+install:
+    - git clone git://github.com/astropy/ci-helpers.git
+    - source ci-helpers/travis/setup_conda.sh
+    - python ./setup.py install
+
+script:
+   - $PYTEST_COMMAND
+   - $PYTEST_COMMAND --remote-data
+   - $PYTEST_COMMAND --remote-data=none
+   - $PYTEST_COMMAND --remote-data=github
+   - $PYTEST_COMMAND --remote-data=astropy
+   - $PYTEST_COMMAND --remote-data=any
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.1/CHANGES.rst 
new/pytest-remotedata-0.3.2/CHANGES.rst
--- old/pytest-remotedata-0.3.1/CHANGES.rst     2018-10-23 22:37:34.000000000 
+0200
+++ new/pytest-remotedata-0.3.2/CHANGES.rst     2019-07-20 16:05:35.000000000 
+0200
@@ -1,7 +1,12 @@
+0.3.2 (2019-07-20)
+==================
+
+- Fixed compatibility with pytest 4.2 and later. [#38, #40]
+
 0.3.1 (2018-10-23)
 ==================
 
-- Fix warnings that occur with ``pytest-3.7`` and later. [#34]
+- Fix warnings that occur with pytest 3.7 and later. [#34]
 
 0.3.0 (2018-05-29)
 ==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.1/PKG-INFO 
new/pytest-remotedata-0.3.2/PKG-INFO
--- old/pytest-remotedata-0.3.1/PKG-INFO        2018-10-23 22:41:56.000000000 
+0200
+++ new/pytest-remotedata-0.3.2/PKG-INFO        2019-07-20 16:17:30.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: pytest-remotedata
-Version: 0.3.1
+Version: 0.3.2
 Summary: Pytest plugin for controlling remote data access.
 Home-page: https://astropy.org
 Author: The Astropy Developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.1/appveyor.yml 
new/pytest-remotedata-0.3.2/appveyor.yml
--- old/pytest-remotedata-0.3.1/appveyor.yml    1970-01-01 01:00:00.000000000 
+0100
+++ new/pytest-remotedata-0.3.2/appveyor.yml    2019-07-20 16:04:01.000000000 
+0200
@@ -0,0 +1,59 @@
+# AppVeyor.com is a Continuous Integration service to build and run tests under
+# Windows
+
+environment:
+
+  global:
+      PYTHON: "C:\\conda"
+      MINICONDA_VERSION: "latest"
+      CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci-helpers\\appveyor\\windows_sdk.cmd"
+      PYTEST_COMMAND: "pytest"
+      NUMPY_VERSION: "stable"
+      CONDA_DEPENDENCIES: "six"
+      PYTHON_ARCH: "64"
+
+  matrix:
+      - PYTHON_VERSION: "2.7"
+        PYTEST_VESION: "3.1"
+        PYTEST_COMMAND: "py.test"
+        platform: x86
+
+      - PYTHON_VERSION: "2.7"
+        platform: x64
+
+      - PYTHON_VERSION: "3.5"
+        NUMPY_VERSION: "1.15"
+        platform: x64
+
+      - PYTHON_VERSION: "3.6"
+        PYTEST_VERSION: "3.4"
+        platform: x64
+
+      - PYTHON_VERSION: "3.6"
+        PYTEST_VERSION: "4.1"
+        platform: x64
+
+      - PYTHON_VERSION: "3.6"
+        platform: x64
+
+      - PYTHON_VERSION: "3.7"
+        PYTEST_VERSION: "5.0"
+        platform: x64
+
+install:
+    - "git clone git://github.com/astropy/ci-helpers.git"
+    - "powershell ci-helpers/appveyor/install-miniconda.ps1"
+    - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
+    - "activate test"
+    - "%CMD_IN_ENV% python setup.py install"
+
+# Not a .NET project
+build: false
+
+test_script:
+  - "%CMD_IN_ENV% %PYTEST_COMMAND%"
+  - "%CMD_IN_ENV% %PYTEST_COMMAND% --remote-data"
+  - "%CMD_IN_ENV% %PYTEST_COMMAND% --remote-data=none"
+  - "%CMD_IN_ENV% %PYTEST_COMMAND% --remote-data=github"
+  - "%CMD_IN_ENV% %PYTEST_COMMAND% --remote-data=astropy"
+  - "%CMD_IN_ENV% %PYTEST_COMMAND% --remote-data=any"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.1/pytest_remotedata/plugin.py 
new/pytest-remotedata-0.3.2/pytest_remotedata/plugin.py
--- old/pytest-remotedata-0.3.1/pytest_remotedata/plugin.py     2018-10-23 
22:35:40.000000000 +0200
+++ new/pytest-remotedata-0.3.2/pytest_remotedata/plugin.py     2019-07-20 
16:04:01.000000000 +0200
@@ -5,7 +5,7 @@
 """
 import pytest
 from .disable_internet import turn_off_internet, turn_on_internet
-from distutils.version import StrictVersion
+from distutils.version import LooseVersion
 
 
 def pytest_addoption(parser):
@@ -62,7 +62,7 @@
 
 def pytest_runtest_setup(item):
 
-    if StrictVersion(pytest.__version__) < StrictVersion("3.6"):
+    if LooseVersion(pytest.__version__) < LooseVersion("3.6"):
         remote_data = item.get_marker('remote_data')
         internet_off = item.get_marker('internet_off')
     else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-remotedata-0.3.1/pytest_remotedata.egg-info/PKG-INFO 
new/pytest-remotedata-0.3.2/pytest_remotedata.egg-info/PKG-INFO
--- old/pytest-remotedata-0.3.1/pytest_remotedata.egg-info/PKG-INFO     
2018-10-23 22:41:56.000000000 +0200
+++ new/pytest-remotedata-0.3.2/pytest_remotedata.egg-info/PKG-INFO     
2019-07-20 16:17:29.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: pytest-remotedata
-Version: 0.3.1
+Version: 0.3.2
 Summary: Pytest plugin for controlling remote data access.
 Home-page: https://astropy.org
 Author: The Astropy Developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-remotedata-0.3.1/pytest_remotedata.egg-info/SOURCES.txt 
new/pytest-remotedata-0.3.2/pytest_remotedata.egg-info/SOURCES.txt
--- old/pytest-remotedata-0.3.1/pytest_remotedata.egg-info/SOURCES.txt  
2018-10-23 22:41:56.000000000 +0200
+++ new/pytest-remotedata-0.3.2/pytest_remotedata.egg-info/SOURCES.txt  
2019-07-20 16:17:29.000000000 +0200
@@ -1,7 +1,10 @@
+.gitignore
+.travis.yml
 CHANGES.rst
 LICENSE.rst
 MANIFEST.in
 README.rst
+appveyor.yml
 setup.cfg
 setup.py
 pytest_remotedata/__init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.1/setup.cfg 
new/pytest-remotedata-0.3.2/setup.cfg
--- old/pytest-remotedata-0.3.1/setup.cfg       2018-10-23 22:41:56.000000000 
+0200
+++ new/pytest-remotedata-0.3.2/setup.cfg       2019-07-20 16:17:30.000000000 
+0200
@@ -1,3 +1,46 @@
+[metadata]
+name = pytest-remotedata
+version = 0.3.2
+url = https://astropy.org
+author = The Astropy Developers
+author_email = [email protected]
+classifiers = 
+       Development Status :: 3 - Alpha
+       Framework :: Pytest
+       Intended Audience :: Developers
+       License :: OSI Approved :: BSD License
+       Operating System :: OS Independent
+       Programming Language :: Python
+       Programming Language :: Python :: 2.7
+       Programming Language :: Python :: 3
+       Programming Language :: Python :: 3.3
+       Programming Language :: Python :: 3.4
+       Programming Language :: Python :: 3.5
+       Programming Language :: Python :: 3.6
+       Programming Language :: Python :: Implementation :: CPython
+       Topic :: Software Development :: Testing
+       Topic :: Utilities
+license = BSD
+description = Pytest plugin for controlling remote data access.
+long_description = file: README.rst
+keywords = remote, data, pytest, py.test
+
+[options]
+zip_safe = False
+packages = find:
+python_requires = >=2.7
+install_requires = 
+       six
+       pytest>=3.1
+
+[options.entry_points]
+pytest11 = 
+       pytest_remotedata = pytest_remotedata.plugin
+
+[options.packages.find]
+exclude = 
+       tests
+
 [tool:pytest]
 minversion = 3.1
 testpaths = tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.1/setup.py 
new/pytest-remotedata-0.3.2/setup.py
--- old/pytest-remotedata-0.3.1/setup.py        2018-10-23 22:38:04.000000000 
+0200
+++ new/pytest-remotedata-0.3.2/setup.py        2019-07-20 16:04:42.000000000 
+0200
@@ -1,59 +1,14 @@
 #!/usr/bin/env python
-# Licensed under a 3-clause BSD style license - see LICENSE.rst
-# -*- encoding: utf-8 -*-
 
-import io
-import re
-from glob import glob
-from os.path import basename
-from os.path import dirname
-from os.path import join
-from os.path import splitext
-from setuptools import setup, find_packages
+import sys
+import setuptools
+from distutils.version import LooseVersion
+from setuptools import setup
 
+# Setuptools 30.3.0 or later is needed for setup.cfg options to be used
+if LooseVersion(setuptools.__version__) < LooseVersion('30.3.0'):
+    sys.stderr.write("ERROR: sphinx-automodapi requires setuptools 30.3.0 or "
+                     "later (found {0})".format(setuptools.__version__))
+    sys.exit(1)
 
-def readme():
-    with open('README.rst') as ff:
-        return ff.read()
-
-
-setup(
-    name='pytest-remotedata',
-    version='0.3.1',
-    license='BSD',
-    description='Pytest plugin for controlling remote data access.',
-    long_description=readme(),
-    author='The Astropy Developers',
-    author_email='[email protected]',
-    url='https://astropy.org',
-    packages=find_packages(exclude=['tests']),
-    py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
-    include_package_data=True,
-    zip_safe=False,
-    classifiers=[
-        # complete classifier list: 
http://pypi.python.org/pypi?%3Aaction=list_classifiers
-        'Development Status :: 3 - Alpha',
-        'Framework :: Pytest',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: BSD License',
-        'Operating System :: OS Independent',
-        'Programming Language :: Python',
-        'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.3',
-        'Programming Language :: Python :: 3.4',
-        'Programming Language :: Python :: 3.5',
-        'Programming Language :: Python :: 3.6',
-        'Programming Language :: Python :: Implementation :: CPython',
-        'Topic :: Software Development :: Testing',
-        'Topic :: Utilities',
-    ],
-    keywords=[ 'remote', 'data', 'pytest', 'py.test' ],
-    install_requires=[ 'six', 'pytest>=3.1' ],
-    python_requires='>=2.7',
-    entry_points={
-        'pytest11': [
-            'pytest_remotedata = pytest_remotedata.plugin',
-        ],
-    },
-)
+setup()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.1/tests/test_strict_check.py 
new/pytest-remotedata-0.3.2/tests/test_strict_check.py
--- old/pytest-remotedata-0.3.1/tests/test_strict_check.py      2017-11-10 
16:16:23.000000000 +0100
+++ new/pytest-remotedata-0.3.2/tests/test_strict_check.py      2019-07-20 
16:03:48.000000000 +0200
@@ -18,7 +18,7 @@
 def _write_config_file(testdir, entry):
     config = testdir.tmpdir.join('setup.cfg')
     config.write("""
-[pytest]
+[tool:pytest]
 {}
         """.format(entry))
 


Reply via email to