forked from pool/python-pytest-aiohttp
- Update to 1.1.0:
* Drop Python 3.8 (#57) * Export the plugin types at top-level (#60, #61) * Add host parameter to aiohttp_server fixture (#63) - Write out a pytest.ini file to support Pytest 8.4. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-aiohttp?expand=0&rev=14
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
pytest-aiohttp-1.0.5.tar.gz
Normal file
3
pytest-aiohttp-1.0.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:880262bc5951e934463b15e3af8bb298f11f7d4d3ebac970aab425aff10a780a
|
||||
size 12209
|
||||
3
pytest_aiohttp-1.1.0.tar.gz
Normal file
3
pytest_aiohttp-1.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:147de8cb164f3fc9d7196967f109ab3c0b93ea3463ab50631e56438eab7b5adc
|
||||
size 12842
|
||||
54
python-pytest-aiohttp.changes
Normal file
54
python-pytest-aiohttp.changes
Normal file
@@ -0,0 +1,54 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 1 02:42:12 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.1.0:
|
||||
* Drop Python 3.8 (#57)
|
||||
* Export the plugin types at top-level (#60, #61)
|
||||
* Add host parameter to aiohttp_server fixture (#63)
|
||||
- Write out a pytest.ini file to support Pytest 8.4.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 2 14:49:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.0.5:
|
||||
* Fix some compatibility with Pytest 7.
|
||||
- pytest72.patch dropped (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 4 11:34:16 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 07:21:17 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Add pytest72.patch to make it compatible with pytest 7.2.0
|
||||
gh#aio-libs/pytest-aiohttp#49
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 09:17:10 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix dependencies: pytest-asyncio missing
|
||||
- Enable test suite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 10 09:23:41 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update to 1.0.4
|
||||
* Fix failure with aiohttp_client fixture usage when asyncio_mode=strict. #25
|
||||
- 1.0.3 (2022-01-03)
|
||||
* Fix loop and proactor_loop fixtures. #22
|
||||
- 1.0.2 (2022-01-20)
|
||||
* Restore implicit switch to asyncio_mode = auto if legacy mode is detected.
|
||||
- 1.0.1 (2022-01-20)
|
||||
* Don't implicitly switch from legacy to auto asyncio_mode, the integration
|
||||
doesn't work well.
|
||||
- 1.0.0 (2022-1-20)
|
||||
* The plugin is compatible with pytest-asyncio now. It uses pytest-asyncio
|
||||
for async tests running and async fixtures support, providing by itself
|
||||
only fixtures for creating aiohttp test server and client.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 12:28:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Initial commit, needed by autobahn
|
||||
70
python-pytest-aiohttp.spec
Normal file
70
python-pytest-aiohttp.spec
Normal file
@@ -0,0 +1,70 @@
|
||||
#
|
||||
# spec file for package python-pytest-aiohttp
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-aiohttp
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: Python pytest plugin for aiohttp support
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/aio-libs/pytest-aiohttp
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-aiohttp/pytest_aiohttp-%{version}.tar.gz
|
||||
BuildRequires: %{python_module aiohttp >= 3.8.1}
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 6.1.0}
|
||||
BuildRequires: %{python_module pytest-asyncio >= 0.20.2}
|
||||
BuildRequires: %{python_module setuptools_scm >= 6.2}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-aiohttp >= 3.8.1
|
||||
Requires: python-pytest >= 6.1.0
|
||||
Requires: python-pytest-asyncio >= 0.20.2
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A library that provides fixtures for creation test aiohttp server and client.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pytest_aiohttp-%{version}
|
||||
cat >pytest.ini <<EOF
|
||||
[pytest]
|
||||
asyncio_mode=auto
|
||||
asyncio_default_fixture_loop_scope=function
|
||||
EOF
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/pytest_aiohttp
|
||||
%{python_sitelib}/pytest_aiohttp-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user