Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-aiounittest for openSUSE:Factory checked in at 2022-01-15 20:05:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aiounittest (Old) and /work/SRC/openSUSE:Factory/.python-aiounittest.new.1892 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiounittest" Sat Jan 15 20:05:25 2022 rev:2 rq:946670 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-aiounittest/python-aiounittest.changes 2020-12-01 14:23:16.205624699 +0100 +++ /work/SRC/openSUSE:Factory/.python-aiounittest.new.1892/python-aiounittest.changes 2022-01-15 20:05:47.381786594 +0100 @@ -1,0 +2,6 @@ +Sat Jan 15 16:42:20 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 1.4.1: + * declare python 3.9+ as supported + +------------------------------------------------------------------- Old: ---- aiounittest-1.4.0.tar.gz New: ---- aiounittest-1.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aiounittest.spec ++++++ --- /var/tmp/diff_new_pack.KNhkim/_old 2022-01-15 20:05:47.705786846 +0100 +++ /var/tmp/diff_new_pack.KNhkim/_new 2022-01-15 20:05:47.709786849 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-aiounittest # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2019 Matthias Fehring <buschman...@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-aiounittest -Version: 1.4.0 +Version: 1.4.1 Release: 0 Summary: Test AyncIO Python Code Easily License: MIT ++++++ aiounittest-1.4.0.tar.gz -> aiounittest-1.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiounittest-1.4.0/.github/workflows/python-package.yml new/aiounittest-1.4.1/.github/workflows/python-package.yml --- old/aiounittest-1.4.0/.github/workflows/python-package.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/aiounittest-1.4.1/.github/workflows/python-package.yml 2021-10-22 16:14:05.000000000 +0200 @@ -0,0 +1,39 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Python package + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6, 3.7, 3.8] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest + python setup.py install + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Test with pytest + run: | + pytest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiounittest-1.4.0/README.rst new/aiounittest-1.4.1/README.rst --- old/aiounittest-1.4.0/README.rst 2020-05-27 16:14:07.000000000 +0200 +++ new/aiounittest-1.4.1/README.rst 2021-10-22 16:14:05.000000000 +0200 @@ -3,8 +3,8 @@ |image0|_ |image1|_ -.. |image0| image:: https://api.travis-ci.org/kwarunek/aiounittest.png?branch=master -.. _image0: https://travis-ci.org/kwarunek/aiounittest +.. |image0| image:: https://api.travis-ci.com/kwarunek/aiounittest.svg?branch=master +.. _image0: https://travis-ci.com/kwarunek/aiounittest .. |image1| image:: https://badge.fury.io/py/aiounittest.svg .. _image1: https://badge.fury.io/py/aiounittest @@ -60,7 +60,7 @@ # some regular test code def test_something(self): - self.assertTrue(true) + self.assertTrue(True) Library provides some additional tooling: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiounittest-1.4.0/aiounittest/__init__.py new/aiounittest-1.4.1/aiounittest/__init__.py --- old/aiounittest-1.4.0/aiounittest/__init__.py 2020-05-27 16:14:07.000000000 +0200 +++ new/aiounittest-1.4.1/aiounittest/__init__.py 2021-10-22 16:14:05.000000000 +0200 @@ -1,2 +1,9 @@ from .case import AsyncTestCase from .helpers import futurized, run_sync, async_test + +__all__ = [ + "AsyncTestCase", + "futurized", + "run_sync", + "async_test" +] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiounittest-1.4.0/aiounittest/helpers.py new/aiounittest-1.4.1/aiounittest/helpers.py --- old/aiounittest-1.4.0/aiounittest/helpers.py 2020-05-27 16:14:07.000000000 +0200 +++ new/aiounittest-1.4.1/aiounittest/helpers.py 2021-10-22 16:14:05.000000000 +0200 @@ -86,7 +86,7 @@ **Note**: :code:`aiounittest.async_test` is an alias of :code:`aiounittest.helpers.run_sync` - Function can be used like a `pytest.mark.asyncio` (implemetation differs), + Function can be used like a `pytest.mark.asyncio` (implementation differs), but it's compatible with :code:`unittest.TestCase` class. .. code-block:: python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aiounittest-1.4.0/setup.py new/aiounittest-1.4.1/setup.py --- old/aiounittest-1.4.0/setup.py 2020-05-27 16:14:07.000000000 +0200 +++ new/aiounittest-1.4.1/setup.py 2021-10-22 16:14:05.000000000 +0200 @@ -8,7 +8,7 @@ setup( name='aiounittest', packages=['aiounittest'], - version='1.4.0', + version='1.4.1', author='Krzysztof Warunek', author_email='krzysz...@warunek.net', description='Test asyncio code more easily.', @@ -26,5 +26,8 @@ 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', ] )