diff --git a/pytest-socket-0.3.5.tar.gz b/pytest-socket-0.3.5.tar.gz deleted file mode 100644 index d07287b..0000000 --- a/pytest-socket-0.3.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b30470fe8a0ecdbfdbfc35c1e4ac9c823f0348181570792e71ac234e07c6340f -size 5224 diff --git a/pytest_socket-0.6.0.tar.gz b/pytest_socket-0.6.0.tar.gz new file mode 100644 index 0000000..da216af --- /dev/null +++ b/pytest_socket-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363c1d67228315d4fc7912f1aabfd570de29d0e3db6217d61db5728adacd7138 +size 12484 diff --git a/python-pytest-socket.changes b/python-pytest-socket.changes index a826f19..59c3226 100644 --- a/python-pytest-socket.changes +++ b/python-pytest-socket.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Tue May 9 21:18:12 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-pytest-socket.spec b/python-pytest-socket.spec index eb35276..d05924d 100644 --- a/python-pytest-socket.spec +++ b/python-pytest-socket.spec @@ -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}/*