Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-trio for openSUSE:Factory 
checked in at 2022-09-26 18:47:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-trio (Old)
 and      /work/SRC/openSUSE:Factory/.python-trio.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-trio"

Mon Sep 26 18:47:43 2022 rev:11 rq:1005914 version:0.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-trio/python-trio.changes  2022-04-02 
18:20:33.986257668 +0200
+++ /work/SRC/openSUSE:Factory/.python-trio.new.2275/python-trio.changes        
2022-09-26 18:47:48.312009070 +0200
@@ -1,0 +2,7 @@
+Sun Sep 25 19:11:32 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 0.21.0:
+  * Trio now supports Python 3.11.
+  * Remove support for Python 3.6.
+
+-------------------------------------------------------------------

Old:
----
  trio-0.20.0.tar.gz

New:
----
  trio-0.21.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-trio.spec ++++++
--- /var/tmp/diff_new_pack.VckjAt/_old  2022-09-26 18:47:48.924010226 +0200
+++ /var/tmp/diff_new_pack.VckjAt/_new  2022-09-26 18:47:48.928010234 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python3-%{**}}
 %define skip_python2 1
 Name:           python-trio
-Version:        0.20.0
+Version:        0.21.0
 Release:        0
 Summary:        Python async/await-native I/O library
 License:        Apache-2.0 OR MIT
@@ -79,7 +79,8 @@
 #   pointless for us.
 # test_SSLStream_generic deadlocks in OBS
 # test_close_at_bad_time_for_send_all fails on PPC 
https://github.com/python-trio/trio/issues/1753
-%pytest -k 'not (test_static_tool_sees_all_symbols or test_SSLStream_generic 
or test_close_at_bad_time_for_send_all)'
+# test_local_address_real fails on qemu_linux_user targets
+%pytest -k 'not (test_static_tool_sees_all_symbols or test_SSLStream_generic 
or test_close_at_bad_time_for_send_all or test_local_address_real)'
 
 %files %{python_files}
 %doc README.rst

++++++ trio-0.20.0.tar.gz -> trio-0.21.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/.builds/fedora.yml 
new/trio-0.21.0/.builds/fedora.yml
--- old/trio-0.20.0/.builds/fedora.yml  2022-02-21 13:35:55.000000000 +0100
+++ new/trio-0.21.0/.builds/fedora.yml  2022-06-07 20:15:26.000000000 +0200
@@ -1,14 +1,12 @@
 image: fedora/rawhide
 packages:
-  # Comment out to avoid Python 3.10 until cffi has built wheels for Python 
3.10
-  # - python3-devel
-  - python3.9
+  - python3-devel
   - python3-pip
 sources:
   - https://github.com/python-trio/trio
 tasks:
   - test: |
-      python3.9 -m venv venv
+      python3 -m venv venv
       source venv/bin/activate
       cd trio
       CI_BUILD_ID=$JOB_ID CI_BUILD_URL=$JOB_URL ./ci.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/.github/workflows/ci.yml 
new/trio-0.21.0/.github/workflows/ci.yml
--- old/trio-0.20.0/.github/workflows/ci.yml    2022-02-21 13:35:55.000000000 
+0100
+++ new/trio-0.21.0/.github/workflows/ci.yml    2022-06-07 20:15:26.000000000 
+0200
@@ -56,6 +56,8 @@
           # PyPy    -> pypy-3.7
           python-version: ${{ fromJSON(format('["{0}", "{1}"]', 
format('{0}.0-alpha - {0}.X', matrix.python), 
matrix.python))[startsWith(matrix.python, 'pypy')] }}
           architecture: '${{ matrix.arch }}'
+          cache: pip
+          cache-dependency-path: test-requirements.txt
       - name: Run tests
         run: ./ci.sh
         shell: bash
@@ -72,7 +74,7 @@
     strategy:
       fail-fast: false
       matrix:
