Package: twisted / 25.5.0-4

Metadata

Package Version Patches format
twisted 25.5.0-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
debian hacks/Sphinx Set intersphinx_mapping for py3.patch | (download)

docs/conf.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 sphinx: set intersphinx_mapping for 'py3'

Use local copies of object.inv for building documentation.

debian hacks/Security Fix vulnerable example of PYTHONPATH.patch | (download)

docs/core/howto/quotes.rst | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 security: fix vulnerable example of pythonpath

Modify the PYTHONPATH variable within the HOWTO section so it's less
insecure while usage.

debian hacks/Sphinx Adjust setup of sys.path.insert.patch | (download)

docs/conf.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 sphinx: adjust setup of sys.path.insert

Adjust the import path in the Sphinx configuration file to match the new
source files location (src/).

tests/Tests Fix ckeygen test writing to stderr.patch | (download)

src/twisted/conch/test/test_ckeygen.py | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 tests: fix ckeygen test writing to stderr

Improve test process which writes on stderr which will fail within the
Debian autopkgtest environment otherwise.

debian hacks/Try exec ing ckeygen3 if ckeygen was not found.patch | (download)

src/twisted/conch/test/test_ckeygen.py | 17 13 + 4 - 0 !
1 file changed, 13 insertions(+), 4 deletions(-)

 try exec'ing ckeygen3 if ckeygen was not found

The ckeygen binary is named ckeygen3 "now".

documentation/docs Don t depend on git stuff.patch | (download)

docs/conf.py | 30 15 + 15 - 0 !
1 file changed, 15 insertions(+), 15 deletions(-)

 docs: don't depend on git stuff

In preparation for the build of the documentation the system tries to
detect the Git status, we don't build within a Git tree and therefore
the build will fail. Ignoring all that Git thingy and use a static link
to the upstream source.

documentation/docs conf.py Don t use intersphinx within pydoctor_args.patch | (download)

docs/conf.py | 3 2 + 1 - 0 !
setup.cfg | 22 11 + 11 - 0 !
2 files changed, 13 insertions(+), 12 deletions(-)

 docs/conf.py: don't use --intersphinx within 'pydoctor_args'

This option requires access to the internet which isn't allowed while
package build.
Further more the requests library doesn't allow access to local
available files so using the wanted objects.inv files will need more
effort to make this usable. Also currently only a few of this files are
included in packages.

documentation/docs conf.py Adjust the intersphinx mapping.patch | (download)

docs/conf.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 docs/conf.py: adjust the intersphinx mapping

We can't use a mapping to resources outside the build.

tests/Testing Ignore test around git tooling.patch | (download)

src/twisted/python/test/test_release.py | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 testing: ignore test around git tooling

We build based on extracted data from an tarball, therefore the git
checking functions can't work and we place simply a static link to the
upstream data.

tests/Test Ignore test_failure.py file.patch | (download)

src/twisted/test/ignore_test_failure.py | 1035 1035 + 0 - 0 !
src/twisted/test/test_failure.py | 1035 0 + 1035 - 0 !
2 files changed, 1035 insertions(+), 1035 deletions(-)

 test: ignore test_failure.py file

This test file requires the library cython_test_exception_raiser which isn't
packaged yet.

tests/Tests Ignore test_listingModulesAlreadyImport.patch | (download)

src/twisted/test/test_modules.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 tests: ignore test_listingmodulesalreadyimport

Don't proceed this test for now, it fails with an error message we can
ignore.

debian hacks/Drop dependency on typing_extensions.patch | (download)

