Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytest-aiohttp for openSUSE:Factory checked in at 2023-10-04 22:30:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-aiohttp (Old) and /work/SRC/openSUSE:Factory/.python-pytest-aiohttp.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-aiohttp" Wed Oct 4 22:30:50 2023 rev:6 rq:1114839 version:1.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-aiohttp/python-pytest-aiohttp.changes 2023-07-05 15:31:12.874799290 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-aiohttp.new.28202/python-pytest-aiohttp.changes 2023-10-04 22:31:28.431689744 +0200 @@ -1,0 +2,7 @@ +Mon Oct 2 14:49:24 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.0.5: + * Fix some compatibility with Pytest 7. +- pytest72.patch dropped (upstream) + +------------------------------------------------------------------- Old: ---- pytest-aiohttp-1.0.4.tar.gz pytest72.patch New: ---- pytest-aiohttp-1.0.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-aiohttp.spec ++++++ --- /var/tmp/diff_new_pack.tfQpDe/_old 2023-10-04 22:31:29.603732105 +0200 +++ /var/tmp/diff_new_pack.tfQpDe/_new 2023-10-04 22:31:29.603732105 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-aiohttp # -# Copyright (c) 2022 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 @@ -19,15 +19,13 @@ %define pyname pytest-aiohttp %{?sle15_python_module_pythons} Name: python-pytest-aiohttp -Version: 1.0.4 +Version: 1.0.5 Release: 0 Summary: Python pytest plugin for aiohttp support License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/aio-libs/pytest-aiohttp Source: https://files.pythonhosted.org/packages/source/p/pytest-aiohttp/pytest-aiohttp-%{version}.tar.gz -# PATCH-FIX-UPSTREAM pytest72.patch gh#aio-libs/pytest-aiohttp#49 -Patch0: pytest72.patch BuildRequires: %{python_module aiohttp >= 3.8.1} BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} ++++++ pytest-aiohttp-1.0.4.tar.gz -> pytest-aiohttp-1.0.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/.github/workflows/codeql.yml new/pytest-aiohttp-1.0.5/.github/workflows/codeql.yml --- old/pytest-aiohttp-1.0.4/.github/workflows/codeql.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/pytest-aiohttp-1.0.5/.github/workflows/codeql.yml 2023-09-06 16:18:02.000000000 +0200 @@ -0,0 +1,42 @@ +--- +name: CodeQL + +on: + push: + branches: [master] + pull_request: + branches: [master] + schedule: + - cron: 30 13 * * 6 + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [python] + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + queries: +security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: /language:${{ matrix.language }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/.pre-commit-config.yaml new/pytest-aiohttp-1.0.5/.pre-commit-config.yaml --- old/pytest-aiohttp-1.0.4/.pre-commit-config.yaml 2022-02-12 21:25:41.000000000 +0100 +++ new/pytest-aiohttp-1.0.5/.pre-commit-config.yaml 2023-09-06 16:18:02.000000000 +0200 @@ -1,32 +1,31 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.4.0 hooks: - id: check-merge-conflict exclude: rst$ - repo: https://github.com/asottile/yesqa - rev: v1.3.0 + rev: v1.5.0 hooks: - id: yesqa - repo: https://github.com/Zac-HD/shed - rev: 0.6.0 # 0.7 does not support Python 3.7 + rev: 2023.6.1 # 0.7 does not support Python 3.7 hooks: - id: shed args: - --refactor - - --py37-plus types_or: - python - markdown - rst - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt - rev: 0.1.0 + rev: 0.2.3 hooks: - id: yamlfmt args: [--mapping, '2', --sequence, '2', --offset, '0'] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -37,17 +36,17 @@ - id: check-xml - id: check-yaml - id: debug-statements -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 +- repo: https://github.com/PyCQA/flake8 + rev: 6.1.0 hooks: - id: flake8 language_version: python3 - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.9.0 + rev: v1.10.0 hooks: - id: python-use-type-annotations -- repo: https://github.com/sirosen/check-jsonschema - rev: 0.9.1 +- repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.26.3 hooks: - id: check-github-actions - id: check-github-workflows diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/CHANGES.rst new/pytest-aiohttp-1.0.5/CHANGES.rst --- old/pytest-aiohttp-1.0.4/CHANGES.rst 2022-02-12 21:25:41.000000000 +0100 +++ new/pytest-aiohttp-1.0.5/CHANGES.rst 2023-09-06 16:18:02.000000000 +0200 @@ -1,6 +1,11 @@ CHANGES ======= +1.0.5 (2023-09-06) +------------------ + +- Fix some compatibility with Pytest 7. + 1.0.4 (2022-02-12) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/PKG-INFO new/pytest-aiohttp-1.0.5/PKG-INFO --- old/pytest-aiohttp-1.0.4/PKG-INFO 2022-02-12 21:25:52.933829800 +0100 +++ new/pytest-aiohttp-1.0.5/PKG-INFO 2023-09-06 16:18:11.715251700 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-aiohttp -Version: 1.0.4 +Version: 1.0.5 Summary: Pytest plugin for aiohttp support Home-page: https://github.com/aio-libs/pytest-aiohttp Maintainer: aiohttp team <t...@aiohttp.org> @@ -8,7 +8,6 @@ License: Apache 2.0 Project-URL: GitHub, https://github.com/aio-libs/pytest-aiohttp Project-URL: Changelog, https://github.com/aio-libs/pytest-aiohttp/blob/master/CHANGES.rst -Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: Apache Software License @@ -73,7 +72,7 @@ async def test_hello(aiohttp_client): - client = await aiohttp_client(await create_app()) + client = await aiohttp_client(create_app()) resp = await client.get("/") assert resp.status == 200 text = await resp.text() @@ -82,5 +81,3 @@ See `aiohttp documentation <https://docs.aiohttp.org/en/stable/testing.html#pytest>` for more details about fixtures usage. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/README.rst new/pytest-aiohttp-1.0.5/README.rst --- old/pytest-aiohttp-1.0.4/README.rst 2022-02-12 21:25:41.000000000 +0100 +++ new/pytest-aiohttp-1.0.5/README.rst 2023-09-06 16:18:02.000000000 +0200 @@ -45,7 +45,7 @@ async def test_hello(aiohttp_client): - client = await aiohttp_client(await create_app()) + client = await aiohttp_client(create_app()) resp = await client.get("/") assert resp.status == 200 text = await resp.text() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/pytest_aiohttp/_version.py new/pytest-aiohttp-1.0.5/pytest_aiohttp/_version.py --- old/pytest-aiohttp-1.0.4/pytest_aiohttp/_version.py 2022-02-12 21:25:52.000000000 +0100 +++ new/pytest-aiohttp-1.0.5/pytest_aiohttp/_version.py 2023-09-06 16:18:11.000000000 +0200 @@ -1,5 +1,4 @@ -# coding: utf-8 # file generated by setuptools_scm # don't change, don't track in version control -version = '1.0.4' -version_tuple = (1, 0, 4) +__version__ = version = '1.0.5' +__version_tuple__ = version_tuple = (1, 0, 5) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/pytest_aiohttp/plugin.py new/pytest-aiohttp-1.0.5/pytest_aiohttp/plugin.py --- old/pytest-aiohttp-1.0.4/pytest_aiohttp/plugin.py 2022-02-12 21:25:41.000000000 +0100 +++ new/pytest-aiohttp-1.0.5/pytest_aiohttp/plugin.py 2023-09-06 16:18:02.000000000 +0200 @@ -18,7 +18,7 @@ ) -@pytest.mark.tryfirst +@pytest.hookimpl(tryfirst=True) def pytest_configure(config) -> None: val = config.getoption("asyncio_mode") if val is None: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/pytest_aiohttp.egg-info/PKG-INFO new/pytest-aiohttp-1.0.5/pytest_aiohttp.egg-info/PKG-INFO --- old/pytest-aiohttp-1.0.4/pytest_aiohttp.egg-info/PKG-INFO 2022-02-12 21:25:52.000000000 +0100 +++ new/pytest-aiohttp-1.0.5/pytest_aiohttp.egg-info/PKG-INFO 2023-09-06 16:18:11.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-aiohttp -Version: 1.0.4 +Version: 1.0.5 Summary: Pytest plugin for aiohttp support Home-page: https://github.com/aio-libs/pytest-aiohttp Maintainer: aiohttp team <t...@aiohttp.org> @@ -8,7 +8,6 @@ License: Apache 2.0 Project-URL: GitHub, https://github.com/aio-libs/pytest-aiohttp Project-URL: Changelog, https://github.com/aio-libs/pytest-aiohttp/blob/master/CHANGES.rst -Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: Apache Software License @@ -73,7 +72,7 @@ async def test_hello(aiohttp_client): - client = await aiohttp_client(await create_app()) + client = await aiohttp_client(create_app()) resp = await client.get("/") assert resp.status == 200 text = await resp.text() @@ -82,5 +81,3 @@ See `aiohttp documentation <https://docs.aiohttp.org/en/stable/testing.html#pytest>` for more details about fixtures usage. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/pytest_aiohttp.egg-info/SOURCES.txt new/pytest-aiohttp-1.0.5/pytest_aiohttp.egg-info/SOURCES.txt --- old/pytest-aiohttp-1.0.4/pytest_aiohttp.egg-info/SOURCES.txt 2022-02-12 21:25:52.000000000 +0100 +++ new/pytest-aiohttp-1.0.5/pytest_aiohttp.egg-info/SOURCES.txt 2023-09-06 16:18:11.000000000 +0200 @@ -8,6 +8,7 @@ setup.cfg setup.py .github/workflows/ci.yaml +.github/workflows/codeql.yml pytest_aiohttp/__init__.py pytest_aiohttp/_version.py pytest_aiohttp/plugin.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-aiohttp-1.0.4/pytest_aiohttp.egg-info/entry_points.txt new/pytest-aiohttp-1.0.5/pytest_aiohttp.egg-info/entry_points.txt --- old/pytest-aiohttp-1.0.4/pytest_aiohttp.egg-info/entry_points.txt 2022-02-12 21:25:52.000000000 +0100 +++ new/pytest-aiohttp-1.0.5/pytest_aiohttp.egg-info/entry_points.txt 2023-09-06 16:18:11.000000000 +0200 @@ -1,3 +1,2 @@ [pytest11] aiohttp = pytest_aiohttp.plugin -