it would be nice if this could be upgraded to the current upstream version (12.1.2).
Control: retitle -1 python-irc: New upstream version 15.0.5 On 2016-11-28 upstream released version “15.0.5”.
Hi, The package was split up in several packages. That's why I did not update it. Now python-irc needs a lot of packages that are not part of Debian. This is what I understood. Regards,herbert
Hi, python-irc was split in several packages and needs a lot of packages that are not part of Debian. It is what I understood. That's why I did not updated it. Regards, Herbert
‘python-irc’ version “15.0.5” declares many dependencies. A quick glance at the metadata, and the dependency tree of indirect dependencies, reveals that at least these distributions are required to build, test, and install the version “15.0.5”: * inflect * jaraco.classes * jaraco.collections * jaraco.functools (>=1.5) * jaraco.itertools (>=1.8) * jaraco.logging * jaraco.stream * jaraco.text * more-itertools * more-itertools * pytest (>=2.8) * pytz * setuptools-scm (>=1.9) * six (>=1.7.0) * tempora (>=1.6) Some are already in Debian, many are not.
if I might bump this bug report. Next week, the current version will be 5 years old, and it misses some intersting features, like the support for asyncio. I'm pretty sure there's a simple way to package all the modules needed by the new version of irc. Best regards, Celelibi
The upstream project released version 18.0.0 on 2019-12-19 <URL:https://python-irc.readthedocs.io/en/latest/history.html>.
Control: outlook -1 0 Control: retitle -1 python-irc: New upstream version 20.0.0 Control: clone -1 -2 Control: retitle -2 RFP: python3-jaraco.logging -- Functions to integrate argparse with logging — Python 3 Control: reassign -2 wnpp Control: clone -1 -3 Control: retitle -3 RFP: python3-jaraco.stream -- Functions for handling streaming data — Python 3 Control: reassign -3 wnpp Control: clone -1 -4 Control: retitle -4 RFP: python3-sphinx-rst-linker -- Sphinx extension for custom URL replacement — Python 3 Control: reassign -4 wnpp The recent upstream versions depend on additional Python libraries that are not yet packaged in Debian. Thanks for asking. This is tracked in Debian bug#783396. As described in that bug report, many new dependencies have arisen for the upstream ‘irc’ library in recent versions. I am creating new WNPP bug reports for the dependencies that are not yet in Debian.
Control: block -1 1010782 1010783 1010784 Control: summary 1010782 Upstream source for this package is published at https://pypi.org/project/jaraco.logging/ Control: outlook 1010782 Control: summary 1010783 Upstream source for this package is published at https://pypi.org/project/jaraco.stream/ Control: outlook 1010783 Control: summary 1010784 Upstream source for this package is published at https://pypi.org/project/rst.linker/ Control: outlook 1010784 Those dependencies will need to be packaged before this bug can be fixed.
Control: submitter 1010782 ! Control: submitter 1010783 ! Control: submitter 1010784 !
An apparent bug is crashing the test suite; this has been reported upstream at <URL: https://github.com/jaraco/irc/issues/246>. The latest upstream source release is version “20.5.0”, I am updating the title of this Debian bug report. With the new dependencies now packaged for Debian, the blocking bug reports have been closed; the only apparent blocker is the upstream test suite failure.
Howdy Alexandre, This test case failure is evident in the Salsa build output at <URL: https://salsa.debian.org/bignose/pkg-python-irc/-/jobs/10484709#L1357>. I have included the test failure output in my bug report upstream, hopefully they can correct what we might have wrong or fix the bug. Until then, can you please investigate to see whether it's a bug we can patch? (I don't want to disable the test case, its failure seems relevant to the installed package and we want the bug actually fixed.)
Hi, I spent half an our on this :-) It seems the code was doing something awful even before and the action is now plainly forbidden with modern Python. Here's my proposal:--- a/irc/tests/test_client_aio.py +++ b/irc/tests/test_client_aio.py @@ -13,21 +13,13 @@ return mock_create_connection -@contextlib.contextmanager -def suppress_issue_197(): - with warnings.catch_warnings(): - warnings.filterwarnings('ignore', 'There is no current event loop') - yield - - def test_privmsg_sends_msg(): # create dummy transport, protocol mock_transport = MagicMock() mock_protocol = MagicMock() # connect to dummy server - with suppress_issue_197(): - loop = asyncio.get_event_loop() + loop = asyncio.new_event_loop() loop.create_connection = make_mocked_create_connection( mock_transport, mock_protocol ) irc/bot.py . [ 2%] irc/client.py .... [ 14%] irc/dict.py . [ 17%] irc/events.py . [ 20%] irc/features.py ... [ 29%] irc/message.py .. [ 35%] irc/modes.py ... [ 44%] irc/strings.py .. [ 50%] irc/tests/test_bot.py ............ [ 85%] irc/tests/test_client.py .... [ 97%] irc/tests/test_client_aio.py . [100%] ======================= 34 passed, 2 deselected in 0.79s ======================= Le ven. 16 oct. 2026 à 04:15, Ben Finney <bignose@debian.org> a écrit :
Oh, not long at all then :-D Thank you for the implementation. Unfortunately the patch output was incorrectly formatted (did your text editor mangle it? you might want to check whether it removes leading spaces, that are syntactically significant in a `diff` output; or maybe some other change was at fault). I have created a patch file based on this, and committed it with you as “Author” field. The test suite passes correctly now. <URL: https://salsa.debian.org/bignose/pkg-python-irc/-/commit/3999497b63307f919427938f205efdd58397ca1e> I have updated the upstream bug report to describe this <URL: https://github.com/jaraco/irc/issues/246#issuecomment-6241767382>, let's see whether they agree. In the meantime this is a patch in Debian packaging that allows progress to the upstream version.
The upstream documentation needs to be built from source, and installed in a new binary package. The upstream source (currently version “20.5.0”) includes documentation source and a Sphinx build configuration. We need to build this, and create a new binary package. The new binary package ‘python-irc-doc’ will contain the library documentation. Adding this new binary package will require that the next Debian release will be to “experimental” suite.
Control: block -1 by 1151194 The upstream Sphinx configuration requires an extension, ‘jaraco.packaging’, that is currently not packaged for Debian. I have reported (bug#1151194) an Intent To Package for that, and this bug's resolution is blocked by that one.
We believe that the bug you reported is fixed in the latest version of
python-irc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 783396@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Finney <bignose@debian.org> (supplier of updated python-irc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 23 Oct 2026 12:26:18 +1100
Source: python-irc
Architecture: source
Version: 20.5.0+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Ben Finney <bignose@debian.org>
Changed-By: Ben Finney <bignose@debian.org>
Closes: 783396 1085923 1138707 1150253
Changes:
python-irc (20.5.0+dfsg1-1) unstable; urgency=medium
.
* The “Muhammad al-Ghamdi” release.
.
[ Ben Finney ]
* New upstream version.
Highlights since previous release:
* Support for Python 3.8 and later.
* New `irc.client.Reactor` class replaces `IRC` class name.
* Separate DCC functionality to `DCCConnection` class.
* `NickMask` now returns `None` (instead of error) when missing attributes.
* `schedule` module now uses timestamp-aware times by default.
* Allow text encodings different from UTF-8.
* New (optional) asynchronous implementation.
* Support for SASL authentication.
Closes: bug#783396. Thanks to Daniel Baumann for the report.
Closes: bug#1085923. Thanks to Graham Inggs for the report.
Closes: bug#1138707. Thanks to Chris Malton for the report.
Closes: bug#1150253. Thanks to Alexandre Detiste for the report.
* Migrate to ‘main’ branch as default for packaging repository.
* debian/control:
* Declare conformance to “Standards-Version: 4.7.4”.
* Declare Debhelper compatibility level 14.
* Update the project homepage.
* Enable smoke test of installed Python library in AutoPkgTest.
* Remove superfluous declaration of “Rules-Requires-Root: no”.
* Remove superfluous declaration of “Priority: optional”.
* Mark a build dependency as needed only for built package check.
* Switch to ‘pyproject’ build system.
* debian/upstream/metadata:
* Remove obsolete field from DEP-12 metadata.
* Record the upstream documentation URL.
* debian/README.source:
* Document our preferred VCS collaboration strategy.
* Document policy on use of Generative AI.
* debian/watch:
* Declare that upstream releases have no OpenPGP signature.
* debian/source/lintian-overrides:
* Override false positive Lintian check for VCS-* field names.
* Override false positive Lintian check for IETF copyright conditions.
* Override false positive check for upstream release OpenPGP signature.
* debian/rules:
* Explicitly disable legacy “single-binary” DebHelper behaviour.
* debian/patches/*:
* Remove patches incorporated or obsolete upstream.
* debian/patches/specify-package-data.patch:
* Specify package data files to install.
* debian/patches/remove-tracking-from-documentation.patch:
* Remove tracking images from documentation.
* debian/patches/remove-tidelift-tracking-banner.patch:
* Remove tracking banner from documentation.
* debian/patches/correct-python3-shebang-in-example-scripts.patch:
* Correct shebang for Python 3 example scripts.
* debian/python3-irc.lintian-overrides:
* Override a false positive for documentation that is actually a data file.
.
[ Alexandre Detiste ]
* debian/patches/remove-broken-test-context-manager.patch:
* Remove a context manager that is breaking upstream test cases.
Checksums-Sha1:
03b9f4a84269a6baed38d93bc16b923d930fb4cf 2605 python-irc_20.5.0+dfsg1-1.dsc
fc5d47aedf0344942fdb8c553decefc4b3a9fe2b 46976 python-irc_20.5.0+dfsg1.orig.tar.xz
8bd35e81cb7d5f234c34b59edfe723a42520da71 230152 python-irc_20.5.0+dfsg1-1.debian.tar.xz
6bf9578fd616ae39c72b092dd94644d468af0406 7041 python-irc_20.5.0+dfsg1-1_amd64.buildinfo
Checksums-Sha256:
1f1f7b9b53399b11a95a5a9b113ab5b54bf85275aeb431c05b98ea57dd035cb6 2605 python-irc_20.5.0+dfsg1-1.dsc
875e3978e02cf45a40e34067e025fb6c5725ddce0019a5833332adb9fa594f26 46976 python-irc_20.5.0+dfsg1.orig.tar.xz
a55bad1570d9d2be7e3f8d627aab404a219a09b1205f74294cfcbc3da2d2705e 230152 python-irc_20.5.0+dfsg1-1.debian.tar.xz
e2814267a23d26afb423469aeb0a37b96eae9ea5c262cc13c4307a471905d218 7041 python-irc_20.5.0+dfsg1-1_amd64.buildinfo
Files:
b6661fd851bfdf9d7e03e8d76724d085 2605 python optional python-irc_20.5.0+dfsg1-1.dsc
4bd8a45906a4a808a459ca832c9ba130 46976 python optional python-irc_20.5.0+dfsg1.orig.tar.xz
b458b1413887082120e5a0f4a105f803 230152 python optional python-irc_20.5.0+dfsg1-1.debian.tar.xz
6740700a820d5cd620a5d73ee63259cb 7041 python optional python-irc_20.5.0+dfsg1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEXfQ3Ydd+6BMR2Ur+B+hY8vqvVjgFAmrazdYACgkQB+hY8vqv
Vjhpdw//XfWJBCAtzMBi6othEXs9bdAucKhDniz4TU1f997VKsY7rV8fYiglTIT1
vudJZEzQzi5L2mC4/6TVheK9m5k5mMuDFwAmFjINUDIdGmZs2CzLZ/p+tyhmWmFn
CMO9xp7gZtTjK4w4/sDDytmlbABvWfVzxffcJFjpQh0ZRDpZIJNLwHd8GDUDTWHo
7cIBxwAJvjEFi9+06zQ4Jb5oB34jyoQUE+tM+nedv0tJnAPTw3SyMbht/sl6NP9+
Hp5KPa+VJo8O3uT5lkn5+F/cdgAfdM8D3bwYl/J8y64JGomZ6zOiq1U64nkgL7OX
eiJeQlWRVSrDXyjB/+dFmeSFX+pjW6+LU6cE0Uxhvehs6/p7Bdre6BPZjnC99/IX
jPYrLe7vyenw+YBYGDFKDHY8XSVA72PnDSxKoQbS0UK5ODSPpyEbNxsQbBur/q2v
UecttFzlvZCl7bX1dRq2u17vdMiYT0TaHlTY6JMCG5++yiheE/OJNgfhbD+wpNf8
7Ssmlh0Xq8nCSOK2BPLaUkzUvjNebkqpw9QMgoJJRlxe3FbjJaHz5rR8uQbnkavY
s9iK2XCipHEX57rN3aBVD8JKoEOmN4Ex9PAlYkvOFlZ7JSGB+3ZJNsM/JSDReK9I
+aSxxTHe/6W3TKTHMCCkhs141+U/GwA2kP7lD60NlVjyyco+5EI=
=+QI4
-----END PGP SIGNATURE-----