-        python: ['pypy-3.7', 'pypy-3.8', '3.7', '3.8', '3.9', '3.10', 
'3.8-dev', '3.9-dev', '3.10-dev']
+        python: ['pypy-3.7', 'pypy-3.8', '3.7', '3.8', '3.9', '3.10', 
'3.11-dev']
         check_formatting: ['0']
         pypy_nightly_branch: ['']
         extra_name: ['']
@@ -94,6 +96,8 @@
         if: "!endsWith(matrix.python, '-dev')"
         with:
           python-version: ${{ fromJSON(format('["{0}", "{1}"]', 
format('{0}.0-alpha - {0}.X', matrix.python), 
matrix.python))[startsWith(matrix.python, 'pypy')] }}
+          cache: pip
+          cache-dependency-path: test-requirements.txt
       - name: Setup python (dev)
         uses: deadsnakes/[email protected]
         if: endsWith(matrix.python, '-dev')
@@ -127,6 +131,8 @@
         uses: actions/setup-python@v2
         with:
           python-version: ${{ fromJSON(format('["{0}", "{1}"]', 
format('{0}.0-alpha - {0}.X', matrix.python), 
matrix.python))[startsWith(matrix.python, 'pypy')] }}
+          cache: pip
+          cache-dependency-path: test-requirements.txt
       - name: Run tests
         run: ./ci.sh
         env:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/docs/source/awesome-trio-libraries.rst 
new/trio-0.21.0/docs/source/awesome-trio-libraries.rst
--- old/trio-0.20.0/docs/source/awesome-trio-libraries.rst      2022-02-21 
13:35:55.000000000 +0100
+++ new/trio-0.21.0/docs/source/awesome-trio-libraries.rst      2022-06-07 
20:15:26.000000000 +0200
@@ -85,8 +85,7 @@
 
 RPC
 ---
-* `purepc <https://github.com/standy66/purerpc>`__ - Asynchronous pure Python 
gRPC client and server implementation using anyio.
-* `trio-jsonrpc <https://github.com/HyperionGray/trio-jsonrpc>`__ - JSON-RPC 
v2.0 for Trio.
+* `purepc <https://github.com/python-trio/purerpc>`__ - Native, async Python 
gRPC client and server implementation using anyio.
 
 
 Testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/docs/source/history.rst 
new/trio-0.21.0/docs/source/history.rst
--- old/trio-0.20.0/docs/source/history.rst     2022-02-21 13:35:55.000000000 
+0100
+++ new/trio-0.21.0/docs/source/history.rst     2022-06-07 20:15:26.000000000 
+0200
@@ -5,6 +5,23 @@
 
 .. towncrier release notes start
 
+Trio 0.21.0 (2022-06-07)
+----------------------------
+
+Features
+~~~~~~~~
+
+- Trio now supports Python 3.11. (`#2270
+  <https://github.com/python-trio/trio/issues/2270>`__, `#2318
+  <https://github.com/python-trio/trio/issues/2318>`__, `#2319
+  <https://github.com/python-trio/trio/issues/2319>`__)
+
+Deprecations and Removals
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+- Remove support for Python 3.6. (`#2210 
<https://github.com/python-trio/trio/issues/2210>`__)
+
+
 Trio 0.20.0 (2022-02-21)
 ------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/docs-requirements.txt 
new/trio-0.21.0/docs-requirements.txt
--- old/trio-0.20.0/docs-requirements.txt       2022-02-21 13:35:55.000000000 
+0100
+++ new/trio-0.21.0/docs-requirements.txt       2022-06-07 20:15:26.000000000 
+0200
@@ -14,11 +14,11 @@
     #   outcome
 babel==2.9.1
     # via sphinx
-certifi==2021.10.8
+certifi==2022.5.18.1
     # via requests
 charset-normalizer==2.0.12
     # via requests
-click==8.0.4
+click==8.1.3
     # via
     #   click-default-group
     #   towncrier
@@ -34,7 +34,7 @@
     #   requests
 imagesize==1.3.0
     # via sphinx
-immutables==0.16
+immutables==0.18
     # via -r docs-requirements.in
 incremental==21.3.0
     # via towncrier
@@ -42,7 +42,7 @@
     # via
     #   sphinx
     #   towncrier
