forked from pool/python-pytest-socket
- update to 0.6.0:
* Add Change Log project URL
* test: update httpbin commit hash
* Upgrade CodeSee workflow to version 2
* fix: don't break on doctests
* docs: Fix syntax for setup.cfg
* Fix pytest-socket raises IndexError with httpx
* test: move the reenable fixture to conftest
* Switch to poetry-core
* Handle `family` passed as keyword argument
* refactor: consolidate global options to config
* test: replace pytest-flake8 with pre-commit
* refactor/fix: move logic into setup phase and correct order
* test: add test module for combinations
* fix: test allow_hosts for unix sockets
* test: move unix decorator to conftest
* test: randomize test order
* test: replace coverage command
* refactor: replace .format with f-strings
* lint: apply black
* Enable Unix sockets selectively with --allow-unix-socket
* Test refactor, add CodeQL scanning
* Correctly subclass socket.socket
* Add testing against Python 3.9, Dropped testing against
Python 3.5
* Doc updates
* Avoid changing the type of `socket.socket` to function.
* Sourcery Starbot ⭐ refactored miketheman/pytest-socket
* Don't block unix sockets
* docs: add details on fixture scope
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-socket?expand=0&rev=7
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b30470fe8a0ecdbfdbfc35c1e4ac9c823f0348181570792e71ac234e07c6340f
|
||||
size 5224
|
||||
3
pytest_socket-0.6.0.tar.gz
Normal file
3
pytest_socket-0.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:363c1d67228315d4fc7912f1aabfd570de29d0e3db6217d61db5728adacd7138
|
||||
size 12484
|
||||
@@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 21:18:12 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.6.0:
|
||||
* Add Change Log project URL
|
||||
* test: update httpbin commit hash
|
||||
* Upgrade CodeSee workflow to version 2
|
||||
* fix: don't break on doctests
|
||||
* docs: Fix syntax for setup.cfg
|
||||
* Fix pytest-socket raises IndexError with httpx
|
||||
* test: move the reenable fixture to conftest
|
||||
* Switch to poetry-core
|
||||
* Handle `family` passed as keyword argument
|
||||
* refactor: consolidate global options to config
|
||||
* test: replace pytest-flake8 with pre-commit
|
||||
* refactor/fix: move logic into setup phase and correct order
|
||||
* test: add test module for combinations
|
||||
* fix: test allow_hosts for unix sockets
|
||||
* test: move unix decorator to conftest
|
||||
* test: randomize test order
|
||||
* test: replace coverage command
|
||||
* refactor: replace .format with f-strings
|
||||
* lint: apply black
|
||||
* Enable Unix sockets selectively with --allow-unix-socket
|
||||
* Test refactor, add CodeQL scanning
|
||||
* Correctly subclass socket.socket
|
||||
* Add testing against Python 3.9, Dropped testing against
|
||||
Python 3.5
|
||||
* Doc updates
|
||||
* Avoid changing the type of `socket.socket` to function.
|
||||
* Sourcery Starbot ⭐ refactored miketheman/pytest-socket
|
||||
* Don't block unix sockets
|
||||
* docs: add details on fixture scope
|
||||
* chore: replace rst with markdown
|
||||
* test: add testing for some async frameworks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 9 07:44:50 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-socket
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,15 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-socket
|
||||
Version: 0.3.5
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
Summary: Pytest Plugin to disable socket
|
||||
License: MIT
|
||||
URL: https://github.com/miketheman/pytest-socket
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-socket/pytest-socket-%{version}.tar.gz
|
||||
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
|
||||
@@ -39,7 +38,7 @@ BuildRequires: %{python_module pytest >= 3.6.3}
|
||||
A Pytest Plugin to disable socket calls during tests.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-socket-%{version}
|
||||
%setup -q -n pytest_socket-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -53,7 +52,7 @@ A Pytest Plugin to disable socket calls during tests.
|
||||
#%%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user