pyproject.toml | 3 1 + 2 - 0 !
src/twisted/_threads/_pool.py | 2 1 + 1 - 0 !
src/twisted/application/runner/test/test_pidfile.py | 2 1 + 1 - 0 !
src/twisted/conch/checkers.py | 2 1 + 1 - 0 !
src/twisted/conch/ssh/keys.py | 2 1 + 1 - 0 !
src/twisted/conch/ssh/transport.py | 2 1 + 1 - 0 !
src/twisted/conch/test/test_ckeygen.py | 2 1 + 1 - 0 !
src/twisted/internet/_signals.py | 2 1 + 1 - 0 !
src/twisted/internet/address.py | 2 1 + 1 - 0 !
src/twisted/internet/defer.py | 2 1 + 1 - 0 !
src/twisted/internet/tcp.py | 4 2 + 2 - 0 !
src/twisted/internet/test/test_base.py | 2 1 + 1 - 0 !
src/twisted/internet/test/test_defer_await.py | 2 1 + 1 - 0 !
src/twisted/internet/test/test_reactormixins.py | 2 1 + 1 - 0 !
src/twisted/internet/test/test_testing.py | 2 1 + 1 - 0 !
src/twisted/internet/testing.py | 2 1 + 1 - 0 !
src/twisted/internet/threads.py | 2 1 + 1 - 0 !
src/twisted/names/test/test_hosts.py | 2 1 + 1 - 0 !
src/twisted/positioning/test/test_nmea.py | 2 1 + 1 - 0 !
src/twisted/protocols/haproxy/_v2parser.py | 2 1 + 1 - 0 !
src/twisted/python/deprecate.py | 2 1 + 1 - 0 !
src/twisted/python/filepath.py | 2 1 + 1 - 0 !
src/twisted/python/test/strategies.py | 2 1 + 1 - 0 !
src/twisted/python/test/test_url.py | 2 1 + 1 - 0 !
src/twisted/python/threadpool.py | 2 1 + 1 - 0 !
src/twisted/python/zippath.py | 2 1 + 1 - 0 !
src/twisted/test/test_defer.py | 2 1 + 1 - 0 !
src/twisted/test/test_formmethod.py | 2 1 + 1 - 0 !
src/twisted/test/test_lockfile.py | 2 1 + 1 - 0 !
src/twisted/test/test_log.py | 2 1 + 1 - 0 !
src/twisted/test/test_modules.py | 2 1 + 1 - 0 !
src/twisted/test/test_monkey.py | 2 1 + 1 - 0 !
src/twisted/test/test_paths.py | 2 1 + 1 - 0 !
src/twisted/test/test_persisted.py | 2 1 + 1 - 0 !
src/twisted/test/test_randbytes.py | 2 1 + 1 - 0 !
src/twisted/test/test_rebuild.py | 2 1 + 1 - 0 !
src/twisted/trial/_asynctest.py | 2 1 + 1 - 0 !
src/twisted/trial/_dist/test/matchers.py | 2 1 + 1 - 0 !
src/twisted/trial/_dist/worker.py | 2 1 + 1 - 0 !
src/twisted/trial/_dist/workerreporter.py | 2 1 + 1 - 0 !
src/twisted/trial/_synctest.py | 2 1 + 1 - 0 !
src/twisted/trial/reporter.py | 2 1 + 1 - 0 !
src/twisted/trial/runner.py | 2 1 + 1 - 0 !
src/twisted/trial/util.py | 2 1 + 1 - 0 !
src/twisted/web/static.py | 2 1 + 1 - 0 !
src/twisted/web/test/test_xml.py | 2 1 + 1 - 0 !
tox.ini | 1 0 + 1 - 0 !
47 files changed, 47 insertions(+), 49 deletions(-)

 drop dependency on typing_extensions

All the bits we need are available in Python 3.11.0. Upstream uses
typing_extensions to support older Pythons.

debian hacks/reproducible docs.patch | (download)

docs/conf.py | 6 1 + 5 - 0 !
1 file changed, 1 insertion(+), 5 deletions(-)

 don't embed date in documentation

Build reproducibly, we don't need the date.

Bug-Debian: https://bugs.debian.org/1034499

tests/skip test_sendFileDescriptorTriggersPauseProducing.patch | (download)

src/twisted/internet/test/test_unix.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 skip test_sendfiledescriptortriggerspauseproducing

Fails in Debian CI under LXC (only on AMD64?)