-markupsafe==2.1.0
+markupsafe==2.1.1
     # via jinja2
 outcome==1.1.0
     # via -r docs-requirements.in
@@ -50,9 +50,9 @@
     # via sphinx
 pygments==2.10.0
     # via sphinx
-pyparsing==3.0.7
+pyparsing==3.0.9
     # via packaging
-pytz==2021.3
+pytz==2022.1
     # via babel
 requests==2.27.1
     # via sphinx
@@ -87,5 +87,5 @@
     # via towncrier
 towncrier==21.9.0
     # via -r docs-requirements.in
-urllib3==1.26.8
+urllib3==1.26.9
     # via requests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/newsfragments/2210.removal.rst 
new/trio-0.21.0/newsfragments/2210.removal.rst
--- old/trio-0.20.0/newsfragments/2210.removal.rst      2022-02-21 
13:35:55.000000000 +0100
+++ new/trio-0.21.0/newsfragments/2210.removal.rst      1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-Remove support for Python 3.6.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/setup.py new/trio-0.21.0/setup.py
--- old/trio-0.20.0/setup.py    2022-02-21 13:35:55.000000000 +0100
+++ new/trio-0.21.0/setup.py    2022-06-07 20:15:26.000000000 +0200
@@ -76,7 +76,7 @@
     author="Nathaniel J. Smith",
     author_email="[email protected]",
     url="https://github.com/python-trio/trio";,
-    license="MIT -or- Apache License 2.0",
+    license="MIT OR Apache-2.0",
     packages=find_packages(),
     install_requires=[
         "attrs >= 19.2.0",  # for eq
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/test-requirements.txt 
new/trio-0.21.0/test-requirements.txt
--- old/trio-0.20.0/test-requirements.txt       2022-02-21 13:35:55.000000000 
+0100
+++ new/trio-0.21.0/test-requirements.txt       2022-06-07 20:15:26.000000000 
+0200
@@ -6,7 +6,7 @@
 #
 astor==0.8.1
     # via -r test-requirements.in
-astroid==2.9.3
+astroid==2.11.5
     # via pylint
 async-generator==1.10
     # via -r test-requirements.in
@@ -17,21 +17,23 @@
     #   pytest
 backcall==0.2.0
     # via ipython
-black==22.1.0 ; implementation_name == "cpython"
+black==22.3.0 ; implementation_name == "cpython"
     # via -r test-requirements.in
 cffi==1.15.0
     # via cryptography
-click==8.0.4
+click==8.1.3
     # via black
-coverage[toml]==6.0.2
+coverage[toml]==6.3.3
     # via pytest-cov
-cryptography==36.0.1
+cryptography==37.0.2
     # via
     #   -r test-requirements.in
     #   pyopenssl
     #   trustme
 decorator==5.1.1
     # via ipython
+dill==0.3.5.1
+    # via pylint
 flake8==4.0.1
     # via -r test-requirements.in
 idna==3.3
@@ -56,7 +58,7 @@
     # via
     #   flake8
     #   pylint
-mypy==0.931 ; implementation_name == "cpython"
+mypy==0.961 ; implementation_name == "cpython"
     # via -r test-requirements.in
 mypy-extensions==0.4.3 ; implementation_name == "cpython"
     # via
@@ -75,13 +77,13 @@
     # via ipython
 pickleshare==0.7.5
     # via ipython
-platformdirs==2.5.1
+platformdirs==2.5.2
     # via
     #   black
     #   pylint
 pluggy==1.0.0
     # via pytest
-prompt-toolkit==3.0.28
+prompt-toolkit==3.0.29
     # via ipython
 ptyprocess==0.7.0
     # via pexpect
@@ -95,13 +97,13 @@
     # via flake8
 pygments==2.10.0
     # via ipython
-pylint==2.12.2
+pylint==2.14.1
     # via -r test-requirements.in
 pyopenssl==22.0.0
     # via -r test-requirements.in
-pyparsing==3.0.7
+pyparsing==3.0.9
     # via packaging
-pytest==7.0.1
+pytest==7.1.2
     # via
     #   -r test-requirements.in
     #   pytest-cov
@@ -111,27 +113,28 @@
     # via -r test-requirements.in
 sortedcontainers==2.4.0
     # via -r test-requirements.in
-toml==0.10.2
-    # via pylint
 tomli==2.0.1
     # via
     #   black
     #   coverage
     #   mypy
+    #   pylint
     #   pytest
-traitlets==5.1.1
+tomlkit==0.11.0
+    # via pylint
+traitlets==5.2.1.post0
     # via
     #   ipython
     #   matplotlib-inline
 trustme==0.9.0
     # via -r test-requirements.in
-typing-extensions==4.1.1 ; implementation_name == "cpython"
+typing-extensions==4.2.0 ; implementation_name == "cpython"
     # via
     #   -r test-requirements.in
     #   mypy
 wcwidth==0.2.5
     # via prompt-toolkit
-wrapt==1.13.3
+wrapt==1.14.1
     # via astroid
 
 # The following packages are considered to be unsafe in a requirements file:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/trio/_core/_multierror.py 
new/trio-0.21.0/trio/_core/_multierror.py
--- old/trio-0.20.0/trio/_core/_multierror.py   2022-02-21 13:35:55.000000000 
+0100
+++ new/trio-0.21.0/trio/_core/_multierror.py   2022-06-07 20:15:26.000000000 
+0200
@@ -383,11 +383,10 @@
     capture_locals=False,
     compact=False,
     _seen=None,
+    **kwargs,
 ):
     if sys.version_info >= (3, 10):
