Hello community,
here is the log from the commit of package python-trollius for openSUSE:Factory
checked in at 2019-03-14 14:59:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-trollius (Old)
and /work/SRC/openSUSE:Factory/.python-trollius.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-trollius"
Thu Mar 14 14:59:33 2019 rev:5 rq:684679 version:2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-trollius/python-trollius.changes
2017-10-11 22:56:29.461692064 +0200
+++
/work/SRC/openSUSE:Factory/.python-trollius.new.28833/python-trollius.changes
2019-03-14 15:00:53.391700967 +0100
@@ -1,0 +2,7 @@
+Wed Mar 13 12:37:03 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Simplify a bit
+- Update to 2.2:
+ * see doc/changelog.rst
+
+-------------------------------------------------------------------
Old:
----
trollius-2.1.tar.gz
New:
----
trollius-2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-trollius.spec ++++++
--- /var/tmp/diff_new_pack.MkA7VP/_old 2019-03-14 15:00:55.163700618 +0100
+++ /var/tmp/diff_new_pack.MkA7VP/_new 2019-03-14 15:00:55.163700618 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-trollius
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,30 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%bcond_without test
Name: python-trollius
-Version: 2.1
+Version: 2.2
Release: 0
Summary: Port of the Tulip project (asyncio module, PEP 3156) on Python
2
License: Apache-2.0
Group: Development/Languages/Python
-Url: https://github.com/haypo/trollius
+URL: https://github.com/haypo/trollius
Source:
https://files.pythonhosted.org/packages/source/t/trollius/trollius-%{version}.tar.gz
BuildRequires: fdupes
-BuildRequires: python-devel
+BuildRequires: python-coverage
BuildRequires: python-futures
+BuildRequires: python-mock
BuildRequires: python-rpm-macros
BuildRequires: python-setuptools
BuildRequires: python-six
-%if %{with test}
-BuildRequires: python-coverage
-BuildRequires: python-mock
BuildRequires: python-unittest2
-%endif
Requires: python-futures
Requires: python-six
Provides: python2-trollius = %{version}
@@ -50,7 +46,7 @@
%setup -q -n trollius-%{version}
rm -rf trollius.egg-info
# use correct interpreter
-sed -e '1c#!%{__python2}' -i examples/tcp_echo.py examples/udp_echo.py
+sed -e '1c#!python2' -i examples/tcp_echo.py examples/udp_echo.py
%build
%python2_build
@@ -59,14 +55,12 @@
%python2_install
%fdupes %{buildroot}%{python2_sitelib}
-%if %{with test}
%check
python2 setup.py test
-%endif
%files
-%defattr(-,root,root)
-%doc AUTHORS COPYING README.rst TODO.rst
+%license COPYING
+%doc AUTHORS README.rst TODO.rst
%doc doc/*.rst doc/trollius.jpg
%doc examples/
%{python2_sitelib}/trollius/
++++++ trollius-2.1.tar.gz -> trollius-2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/MANIFEST.in new/trollius-2.2/MANIFEST.in
--- old/trollius-2.1/MANIFEST.in 2016-02-05 13:14:29.000000000 +0100
+++ new/trollius-2.2/MANIFEST.in 2018-03-09 10:59:50.000000000 +0100
@@ -1,7 +1,7 @@
include AUTHORS COPYING TODO.rst tox.ini
include Makefile
include overlapped.c pypi.bat
-include check.py runtests.py run_aiotest.py release.py
+include check.py runtests.py release.py
include update-asyncio-*.sh
include .travis.yml
include releaser.conf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/PKG-INFO new/trollius-2.2/PKG-INFO
--- old/trollius-2.1/PKG-INFO 2016-02-19 14:44:15.000000000 +0100
+++ new/trollius-2.2/PKG-INFO 2018-03-09 11:11:45.000000000 +0100
@@ -1,12 +1,21 @@
Metadata-Version: 1.1
Name: trollius
-Version: 2.1
+Version: 2.2
Summary: Port of the Tulip project (asyncio module, PEP 3156) on Python 2
Home-page: https://github.com/haypo/trollius
Author: Victor Stinner
Author-email: [email protected]
License: Apache License 2.0
-Description: Trollius provides infrastructure for writing single-threaded
concurrent
+Description-Content-Type: UNKNOWN
+Description: ========
+ Trollius
+ ========
+
+ .. image:: http://unmaintained.tech/badge.svg
+ :target: http://unmaintained.tech/
+ :alt: No Maintenance Intended
+
+ Trollius provides infrastructure for writing single-threaded concurrent
code using coroutines, multiplexing I/O access over sockets and other
resources, running network clients and servers, and other related
primitives.
Here is a more detailed list of the package contents:
@@ -40,10 +49,9 @@
OpenIndiana.
* `Asyncio documentation
<http://docs.python.org/dev/library/asyncio.html>`_
- * `Trollius documentation <http://trollius.readthedocs.org/>`_
* `Trollius project in the Python Cheeseshop (PyPI)
<https://pypi.python.org/pypi/trollius>`_
- * `Trollius project at Github <https://github.com/haypo/trollius>`_
+ * `Trollius project at Github <https://github.com/vstinner/trollius>`_
(bug tracker, source code)
* Copyright/license: Open source, Apache 2.0. Enjoy!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/README.rst new/trollius-2.2/README.rst
--- old/trollius-2.1/README.rst 2016-02-05 13:14:29.000000000 +0100
+++ new/trollius-2.2/README.rst 2018-03-09 11:01:25.000000000 +0100
@@ -1,3 +1,11 @@
+========
+Trollius
+========
+
+.. image:: http://unmaintained.tech/badge.svg
+ :target: http://unmaintained.tech/
+ :alt: No Maintenance Intended
+
Trollius provides infrastructure for writing single-threaded concurrent
code using coroutines, multiplexing I/O access over sockets and other
resources, running network clients and servers, and other related primitives.
@@ -32,10 +40,9 @@
OpenIndiana.
* `Asyncio documentation <http://docs.python.org/dev/library/asyncio.html>`_
-* `Trollius documentation <http://trollius.readthedocs.org/>`_
* `Trollius project in the Python Cheeseshop (PyPI)
<https://pypi.python.org/pypi/trollius>`_
-* `Trollius project at Github <https://github.com/haypo/trollius>`_
+* `Trollius project at Github <https://github.com/vstinner/trollius>`_
(bug tracker, source code)
* Copyright/license: Open source, Apache 2.0. Enjoy!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/doc/asyncio.rst
new/trollius-2.2/doc/asyncio.rst
--- old/trollius-2.1/doc/asyncio.rst 2016-02-05 15:28:58.000000000 +0100
+++ new/trollius-2.2/doc/asyncio.rst 2018-03-09 10:56:26.000000000 +0100
@@ -168,7 +168,7 @@
module if available, or import ``trollius``.
* `Tornado <http://www.tornadoweb.org/>`_ supports asyncio and Trollius since
Tornado 3.2: `tornado.platform.asyncio — Bridge between asyncio and Tornado
- <http://tornado.readthedocs.org/en/latest/asyncio.html>`_. It tries to import
+ <https://tornado.readthedocs.io/en/latest/asyncio.html>`_. It tries to import
asyncio or fallback on importing trollius.
Another option is to provide functions returning ``Future`` objects, so the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/doc/changelog.rst
new/trollius-2.2/doc/changelog.rst
--- old/trollius-2.1/doc/changelog.rst 2016-02-05 15:33:54.000000000 +0100
+++ new/trollius-2.2/doc/changelog.rst 2018-03-09 11:06:33.000000000 +0100
@@ -5,8 +5,20 @@
.. warning::
:ref:`The Trollius project is now deprecated! <deprecated>`
-Version 2.1
-===========
+Version 2.2 (2018-03-09)
+========================
+
+Changes:
+
+* ``run_aiotest.py`` has been removed since the ``aiotest`` project has been
+ removed
+* Add the "No Maintenance Intended" badge to README
+* The Trollius documentation is no longer online:
+ http://trollius.readthedocs.io/ has been removed
+* Update the GitHub URL to: https://github.com/vstinner/trollius
+
+Version 2.1 (2016-02-05)
+========================
Changes:
@@ -580,7 +592,7 @@
Trollius changes:
* Add a new Sphinx documentation:
- http://trollius.readthedocs.org/
+ https://trollius.readthedocs.io/
* tox: pass posargs to nosetests. Patch contributed by Ian Wienand.
* Fix support of Python 3.2 and add py32 to tox.ini
* Merge with Tulip 0.4.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/doc/conf.py new/trollius-2.2/doc/conf.py
--- old/trollius-2.1/doc/conf.py 2016-02-05 13:26:10.000000000 +0100
+++ new/trollius-2.2/doc/conf.py 2018-03-09 10:56:26.000000000 +0100
@@ -48,7 +48,7 @@
# built documents.
#
# The short X.Y version.
-version = release = '2.1'
+version = release = '2.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/doc/dev.rst new/trollius-2.2/doc/dev.rst
--- old/trollius-2.1/doc/dev.rst 2016-02-05 15:29:51.000000000 +0100
+++ new/trollius-2.2/doc/dev.rst 2018-03-09 11:00:00.000000000 +0100
@@ -29,9 +29,6 @@
<https://pypi.python.org/pypi/mock>`_ module. Python 2.6 and 2.7 require also
`unittest2 <https://pypi.python.org/pypi/unittest2>`_.
-To run ``run_aiotest.py``, you need the `aiotest
-<https://pypi.python.org/pypi/aiotest>`_ test suite: ``pip install aiotest``.
-
Run tests on UNIX
-----------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/doc/index.rst
new/trollius-2.2/doc/index.rst
--- old/trollius-2.1/doc/index.rst 2016-02-05 15:28:23.000000000 +0100
+++ new/trollius-2.2/doc/index.rst 2018-03-09 10:56:26.000000000 +0100
@@ -42,11 +42,10 @@
Windows, Linux, Mac OS X, FreeBSD and OpenIndiana.
* `Asyncio documentation <http://docs.python.org/dev/library/asyncio.html>`_
-* `Trollius documentation <http://trollius.readthedocs.org/>`_ (this document)
* `Trollius project in the Python Cheeseshop (PyPI)
<https://pypi.python.org/pypi/trollius>`_ (download wheel packages and
tarballs)
-* `Trollius project at Github <https://github.com/haypo/trollius>`_
+* `Trollius project at Github <https://github.com/vstinner/trollius>`_
(bug tracker, source code)
* Mailing list: `python-tulip Google Group
<https://groups.google.com/forum/?fromgroups#!forum/python-tulip>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/doc/install.rst
new/trollius-2.2/doc/install.rst
--- old/trollius-2.1/doc/install.rst 2016-02-05 15:28:47.000000000 +0100
+++ new/trollius-2.2/doc/install.rst 2018-03-09 10:56:26.000000000 +0100
@@ -91,7 +91,7 @@
On Windows, if you cannot use precompiled wheel packages, an extension module
must be compiled: the ``_overlapped`` module (source code: ``overlapped.c``).
Read `Compile Python extensions on Windows
-<http://haypo-notes.readthedocs.org/python.html#compile-python-extensions-on-windows>`_
+<https://haypo-notes.readthedocs.io/python.html#compile-python-extensions-on-windows>`_
to prepare your environment to build the Python extension. Then build the
extension using::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/doc/libraries.rst
new/trollius-2.2/doc/libraries.rst
--- old/trollius-2.1/doc/libraries.rst 2016-02-05 15:28:54.000000000 +0100
+++ new/trollius-2.2/doc/libraries.rst 2018-03-09 10:56:26.000000000 +0100
@@ -10,7 +10,7 @@
Libraries compatible with asyncio and trollius
==============================================
-* `aioeventlet <https://aioeventlet.readthedocs.org/>`_: asyncio API
+* `aioeventlet <https://aioeventlet.readthedocs.io/>`_: asyncio API
implemented on top of eventlet
* `aiogevent <https://pypi.python.org/pypi/aiogevent>`_: asyncio API
implemented on top of gevent
@@ -24,12 +24,12 @@
module if available, or import ``trollius``.
* `Tornado <http://www.tornadoweb.org/>`_ supports asyncio and Trollius since
Tornado 3.2: `tornado.platform.asyncio — Bridge between asyncio and Tornado
- <http://tornado.readthedocs.org/en/latest/asyncio.html>`_. It tries to import
+ <https://tornado.readthedocs.io/en/latest/asyncio.html>`_. It tries to import
asyncio or fallback on importing trollius.
Specific Ports
==============
* `trollius-redis <https://github.com/benjolitz/trollius-redis>`_:
- A port of `asyncio-redis <http://asyncio-redis.readthedocs.org/>`_ to
+ A port of `asyncio-redis <https://asyncio-redis.readthedocs.io/>`_ to
trollius
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/examples/shell.py
new/trollius-2.2/examples/shell.py
--- old/trollius-2.1/examples/shell.py 2016-02-05 13:14:29.000000000 +0100
+++ new/trollius-2.2/examples/shell.py 2018-03-09 10:56:26.000000000 +0100
@@ -46,7 +46,7 @@
except asyncio.TimeoutError:
print("timeout! (%.1f sec)" % timeout)
proc.kill()
- yield from proc.wait()
+ yield From(proc.wait())
loop = asyncio.get_event_loop()
loop.run_until_complete(cat(loop))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/releaser.conf
new/trollius-2.2/releaser.conf
--- old/trollius-2.1/releaser.conf 2016-02-05 13:14:29.000000000 +0100
+++ new/trollius-2.2/releaser.conf 2018-03-09 10:56:26.000000000 +0100
@@ -1,5 +1,5 @@
# Configuration file for the tool "releaser"
-# https://bitbucket.org/haypo/misc/src/tip/bin/releaser.py
+# https://github.com/vstinner/misc/blob/master/bin/releaser.py
[project]
name = trollius
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/run_aiotest.py
new/trollius-2.2/run_aiotest.py
--- old/trollius-2.1/run_aiotest.py 2016-02-05 13:14:29.000000000 +0100
+++ new/trollius-2.2/run_aiotest.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-import aiotest.run
-import sys
-import trollius
-if sys.platform == 'win32':
- from trollius.windows_utils import socketpair
-else:
- from socket import socketpair
-
-config = aiotest.TestConfig()
-config.asyncio = trollius
-config.socketpair = socketpair
-config.new_event_pool_policy = trollius.DefaultEventLoopPolicy
-config.call_soon_check_closed = True
-aiotest.run.main(config)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/setup.cfg new/trollius-2.2/setup.cfg
--- old/trollius-2.1/setup.cfg 2016-02-19 14:44:15.000000000 +0100
+++ new/trollius-2.2/setup.cfg 2018-03-09 11:11:45.000000000 +0100
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/setup.py new/trollius-2.2/setup.py
--- old/trollius-2.1/setup.py 2016-02-05 15:33:11.000000000 +0100
+++ new/trollius-2.2/setup.py 2018-03-09 11:08:05.000000000 +0100
@@ -1,5 +1,6 @@
# Prepare a release:
#
+# - git pull --rebase
# - fill trollius changelog
# - run maybe ./update-asyncio-step1.sh
# - run all tests on Linux: tox
@@ -17,15 +18,18 @@
#
# - git tag trollius-VERSION
# - git push --tags
-# - On Linux: python setup.py register sdist upload
+# - Remove untracked files/dirs: git clean -fdx
+# - On Linux: python2 setup.py sdist
# FIXME: don't use bdist_wheel because of
# FIXME: https://github.com/haypo/trollius/issues/1
+# - twine upload dist/*
# - On Windows: python releaser.py release
#
# After the release:
#
# - increment version in setup.py (version) and doc/conf.py (version, release)
-# - git commit -a && git push
+# - git commit -a -m "post release X.Y"
+# - git push
import os
import sys
@@ -56,7 +60,7 @@
install_options = {
"name": "trollius",
- "version": "2.1",
+ "version": "2.2",
"license": "Apache License 2.0",
"author": 'Victor Stinner',
"author_email": '[email protected]',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/tox.ini new/trollius-2.2/tox.ini
--- old/trollius-2.1/tox.ini 2016-02-05 13:14:29.000000000 +0100
+++ new/trollius-2.2/tox.ini 2018-03-09 10:59:21.000000000 +0100
@@ -4,31 +4,28 @@
[testenv]
deps=
- aiotest
six
setenv =
TROLLIUSDEBUG = 1
commands=
python -Wd runtests.py -r {posargs}
- python -Wd run_aiotest.py -r {posargs}
[testenv:pyflakes2]
basepython = python2
deps=
pyflakes
commands=
- pyflakes trollius tests runtests.py check.py run_aiotest.py setup.py
+ pyflakes trollius tests runtests.py check.py setup.py
[testenv:pyflakes3]
basepython = python3
deps=
pyflakes
commands=
- pyflakes trollius tests runtests.py check.py run_aiotest.py setup.py
+ pyflakes trollius tests runtests.py check.py setup.py
[testenv:py26]
deps=
- aiotest
futures
mock==1.0.1
ordereddict
@@ -37,7 +34,6 @@
[testenv:py27]
deps=
- aiotest
futures
mock
six
@@ -47,7 +43,6 @@
# Run tests in release mode
basepython = python2
deps=
- aiotest
futures
mock
six
@@ -58,7 +53,6 @@
[testenv:py2_no_ssl]
basepython = python2
deps=
- aiotest
futures
mock
six
@@ -69,7 +63,6 @@
[testenv:py2_no_concurrent]
basepython = python2
deps=
- aiotest
futures
mock
six
@@ -79,7 +72,6 @@
[testenv:py32]
deps=
- aiotest
mock
six
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/trollius.egg-info/PKG-INFO
new/trollius-2.2/trollius.egg-info/PKG-INFO
--- old/trollius-2.1/trollius.egg-info/PKG-INFO 2016-02-19 14:44:06.000000000
+0100
+++ new/trollius-2.2/trollius.egg-info/PKG-INFO 2018-03-09 11:11:45.000000000
+0100
@@ -1,12 +1,21 @@
Metadata-Version: 1.1
Name: trollius
-Version: 2.1
+Version: 2.2
Summary: Port of the Tulip project (asyncio module, PEP 3156) on Python 2
Home-page: https://github.com/haypo/trollius
Author: Victor Stinner
Author-email: [email protected]
License: Apache License 2.0
-Description: Trollius provides infrastructure for writing single-threaded
concurrent
+Description-Content-Type: UNKNOWN
+Description: ========
+ Trollius
+ ========
+
+ .. image:: http://unmaintained.tech/badge.svg
+ :target: http://unmaintained.tech/
+ :alt: No Maintenance Intended
+
+ Trollius provides infrastructure for writing single-threaded concurrent
code using coroutines, multiplexing I/O access over sockets and other
resources, running network clients and servers, and other related
primitives.
Here is a more detailed list of the package contents:
@@ -40,10 +49,9 @@
OpenIndiana.
* `Asyncio documentation
<http://docs.python.org/dev/library/asyncio.html>`_
- * `Trollius documentation <http://trollius.readthedocs.org/>`_
* `Trollius project in the Python Cheeseshop (PyPI)
<https://pypi.python.org/pypi/trollius>`_
- * `Trollius project at Github <https://github.com/haypo/trollius>`_
+ * `Trollius project at Github <https://github.com/vstinner/trollius>`_
(bug tracker, source code)
* Copyright/license: Open source, Apache 2.0. Enjoy!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/trollius-2.1/trollius.egg-info/SOURCES.txt
new/trollius-2.2/trollius.egg-info/SOURCES.txt
--- old/trollius-2.1/trollius.egg-info/SOURCES.txt 2016-02-19
14:44:08.000000000 +0100
+++ new/trollius-2.2/trollius.egg-info/SOURCES.txt 2018-03-09
11:11:45.000000000 +0100
@@ -9,7 +9,6 @@
overlapped.c
pypi.bat
releaser.conf
-run_aiotest.py
runtests.py
setup.py
tox.ini