Accepting request 863999 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/863999 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-txaio?expand=0&rev=10
This commit is contained in:
		| @@ -1,3 +1,12 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Mon Jan 18 00:21:11 UTC 2021 - Benjamin Greiner <code@bnavigator.de> | ||||||
|  |  | ||||||
|  | - update to 20.12.1 | ||||||
|  |   * new: CI/CD migrated to GitHub Actions | ||||||
|  |   * new: support Python 3.9 (CI / testing added) | ||||||
|  |   * new: minimum Python version is now 3.6  | ||||||
|  | - add remove-mock.patch gh#crossbario/txaio#169 | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Mon Apr  6 09:20:12 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> | Mon Apr  6 09:20:12 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package python-txaio | # spec file for package python-txaio | ||||||
| # | # | ||||||
| # Copyright (c) 2020 SUSE LLC | # Copyright (c) 2021 SUSE LLC | ||||||
| # | # | ||||||
| # All modifications and additions to the file contributed by third parties | # All modifications and additions to the file contributed by third parties | ||||||
| # remain the property of their copyright owners, unless otherwise agreed | # remain the property of their copyright owners, unless otherwise agreed | ||||||
| @@ -19,31 +19,26 @@ | |||||||
| %{?!python_module:%define python_module() python-%{**} python3-%{**}} | %{?!python_module:%define python_module() python-%{**} python3-%{**}} | ||||||
| %define skip_python2 1 | %define skip_python2 1 | ||||||
| Name:           python-txaio | Name:           python-txaio | ||||||
| Version:        20.4.1 | Version:        20.12.1 | ||||||
| Release:        0 | Release:        0 | ||||||
| Summary:        WebSocket and WAMP in Python for Twisted and asyncio | Summary:        WebSocket and WAMP in Python for Twisted and asyncio | ||||||
| License:        MIT | License:        MIT | ||||||
| Group:          Development/Languages/Python | Group:          Development/Languages/Python | ||||||
| URL:            https://github.com/crossbario/txaio | URL:            https://github.com/crossbario/txaio | ||||||
| Source:         https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz | Source:         https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz | ||||||
|  | # PATCH-FIX-UPSTREAM remove-mock.patch gh#crossbario/txaio#169 | ||||||
|  | Patch0:         remove-mock.patch | ||||||
| BuildRequires:  %{python_module setuptools} | BuildRequires:  %{python_module setuptools} | ||||||
|  | BuildRequires:  %{python_module testsuite} | ||||||
| BuildRequires:  fdupes | BuildRequires:  fdupes | ||||||
| BuildRequires:  python-rpm-macros | BuildRequires:  python-rpm-macros | ||||||
| BuildRequires:  python2-devel |  | ||||||
| BuildRequires:  python3-testsuite |  | ||||||
| Requires:       python-six |  | ||||||
| Recommends:     python-Twisted >= 20.3.0 | Recommends:     python-Twisted >= 20.3.0 | ||||||
| Recommends:     python-zope.interface >= 3.6 | Recommends:     python-zope.interface >= 3.6 | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| %ifpython2 |  | ||||||
| Requires:       python-future |  | ||||||
| Recommends:     python-trollius |  | ||||||
| %endif |  | ||||||
| # SECTION test requirements | # SECTION test requirements | ||||||
| BuildRequires:  %{python_module Twisted >= 20.3.0} | BuildRequires:  %{python_module Twisted >= 20.3.0} | ||||||
| BuildRequires:  %{python_module mock} |  | ||||||
| BuildRequires:  %{python_module pytest} | BuildRequires:  %{python_module pytest} | ||||||
| BuildRequires:  %{python_module six} | BuildRequires:  %{python_module zope.interface >= 3.6} | ||||||
| # /SECTION | # /SECTION | ||||||
| %python_subpackages | %python_subpackages | ||||||
|  |  | ||||||
| @@ -67,6 +62,7 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket. | |||||||
|  |  | ||||||
| %files %{python_files} | %files %{python_files} | ||||||
| %license LICENSE | %license LICENSE | ||||||
| %{python_sitelib}/* | %{python_sitelib}/txaio | ||||||
|  | %{python_sitelib}/txaio-%{version}*-info | ||||||
|  |  | ||||||
| %changelog | %changelog | ||||||
|   | |||||||
							
								
								
									
										37
									
								
								remove-mock.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								remove-mock.patch
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | |||||||
|  | Index: txaio-20.12.1/setup.py | ||||||
|  | =================================================================== | ||||||
|  | --- txaio-20.12.1.orig/setup.py | ||||||
|  | +++ txaio-20.12.1/setup.py | ||||||
|  | @@ -61,7 +61,6 @@ extras_require_dev = [ | ||||||
|  |      'sphinxcontrib-spelling>=2.1.2',    # BSD | ||||||
|  |      'sphinx_rtd_theme>=0.1.9',          # BSD | ||||||
|  |      'tox>=2.1.1',                       # MIT | ||||||
|  | -    'mock==1.3.0',                      # BSD | ||||||
|  |      'twine>=1.6.5',                     # Apache 2.0 | ||||||
|  |      'tox-gh-actions>=2.2.0 ',           # MIT | ||||||
|  |  ] | ||||||
|  | Index: txaio-20.12.1/test/test_call_later.py | ||||||
|  | =================================================================== | ||||||
|  | --- txaio-20.12.1.orig/test/test_call_later.py | ||||||
|  | +++ txaio-20.12.1/test/test_call_later.py | ||||||
|  | @@ -26,7 +26,7 @@ | ||||||
|  |   | ||||||
|  |  import sys | ||||||
|  |   | ||||||
|  | -from mock import patch | ||||||
|  | +from unittest.mock import patch | ||||||
|  |   | ||||||
|  |  import pytest | ||||||
|  |  import txaio | ||||||
|  | Index: txaio-20.12.1/tox.ini | ||||||
|  | =================================================================== | ||||||
|  | --- txaio-20.12.1.orig/tox.ini | ||||||
|  | +++ txaio-20.12.1/tox.ini | ||||||
|  | @@ -29,7 +29,6 @@ python = | ||||||
|  |   | ||||||
|  |  [testenv] | ||||||
|  |  deps = | ||||||
|  | -    mock | ||||||
|  |      pytest==4.6.9 | ||||||
|  |      coverage==4.5.4 | ||||||
|  |   | ||||||
							
								
								
									
										3
									
								
								txaio-20.12.1.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								txaio-20.12.1.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:1488d31d564a116538cc1265ac3f7979fb6223bb5a9e9f1479436ee2c17d8549 | ||||||
|  | size 53200 | ||||||
| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:17938f2bca4a9cabce61346758e482ca4e600160cbc28e861493eac74a19539d |  | ||||||
| size 52580 |  | ||||||
		Reference in New Issue
	
	Block a user