-        kwargs = {"compact": compact}
-    else:
-        kwargs = {}
+        kwargs["compact"] = compact
 
     # Capture the original exception and its cause and context as 
TracebackExceptions
     traceback_exception_original_init(
@@ -421,6 +420,7 @@
                         # copy the set of _seen exceptions so that duplicates
                         # shared between sub-exceptions are not omitted
                         _seen=None if seen_was_none else set(_seen),
+                        **kwargs,
                     )
                 )
         self.embedded = embedded
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/trio/_version.py 
new/trio-0.21.0/trio/_version.py
--- old/trio-0.20.0/trio/_version.py    2022-02-21 13:35:55.000000000 +0100
+++ new/trio-0.21.0/trio/_version.py    2022-06-07 20:15:26.000000000 +0200
@@ -1,3 +1,3 @@
 # This file is imported from __init__.py and exec'd from setup.py
 
-__version__ = "0.20.0"
+__version__ = "0.21.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/trio/socket.py 
new/trio-0.21.0/trio/socket.py
--- old/trio-0.20.0/trio/socket.py      2022-02-21 13:35:55.000000000 +0100
+++ new/trio-0.21.0/trio/socket.py      2022-06-07 20:15:26.000000000 +0200
@@ -38,7 +38,7 @@
         IPPROTO_ND, IPPROTO_TP, IPPROTO_ROUTING, IPPROTO_FRAGMENT,
         IPPROTO_RSVP, IPPROTO_GRE, IPPROTO_ESP, IPPROTO_AH, IPPROTO_ICMPV6,
         IPPROTO_NONE, IPPROTO_DSTOPTS, IPPROTO_XTP, IPPROTO_EON, IPPROTO_PIM,
-        IPPROTO_IPCOMP, IPPROTO_SCTP, IPPROTO_RAW, IPPROTO_MAX,
+        IPPROTO_IPCOMP, IPPROTO_SCTP, IPPROTO_RAW, IPPROTO_MAX, IPPROTO_MPTCP,
         SYSPROTO_CONTROL, IPPORT_RESERVED, IPPORT_USERRESERVED, INADDR_ANY,
         INADDR_BROADCAST, INADDR_LOOPBACK, INADDR_UNSPEC_GROUP,
         INADDR_ALLHOSTS_GROUP, INADDR_MAX_LOCAL_GROUP, INADDR_NONE, IP_OPTIONS,
