Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-limnoria for openSUSE:Factory
checked in at 2025-01-03 14:18:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-limnoria (Old)
and /work/SRC/openSUSE:Factory/.python-limnoria.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-limnoria"
Fri Jan 3 14:18:04 2025 rev:33 rq:1234588 version:2024.10.19
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-limnoria/python-limnoria.changes
2023-10-22 21:02:12.878064264 +0200
+++
/work/SRC/openSUSE:Factory/.python-limnoria.new.1881/python-limnoria.changes
2025-01-03 14:18:38.605681005 +0100
@@ -1,0 +2,71 @@
+Thu Jan 2 15:40:59 UTC 2025 - Atri Bhattacharya <[email protected]>
+
+- Fix dist-info versioning by exporting the correct
+ SOURCE_DATE_EPOCH before building.
+- Revert changes from previous commit in lieu of current, better
+ fix.
+
+-------------------------------------------------------------------
+Thu Jan 2 13:25:56 UTC 2025 - Atri Bhattacharya <[email protected]>
+
+- Account for the dist-info version differing from tarball version
+ in file lists.
+
+-------------------------------------------------------------------
+Tue Dec 10 03:52:10 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Update to 2024.10.19:
+ * Add IrcState.nicksToAccount
+ * core & Channel: Add option --account to kban and iban
+ * Add support for 'account' in supybot.protocols.irc.banmask
+ * Replace makeExtBanmask with makeExtBanmasks
+ * makeExtBanmasks: Log invalid options
+ * requirements.txt: add ddate as an optional dependency for Time.ddate
+ * Socket: Fix hanging while TLS socket buffer is non-empty
+ * Debug: Remove useless shebang
+ * httpserver: Fix incorrect path joining
+ * RSS: Add support for $content/$summary_detail/$title_detail
+ * RSS: Copy $summary to $description on Atom feeds
+ * Fix recursive loop in limnoria_reset_password
+ * Geography: Add support for OSM node ids
+ * Web: Fix crash on trailing ';' in Content-Type
+ * Web: Fix crash on socket.timeout on snarfed URLs
+ * Fediverse: Catch URLErrors raised when checking webfinger support
+ * Services: Improve error on missing password or NickServ nick
+ * Changed whois provider domain to whois.iana.org
+ * RSS: Update link to feedparser
+ * ircdb.checkIgnored: return False for messages from servers
+ * RSS: Don't log tracebacks for HTTP errors
+ * Create temporary files in a temporary directory
+ * Channel: Fix error in when channel is configured but not joined
+ * Web: Need to download even more Javascript from Youtube
+ * Admin: Fix leftover state change in testPart
+ * Admin: Actually clean up test channel from configuration
+ * Fix SyntaxWarning on Python 3.12
+ * httpserver: Rewrite without the cgi module
+ * Internet: Use socket directly instead of telnetlib
+ * Unix: Disable 'crypt' command on Python >= 3.13
+ * RSS: Fix error when re-creating a feed with a different name
+ * Add per-network 'vhost' and 'vhostv6' config variables
+ * Misc: update version fetching to the new branches
+ * safeEval: Fix support for Python 3.14
+ * GPG: Import documentation removed from the Getting Started guide
+ * Cowardly refuse to ban oneself with an account extban
+ * Fall back to banning host instead of exact mask
+ * Add test the bot won't account-extban itself
+ * Added russian locale to limnoria
+ * Use cProfile instead of profile
+ * Web: Add youtu.be to Youtube's domain list
+ * plugin-doc: Prevent hyphenation of -- in command syntax
+ * Add config value supybot.reply.mores.instant.whenPrivate
+ * Fix NormalizedString serialization splitting within escape sequences.
+ * Updated russian translation based on updated messages.pot
+ * Factoids: Fix search results when single key matched
+ * Unix: Fix IPv6 formating of ping command
+ * Web: Add workaround for minified Reddit URLs
+- Switch back to PyPi tarball.
+- Switch to autosetup and pyproject macros.
+- Add patch skip-fediverse-profile-tests.patch:
+ * Skip some misbehaving tests.
+
+-------------------------------------------------------------------
Old:
----
limnoria-2023.09.24.2.tar.gz
New:
----
limnoria-2024.10.19.tar.gz
skip-fediverse-profile-tests.patch
BETA DEBUG BEGIN:
New:- Switch to autosetup and pyproject macros.
- Add patch skip-fediverse-profile-tests.patch:
* Skip some misbehaving tests.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-limnoria.spec ++++++
--- /var/tmp/diff_new_pack.dQl8TG/_old 2025-01-03 14:18:39.109701771 +0100
+++ /var/tmp/diff_new_pack.dQl8TG/_new 2025-01-03 14:18:39.113701935 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-limnoria
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,15 @@
#
-%define skip_python2 1
-%define appname limnoria
-%define srcver 2023-09-24-2
Name: python-limnoria
-Version: 2023.09.24.2
+Version: 2024.10.19
Release: 0
Summary: A modified version of Supybot (an IRC bot and framework)
License: BSD-3-Clause
-Group: Development/Languages/Python
URL: https://github.com/ProgVal/Limnoria
-Source:
https://github.com/ProgVal/Limnoria/archive/master-%{srcver}.tar.gz#/%{appname}-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/l/limnoria/limnoria-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Skip Fediverse webfinger tests that don't seem to mock
correctly
+Patch0: skip-fediverse-profile-tests.patch
# full python for sqlite3 module
BuildRequires: %pythons
BuildRequires: %{python_module PySocks}
@@ -36,11 +34,12 @@
BuildRequires: %{python_module feedparser}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module python-gnupg}
-BuildRequires: %{python_module pytz if %python-base < 3.9}
BuildRequires: %{python_module pytzdata}
# pyxmpp2-scram not available, the code actually covers the non-availability
#BuildRequires: %%{python_module pyxmpp2-scram}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module wheel}
BuildRequires: coreutils-systemd
BuildRequires: fdupes
BuildRequires: procps
@@ -56,11 +55,8 @@
Requires: python-python-gnupg
Requires: python-pytzdata
#Requires: python-pyxmpp2-scram
-%if 0%{?python_version_nodots} < 39
-Requires: python-pytz
-%endif
Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
Provides: Supybot = %{version}
Obsoletes: Supybot < 1.0
BuildArch: noarch
@@ -72,18 +68,19 @@
granularity. Numerous plugins are included.
%prep
-%setup -q -n Limnoria-master-%{srcver}
+%autosetup -p1 -n limnoria-%{version}
sed -i "1,4{/\/usr\/bin\/python/d}" plugins/Debug/plugin.py
sed -i "1,4{/\/usr\/bin\/env/d}" plugins/SedRegex/constants.py
-chmod -x supybot/plugins/*/locales/fi.po
sed -Ei "1{\@^#!/usr/bin/env python3@d}" src/scripts/limnoria_*.py
%build
-%python_build
+# Get SOURCE_DATE_EPOCH corresponding to pyproject.toml in sources
+export SOURCE_DATE_EPOCH=`date -r pyproject.toml +"%s"`
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/supybot/
for ex in supybot limnoria
do
@@ -129,7 +126,7 @@
%{python_uninstall_alternative supybot limnoria}
%files %{python_files}
-%doc README.md CONTRIBUTING.md
+%doc README.md
%license LICENSE.md
%python_alternative %{_bindir}/limnoria
%python_alternative %{_bindir}/limnoria-adduser
@@ -164,5 +161,5 @@
%python_alternative %{_mandir}/man1/supybot-test.1
%python_alternative %{_mandir}/man1/supybot-wizard.1
%{python_sitelib}/supybot/
-%{python_sitelib}/limnoria-*.egg-info
+%{python_sitelib}/limnoria-%{version}*.*-info
++++++ limnoria-2023.09.24.2.tar.gz -> limnoria-2024.10.19.tar.gz ++++++
++++ 29959 lines of diff (skipped)
++++++ skip-fediverse-profile-tests.patch ++++++
Index: limnoria-2024.10.19/plugins/Fediverse/test.py
===================================================================
--- limnoria-2024.10.19.orig/plugins/Fediverse/test.py
+++ limnoria-2024.10.19/plugins/Fediverse/test.py
@@ -33,6 +33,7 @@ import copy
import json
import functools
import contextlib
+import unittest
from multiprocessing import Manager
from supybot import conf, log, utils
@@ -155,6 +156,7 @@ class NetworklessFediverseTestCase(BaseF
list(expected_requests), [], "Less requests than expected."
)
+ @unittest.skip("broken on OBS")
def testFeaturedNone(self):
featured = {
"@context": "https://www.w3.org/ns/activitystreams",
@@ -176,6 +178,7 @@ class NetworklessFediverseTestCase(BaseF
"featured @[email protected]", "No featured statuses."
)
+ @unittest.skip("broken on OBS")
def testFeaturedSome(self):
featured = {
"@context": [
@@ -242,6 +245,7 @@ class NetworklessFediverseTestCase(BaseF
"featured @[email protected]", "This is a pinned toot"
)
+ @unittest.skip("broken on OBS")
def testProfile(self):
expected_requests = [
(HOSTMETA_URL, HOSTMETA_DATA),
@@ -255,6 +259,7 @@ class NetworklessFediverseTestCase(BaseF
"\x02someuser\x02 (@[email protected]): My Biography",
)
+ @unittest.skip("broken on OBS")
def testProfileNoHostmeta(self):
expected_requests = [
(HOSTMETA_URL, utils.web.Error("blah")),
@@ -268,6 +273,7 @@ class NetworklessFediverseTestCase(BaseF
"\x02someuser\x02 (@[email protected]): My Biography",
)
+ @unittest.skip("broken on OBS")
def testProfileSnarfer(self):
with self.mockWebfingerSupport("not called"), self.mockRequests([]):
self.assertSnarfNoResponse("aaa @[email protected] bbb")
@@ -343,6 +349,7 @@ class NetworklessFediverseTestCase(BaseF
"\x02someuser\x02 (@[email protected]): My Biography",
)
+ @unittest.skip("broken on OBS")
def testProfileUnknown(self):
expected_requests = [
(HOSTMETA_URL, HOSTMETA_DATA),
@@ -401,6 +408,7 @@ class NetworklessFediverseTestCase(BaseF
"<error: blah>: " + "@FirstAuthor I am replying to you",
)
+ @unittest.skip("broken on OBS")
def testStatuses(self):
expected_requests = [
(HOSTMETA_URL, HOSTMETA_DATA),