commit python-pytest-socket for openSUSE:Factory

2020-06-09 Thread root
Hello community,

here is the log from the commit of package python-pytest-socket for 
openSUSE:Factory checked in at 2020-06-10 00:49:16

Comparing /work/SRC/openSUSE:Factory/python-pytest-socket (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-socket.new.3606 (New)


Package is "python-pytest-socket"

Wed Jun 10 00:49:16 2020 rev:3 rq:812807 version:0.3.5

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-socket/python-pytest-socket.changes
2020-04-14 16:32:16.512149334 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-socket.new.3606/python-pytest-socket.changes
  2020-06-10 00:49:20.495090243 +0200
@@ -1,0 +2,7 @@
+Tue Jun  9 07:44:50 UTC 2020 - Tomáš Chvátal 
+
+- Update to 0.3.5:
+  * Fix bug in marker evaluation #42
+  * Refactor tests for clarity
+
+---
@@ -4 +11 @@
-- Update to 0.4.3:
+- Update to 0.3.4:

Old:

  pytest-socket-0.3.4.tar.gz

New:

  pytest-socket-0.3.5.tar.gz



Other differences:
--
++ python-pytest-socket.spec ++
--- /var/tmp/diff_new_pack.zE2EWD/_old  2020-06-10 00:49:21.263092252 +0200
+++ /var/tmp/diff_new_pack.zE2EWD/_new  2020-06-10 00:49:21.267092262 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-pytest-socket
-Version:0.3.4
+Version:0.3.5
 Release:0
 Summary:Pytest Plugin to disable socket
 License:MIT

++ pytest-socket-0.3.4.tar.gz -> pytest-socket-0.3.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-socket-0.3.4/PKG-INFO 
new/pytest-socket-0.3.5/PKG-INFO
--- old/pytest-socket-0.3.4/PKG-INFO2020-04-11 01:11:21.589583900 +0200
+++ new/pytest-socket-0.3.5/PKG-INFO2020-05-31 17:09:59.277202800 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pytest-socket
-Version: 0.3.4
+Version: 0.3.5
 Summary: Pytest Plugin to disable socket calls during tests
 Home-page: https://pypi.org/project/pytest-socket/
 License: MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-socket-0.3.4/pyproject.toml 
new/pytest-socket-0.3.5/pyproject.toml
--- old/pytest-socket-0.3.4/pyproject.toml  2020-04-11 01:03:01.577754000 
+0200
+++ new/pytest-socket-0.3.5/pyproject.toml  2020-05-31 16:57:04.113176300 
+0200
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "pytest-socket"
-version = "0.3.4"
+version = "0.3.5"
 description = "Pytest Plugin to disable socket calls during tests"
 authors = ["Mike Fiedler "]
 license = "MIT"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-socket-0.3.4/pytest_socket.py 
new/pytest-socket-0.3.5/pytest_socket.py
--- old/pytest-socket-0.3.4/pytest_socket.py2020-04-11 01:02:31.848008000 
+0200
+++ new/pytest-socket-0.3.5/pytest_socket.py2020-05-31 16:55:04.026533800 
+0200
@@ -38,14 +38,21 @@
 
 @pytest.fixture(autouse=True)
 def _socket_marker(request):
+"""
+Create an automatically-used fixture that every test function will load.
+
+The last option to set the fixture wins priority.
+The expected behavior is that higher granularity options should override
+lower granularity options.
+"""
+if request.config.getoption('--disable-socket'):
+request.getfixturevalue('socket_disabled')
+
 if request.node.get_closest_marker('disable_socket'):
 request.getfixturevalue('socket_disabled')
 if request.node.get_closest_marker('enable_socket'):
 request.getfixturevalue('socket_enabled')
 
-if request.config.getoption('--disable-socket'):
-request.getfixturevalue('socket_disabled')
-
 
 @pytest.fixture
 def socket_disabled():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-socket-0.3.4/setup.py 
new/pytest-socket-0.3.5/setup.py
--- old/pytest-socket-0.3.4/setup.py2020-04-11 01:11:21.588532000 +0200
+++ new/pytest-socket-0.3.5/setup.py2020-05-31 17:09:59.276953000 +0200
@@ -11,7 +11,7 @@
 
 setup_kwargs = {
 'name': 'pytest-socket',
-'version': '0.3.4',
+'version': '0.3.5',
 'description': 'Pytest Plugin to disable socket calls during tests',
 'long_description': '=\npytest-socket\n=\n\n.. 
image:: https://img.shields.io/pypi/v/pytest-socket.svg\n:target: 
https://pypi.python.org/pypi/pytest-socket\n\n.. image:: 
https://img.shields.io/pypi/pyversions/pytest-socket.svg\n:target: 
https://pypi.python.org/pypi/pytest-socket\n\n.. image:: 
https://github.com/miketheman/pytest-socket/workflows/Python%20Tests/badge.svg\n
:target: 

commit python-pytest-socket for openSUSE:Factory

2020-04-14 Thread root
Hello community,

here is the log from the commit of package python-pytest-socket for 
openSUSE:Factory checked in at 2020-04-14 15:11:32

Comparing /work/SRC/openSUSE:Factory/python-pytest-socket (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-socket.new.2738 (New)


Package is "python-pytest-socket"

Tue Apr 14 15:11:32 2020 rev:2 rq:793783 version:0.3.4

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-socket/python-pytest-socket.changes
2019-07-23 22:44:55.610659540 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-socket.new.2738/python-pytest-socket.changes
  2020-04-14 16:32:16.512149334 +0200
@@ -1,0 +2,10 @@
+Tue Apr 14 09:06:47 UTC 2020 - Tomáš Chvátal 
+
+- Update to 0.4.3:
+  * Drop support for unsupported versions of Python #23
+  * Convert toolchain from pip/tox/twine to poetry
+  * Replace TravisCI and Appveyor with GitHub Actions #36
+  * Update for correct test output #31
+  * Add renovatebot for dependecy updates #26
+
+---

Old:

  pytest-socket-0.3.3.tar.gz

New:

  pytest-socket-0.3.4.tar.gz



Other differences:
--
++ python-pytest-socket.spec ++
--- /var/tmp/diff_new_pack.bQQGzE/_old  2020-04-14 16:32:16.968149682 +0200
+++ /var/tmp/diff_new_pack.bQQGzE/_new  2020-04-14 16:32:16.972149685 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-socket
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +12,27 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-pytest-socket
-Version:0.3.3
+Version:0.3.4
 Release:0
-License:MIT
 Summary:Pytest Plugin to disable socket
-Url:https://github.com/miketheman/pytest-socket
-Group:  Development/Languages/Python
-Source: 
https://github.com/miketheman/pytest-socket/archive/%{version}.tar.gz#/pytest-socket-%{version}.tar.gz
+License:MIT
+URL:https://github.com/miketheman/pytest-socket
+Source: 
https://files.pythonhosted.org/packages/source/p/pytest-socket/pytest-socket-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-pytest >= 3.6.3
+BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest >= 3.6.3}
 # /SECTION
-Requires:   python-pytest >= 3.6.3
-BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -49,8 +49,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 # Tests require a network connection
-# %%check
-# %%pytest
+#%%check
+#%%pytest
 
 %files %{python_files}
 %doc README.rst

++ pytest-socket-0.3.3.tar.gz -> pytest-socket-0.3.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-socket-0.3.3/.codeclimate.yml 
new/pytest-socket-0.3.4/.codeclimate.yml
--- old/pytest-socket-0.3.3/.codeclimate.yml2019-02-09 19:20:35.0 
+0100
+++ new/pytest-socket-0.3.4/.codeclimate.yml1970-01-01 01:00:00.0 
+0100
@@ -1,19 +0,0 @@

-plugins:
-  duplication:
-enabled: true
-config:
-  languages:
-  - python
-  fixme:
-enabled: true
-  radon:
-enabled: true
-exclude_patterns:
-- "*.egg-info/"
-- .cache/
-- .tox/
-- __pycache__/
-- dist/
-- htmlcov/
-- tests/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-socket-0.3.3/.editorconfig 
new/pytest-socket-0.3.4/.editorconfig
--- old/pytest-socket-0.3.3/.editorconfig   2019-02-09 19:20:35.0 
+0100
+++ new/pytest-socket-0.3.4/.editorconfig   1970-01-01 01:00:00.0 
+0100
@@ -1,19 +0,0 @@
-# http://editorconfig.org
-
-root = true
-
-[*]
-indent_style = space
-insert_final_newline = true
-trim_trailing_whitespace = true
-end_of_line = lf
-charset = utf-8
-
-[*.py]
-indent_size = 4
-
-[*.yml]
-indent_size = 2
-
-[Makefile]
-indent_style = tab
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-socket-0.3.3/.gitignore 
new/pytest-socket-0.3.4/.gitignore
--- old/pytest-socket-0.3.3/.gitignore  2019-02-09 19:20:35.0 +0100
+++