@@ -118,7 +118,7 @@
         SCM_J1939_DEST_ADDR, SCM_J1939_DEST_NAME, SCM_J1939_ERRQUEUE,
         SCM_J1939_PRIO, SO_J1939_ERRQUEUE, SO_J1939_FILTER, SO_J1939_PROMISC,
         SO_J1939_SEND_PRIO, UDPLITE_RECV_CSCOV, UDPLITE_SEND_CSCOV, IP_RECVTOS,
-        TCP_KEEPALIVE
+        TCP_KEEPALIVE, SO_INCOMING_CPU
     )
     # fmt: on
 except ImportError:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/trio/tests/test_exports.py 
new/trio-0.21.0/trio/tests/test_exports.py
--- old/trio-0.20.0/trio/tests/test_exports.py  2022-02-21 13:35:55.000000000 
+0100
+++ new/trio-0.21.0/trio/tests/test_exports.py  2022-06-07 20:15:26.000000000 
+0200
@@ -64,22 +64,11 @@
     sys.version_info.releaselevel == "alpha",
     reason="skip static introspection tools on Python dev/alpha releases",
 )
[email protected](
-    # https://github.com/PyCQA/astroid/issues/681
-    "ignore:the imp module is deprecated.*:DeprecationWarning"
-)
 @pytest.mark.parametrize("modname", PUBLIC_MODULE_NAMES)
 @pytest.mark.parametrize("tool", ["pylint", "jedi"])
 @pytest.mark.filterwarnings(
-    "ignore:"
-    + re.escape(
-        "The distutils package is deprecated and slated for removal in Python 
3.12. "
-        "Use setuptools or check PEP 632 for potential alternatives"
-    )
-    + ":DeprecationWarning",
-    "ignore:"
-    + re.escape("The distutils.sysconfig module is deprecated, use sysconfig 
instead")
-    + ":DeprecationWarning",
+    # https://github.com/pypa/setuptools/issues/3274
+    "ignore:module 'sre_constants' is deprecated:DeprecationWarning",
 )
 def test_static_tool_sees_all_symbols(tool, modname):
     module = importlib.import_module(modname)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/trio/tests/test_ssl.py 
new/trio-0.21.0/trio/tests/test_ssl.py
--- old/trio-0.20.0/trio/tests/test_ssl.py      2022-02-21 13:35:55.000000000 
+0100
+++ new/trio-0.21.0/trio/tests/test_ssl.py      2022-06-07 20:15:26.000000000 
+0200
@@ -1,3 +1,4 @@
+import os
 import re
 import sys
 
@@ -760,6 +761,10 @@
     assert record == ["ok"]
 
 
[email protected](
+    os.name == "nt" and sys.version_info >= (3, 10),
+    reason="frequently fails on Windows + Python 3.10",
+)
 async def test_checkpoints(client_ctx):
     async with ssl_echo_server(client_ctx) as s:
         with assert_checkpoints():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/trio-0.20.0/trio/tests/test_util.py 
new/trio-0.21.0/trio/tests/test_util.py
--- old/trio-0.20.0/trio/tests/test_util.py     2022-02-21 13:35:55.000000000 
+0100
+++ new/trio-0.21.0/trio/tests/test_util.py     2022-06-07 20:15:26.000000000 
+0200
@@ -1,4 +1,6 @@
 import signal
+import sys
+
 import pytest
 
 import trio
@@ -108,13 +110,15 @@
 
         import asyncio
 
-        @asyncio.coroutine
-        def generator_based_coro():  # pragma: no cover
-            yield from asyncio.sleep(1)
+        if sys.version_info < (3, 11):
 
-        with pytest.raises(TypeError) as excinfo:
-            coroutine_or_error(generator_based_coro())
-        assert "asyncio" in str(excinfo.value)
+            @asyncio.coroutine
+            def generator_based_coro():  # pragma: no cover
+                yield from asyncio.sleep(1)
+
+            with pytest.raises(TypeError) as excinfo:
+                coroutine_or_error(generator_based_coro())
+            assert "asyncio" in str(excinfo.value)
 
         with pytest.raises(TypeError) as excinfo:
             coroutine_or_error(create_asyncio_future_in_new_loop())

Reply via email to