Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Twisted for openSUSE:Factory 
checked in at 2023-11-23 21:38:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Twisted (Old)
 and      /work/SRC/openSUSE:Factory/.python-Twisted.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Twisted"

Thu Nov 23 21:38:42 2023 rev:66 rq:1128372 version:23.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Twisted/python-Twisted.changes    
2023-11-16 20:27:17.653565653 +0100
+++ /work/SRC/openSUSE:Factory/.python-Twisted.new.25432/python-Twisted.changes 
2023-11-23 21:38:48.503425385 +0100
@@ -1,0 +2,27 @@
+Thu Nov 23 08:28:43 UTC 2023 - Markéta Machová <mmach...@suse.com>
+
+- Update to 23.10.0
+  * reactor.spawnProcess() now uses posix_spawnp when possible, making it much 
more efficient (#5710)
+  * Twisted now officially supports Python 3.11. (#10343)
+  * twisted.internet.defer.race has been added as a way to get the first 
available result from a list of Deferreds. (#11817)
+  * The CI suite was updated to execute the tests using a Python 3.12 
pre-release (#11857)
+  * PyAsn1 has been removed as a conch dependency.
+  * Due to changes in the way raw private key byte serialization are handled 
in Cryptography, and widespread support 
+    for Ed25519 in current versions of OpenSSL, we no longer support PyNaCl as 
a fallback for Ed25519 keys in Conch. (#11871)
+  * In Twisted 16.3.0, we changed twisted.web to stop dispatching HTTP/1.1 
pipelined requests to application code. 
+    There was a bug in this change which still allowed clients which could 
send multiple full HTTP requests in a single TCP segment 
+    to trigger asynchronous processing of later requests, which could lead to 
out-of-order responses. This has now been corrected 
+    and twisted.web should never process a pipelined request over HTTP/1.1 
until the previous request has fully completed. 
+    (CVE-2023-46137, GHSA-cq7q-gv5w-rwx2) (#11976)
+  * Drop support for Python 3.7. Remove twisted[contextvars] extra 
(contextvars are always available in Python 3.7+) (#11913)
+  * When using CPython, functions wrapped by 
twisted.internet.defer.inlineCallbacks can have their arguments and return 
values 
+    freed immediately after completion (due to there no longer being circular 
references). (#11885)
+- Delete merged patches:
+  * regenerate-cert-to-work-with-latest-service-identity.patch
+  * no-pygtkcompat.patch
+  * support-new-glibc.patch
+  * CVE-2023-46137-HTTP-pipeline-response.patch
+  * remove-pynacl-optional-dependency.patch
+  * py311-tests-compat.patch
+
+-------------------------------------------------------------------

Old:
----
  CVE-2023-46137-HTTP-pipeline-response.patch
  Twisted-22.10.0.tar.gz
  no-pygtkcompat.patch
  py311-tests-compat.patch
  regenerate-cert-to-work-with-latest-service-identity.patch
  remove-pynacl-optional-dependency.patch
  support-new-glibc.patch

New:
----
  twisted-23.10.0.tar.gz

BETA DEBUG BEGIN:
  Old:  * support-new-glibc.patch
  * CVE-2023-46137-HTTP-pipeline-response.patch
  * remove-pynacl-optional-dependency.patch
  Old:  * regenerate-cert-to-work-with-latest-service-identity.patch
  * no-pygtkcompat.patch
  * support-new-glibc.patch
  Old:  * remove-pynacl-optional-dependency.patch
  * py311-tests-compat.patch
  Old:- Delete merged patches:
  * regenerate-cert-to-work-with-latest-service-identity.patch
  * no-pygtkcompat.patch
  Old:  * CVE-2023-46137-HTTP-pipeline-response.patch
  * remove-pynacl-optional-dependency.patch
  * py311-tests-compat.patch
  Old:  * no-pygtkcompat.patch
  * support-new-glibc.patch
  * CVE-2023-46137-HTTP-pipeline-response.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-Twisted.spec ++++++
--- /var/tmp/diff_new_pack.OWjuFS/_old  2023-11-23 21:38:51.547537526 +0100
+++ /var/tmp/diff_new_pack.OWjuFS/_new  2023-11-23 21:38:51.559537968 +0100
@@ -28,12 +28,12 @@
 %define skip_python2 1
 %{?sle15_python_module_pythons}
 Name:           python-Twisted%{psuffix}
-Version:        22.10.0
+Version:        23.10.0
 Release:        0
 Summary:        An asynchronous networking framework written in Python
 License:        MIT
 URL:            https://twistedmatrix.com/
-Source0:        
https://files.pythonhosted.org/packages/source/T/Twisted/Twisted-%{version}.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/t/twisted/twisted-%{version}.tar.gz
 Source99:       python-Twisted.rpmlintrc
 Patch0:         skip_MultiCast.patch
 # PATCH-FIX-UPSTREAM no-test_successResultOfWithFailureHasTraceback.patch 
https://twistedmatrix.com/trac/ticket/9665 mc...@suse.com
@@ -44,23 +44,14 @@
 Patch3:         1521_delegate_parseqs_stdlib_bpo42967.patch
 # We don't want to package yet another module, and it is easily skippable
 Patch4:         no-cython_test_exception_raiser.patch
-# boo#1110669 Our variant of PyGObject has pygtkcompat stripped which Twisted 
does not handle
-Patch5:         no-pygtkcompat.patch
 # PATCH-FIX-OPENSUSE remove-dependency-version-upper-bounds.patch boo#1190036 
-- run with h2 >= 4.0.0 and priority >= 2.0
 Patch6:         remove-dependency-version-upper-bounds.patch
-# PATCH-FIX-UPSTREAM py311-tests-compat.patch gh#twisted/twisted#11734 
gh#twisted/twisted#11733
-Patch7:         py311-tests-compat.patch
-# PATCH-FIX-UPSTREAM gh#twisted/twisted#11787
-Patch8:         support-new-glibc.patch
-# PATCH-FIX-UPSTREAM gh#twisted/twisted#11878
-Patch9:         regenerate-cert-to-work-with-latest-service-identity.patch
-# PATCH-FIX-UPSTREAM gh#twisted/twisted#11873
-Patch10:        remove-pynacl-optional-dependency.patch
-# PATCH-FIX-UPSTREAM CVE-2023-46137-HTTP-pipeline-response.patch bsc#1216588 
mc...@suse.com
-# disordered HTTP pipeline response in twisted.web
-Patch11:        CVE-2023-46137-HTTP-pipeline-response.patch
+BuildRequires:  %{python_module hatch-fancy-pypi-readme}
+BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module incremental >= 21.3.0}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  git-core
 BuildRequires:  python-rpm-macros
@@ -121,7 +112,6 @@
 Requires:       python-appdirs >= 1.4.0
 Requires:       python-bcrypt >= 3.0.0
 Requires:       python-cryptography >= 2.6
-Requires:       python-pyasn1
 
 %description conch
 Twisted is an extensible framework for Python programming, with special focus
@@ -186,12 +176,12 @@
 This metapackage is for the optional dependency all_non_platform
 
 %prep
-%autosetup -p1 -n Twisted-%{version}
+%autosetup -p1 -n twisted-%{version}
 sed -i '1{/env python/d}' src/twisted/mail/test/pop3testserver.py 
src/twisted/trial/test/scripttest.py
 
 %if ! %{with test}
 %build
-%python_build
+%pyproject_wheel
 
 # empty files
 rm docs/{fun/Twisted.Quotes,_static/.placeholder,_templates/.placeholder}
@@ -200,7 +190,7 @@
 
 %if ! %{with test}
 %install
-%python_install
+%pyproject_install
 find %{buildroot} -regex '.*\.[ch]' -exec rm {} ";" # Remove leftover C sources
 install -dm0755 %{buildroot}%{_mandir}/man1/
 install -m0644 docs/*/man/*.1 %{buildroot}%{_mandir}/man1/ # Install man pages
@@ -294,7 +284,7 @@
 %python_alternative %{_mandir}/man1/pyhtmlizer.1%{?ext_man}
 %python_alternative %{_mandir}/man1/trial.1%{?ext_man}
 %{python_sitelib}/twisted
-%{python_sitelib}/Twisted-%{version}*-info
+%{python_sitelib}/twisted-%{version}*-info
 
 %if 0%{?suse_version} > 1500
 %files -n %{name}-doc

++++++ no-cython_test_exception_raiser.patch ++++++
--- /var/tmp/diff_new_pack.OWjuFS/_old  2023-11-23 21:38:51.835548135 +0100
+++ /var/tmp/diff_new_pack.OWjuFS/_new  2023-11-23 21:38:51.839548283 +0100
@@ -2,12 +2,12 @@
  src/twisted/test/test_failure.py |    3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
 
-Index: Twisted-22.10.0/src/twisted/test/test_failure.py
+Index: twisted-23.10.0/src/twisted/test/test_failure.py
 ===================================================================
---- Twisted-22.10.0.orig/src/twisted/test/test_failure.py
-+++ Twisted-22.10.0/src/twisted/test/test_failure.py
-@@ -16,7 +16,8 @@ from io import StringIO
- from traceback import FrameSummary
+--- twisted-23.10.0.orig/src/twisted/test/test_failure.py
++++ twisted-23.10.0/src/twisted/test/test_failure.py
+@@ -18,7 +18,8 @@ from types import TracebackType
+ from typing import Any, Generator
  from unittest import skipIf
  
 -from cython_test_exception_raiser import raiser  # type: ignore[import]

++++++ remove-dependency-version-upper-bounds.patch ++++++
--- /var/tmp/diff_new_pack.OWjuFS/_old  2023-11-23 21:38:51.863549167 +0100
+++ /var/tmp/diff_new_pack.OWjuFS/_new  2023-11-23 21:38:51.867549314 +0100
@@ -1,19 +1,16 @@
-Index: Twisted-22.10.0/setup.cfg
+Index: twisted-23.10.0/pyproject.toml
 ===================================================================
---- Twisted-22.10.0.orig/setup.cfg
-+++ Twisted-22.10.0/setup.cfg
-@@ -72,10 +72,10 @@ serial =
-       pyserial >= 3.0
-       pywin32 != 226; platform_system == "Windows"
- http2 = 
--      h2 >= 3.0, < 5.0
--      priority >= 1.1.0, < 2.0
-+      h2 >= 3.0
-+      priority >= 1.1.0
- contextvars = 
--      contextvars >= 2.4, < 3; python_version < "3.7"
-+      contextvars >= 2.4; python_version < "3.7"
- all_non_platform = 
-       %(test)s
-       %(tls)s
+--- twisted-23.10.0.orig/pyproject.toml
++++ twisted-23.10.0/pyproject.toml
+@@ -95,8 +95,8 @@ serial = [
+ ]
+ 
+ http2 = [
+-    "h2 >= 3.0, < 5.0",
+-    "priority >= 1.1.0, < 2.0",
++    "h2 >= 3.0",
++    "priority >= 1.1.0",
+ ]
+ 
+ all-non-platform = [
 

Reply via email to