sopel-irc / sopel

:robot::speech_balloon: An easy-to-use and highly extensible IRC Bot framework. Formerly Willie.
https://sopel.chat
Other
950 stars 405 forks source link

"Unexpected error ('>' not supported between instances of 'str' and 'int') from ..." with URLs. #2490

Closed antdude closed 11 months ago

antdude commented 1 year ago

Description

`[11:16am] Ant> http://google.com

11:16AM URL> Unexpected error ('>' not supported between instances of 'str' and 'int') from Ant at 2023-07-12 18:16:56.918270. Message was: http://google.com

[11:17am] Ant> .version

11:17AM URL> [version] Sopel v7.1.9 | Python: 3.11.4 `

Reproduction steps

Give Sopel v7.1.9 an URL address like http://google.com.

Expected behavior

A URL visit preview without any errors.

Relevant logs

[2023-07-12 11:16:56,918] sopel.bot            ERROR    - Unexpected error ('>' not supported between instances of 'str' and 'int') from Ant at 2023-07-12 18:16:56.918270. Message was: http://google.com
Traceback (most recent call last):
  File "/home/ant/.local/lib/python3.11/site-packages/sopel/bot.py", line 763, in call_rule
    rule.execute(sopel, trigger)
  File "/home/ant/.local/lib/python3.11/site-packages/sopel/plugins/rules.py", line 1057, in execute
    exit_code = self._handler(bot, trigger)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ant/.local/lib/python3.11/site-packages/sopel/modules/url.py", line 317, in title_auto
    for url, title, domain, tinyurl in process_urls(bot, trigger, urls):
  File "/home/ant/.local/lib/python3.11/site-packages/sopel/modules/url.py", line 376, in process_urls
    if (shorten_url_length > 0) and (len(url) > shorten_url_length):
        ^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'str' and 'int'

Notes

Can't reproduce this error in https://kiwiirc.com/nextclient/irc.libera.chat/#sopel as a test. Maybe related to the recent ircd changes? Could that affect it since it was fine a few days ago?

Sopel version

7.1.9

Installation method

pip install

Python version

3.11.4

Operating system

Fedora (uname -a shows "6.3.8-100.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 01:51:54 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux").

IRCd

UnrealIRCd-6.1.1.1 according to BitchX's version results.

Relevant plugins

default plugins

dgw commented 1 year ago

shorten_url_length should never be a 'str'. We have tests to prove that, even in 7.x:

https://github.com/sopel-irc/sopel/blob/81b5e1180f2ac331263894323b7c52c8f7ab9825/test/config/test_config_types.py#L69-L87

I tested on master under Python 3.10 (issues with adding 3.11 to my local env I didn't have time to solve) and the url plugin fails to load if shorten_url_length is set to a string value.

@SnoopJ tested 7.1.9 on py3.11 for me (thanks!) and found the same behavior.

The only way I can think of for this to happen is local modifications to one or more core file(s). Or maybe if you share the [url] section of your config file, we'll learn something?

antdude commented 1 year ago

My 2/21/2022 /home/ant/.sopel/default.cfg shows this for [url] section:

[url] enable_auto_title = true exclude = exclusion_char = ! shorten_url_length = 0 enable_private_resolution = true enable_dns_resolution = true

Where else should I look?

SnoopJ commented 1 year ago

Where else should I look?

Have you made any changes to your local installation of Sopel? The next thing I'd be looking at here is seeing if the problem persists with a fresh installation (you can do that by running python3 -m pip install --force-reinstall "sopel==7.1.9" for the Python you're using to run Sopel)

antdude commented 1 year ago

Not that I remember from last year. I remember using pip --install --upgrade in the past too. I can try a reinstall, but will I have to reconfigure my Sopel?

SnoopJ commented 1 year ago

You should be able to use the same configuration file after reinstalling, it should be a transparent operation. This is just a check to make sure you're using the same 7.1.9 as what we tested.

antdude commented 1 year ago

Same problem after trying your command:

$ time python3 -m pip install --force-reinstall "sopel==7.1.9" Defaulting to user installation because normal site-packages is not writeable Collecting sopel==7.1.9 Using cached sopel-7.1.9.tar.gz (263 kB) Preparing metadata (setup.py) ... done Collecting pytz Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 2.1 MB/s eta 0:00:00 Collecting praw<6.0.0,>=4.0.0 Using cached praw-5.4.0-py2.py3-none-any.whl (94 kB) Collecting xmltodict==0.12 Using cached xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB) Collecting sqlalchemy<1.4 Using cached SQLAlchemy-1.3.24.tar.gz (6.4 MB) Preparing metadata (setup.py) ... done Collecting requests<3.0.0,>=2.24.0 Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 893.0 kB/s eta 0:00:00 Collecting urllib3<1.27 Downloading urllib3-1.26.16-py2.py3-none-any.whl (143 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.1/143.1 kB 1.7 MB/s eta 0:00:00 Collecting dnspython<3.0 Downloading dnspython-2.3.0-py3-none-any.whl (283 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.7/283.7 kB 3.1 MB/s eta 0:00:00 Collecting geoip2<5.0,>=4.0 Downloading geoip2-4.7.0-py2.py3-none-any.whl (26 kB) Collecting aiohttp<4.0.0,>=3.6.2 Downloading aiohttp-3.8.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 8.8 MB/s eta 0:00:00 Collecting maxminddb<3.0.0,>=2.3.0 Downloading maxminddb-2.4.0.tar.gz (322 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 322.1/322.1 kB 4.3 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting prawcore<0.15,>=0.14.0 Using cached prawcore-0.14.0-py2.py3-none-any.whl (15 kB) Collecting update-checker>=0.16 Using cached update_checker-0.18.0-py3-none-any.whl (7.0 kB) Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.6/199.6 kB 3.0 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 680.0 kB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 1.9 MB/s eta 0:00:00 Collecting attrs>=17.3.0 Downloading attrs-23.1.0-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 810.9 kB/s eta 0:00:00 Collecting multidict<7.0,>=4.5 Downloading multidict-6.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (117 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.4/117.4 kB 1.7 MB/s eta 0:00:00 Collecting async-timeout<5.0,>=4.0.0a3 Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting yarl<2.0,>=1.0 Downloading yarl-1.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (282 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 282.8/282.8 kB 3.7 MB/s eta 0:00:00 Collecting frozenlist>=1.1.1 Downloading frozenlist-1.4.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (250 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 250.5/250.5 kB 3.3 MB/s eta 0:00:00 Collecting aiosignal>=1.1.2 Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Using legacy 'setup.py install' for sopel, since package 'wheel' is not installed. Using legacy 'setup.py install' for sqlalchemy, since package 'wheel' is not installed. Building wheels for collected packages: maxminddb Building wheel for maxminddb (pyproject.toml) ... done Created wheel for maxminddb: filename=maxminddb-2.4.0-py2.py3-none-any.whl size=16401 sha256=4d82cdc62cf0c53e69fab1a09e1d0a8bf396c0355ceaa33ab39b064f361cdf49 Stored in directory: /home/ant/.cache/pip/wheels/9f/36/b9/512c3a4a19a7aa0246d3ed4e198784bb99e2ecbba6817d9df1 Successfully built maxminddb Installing collected packages: pytz, xmltodict, urllib3, sqlalchemy, multidict, maxminddb, idna, frozenlist, dnspython, charset-normalizer, certifi, attrs, async-timeout, yarl, requests, aiosignal, update-checker, prawcore, aiohttp, praw, geoip2, sopel Attempting uninstall: xmltodict Found existing installation: xmltodict 0.12.0 Uninstalling xmltodict-0.12.0: Successfully uninstalled xmltodict-0.12.0 Running setup.py install for sqlalchemy ... done Attempting uninstall: maxminddb Found existing installation: maxminddb 2.2.0 Uninstalling maxminddb-2.2.0: Successfully uninstalled maxminddb-2.2.0 Attempting uninstall: frozenlist Found existing installation: frozenlist 1.3.3 Uninstalling frozenlist-1.3.3: Successfully uninstalled frozenlist-1.3.3 WARNING: The script normalizer is installed in '/home/ant/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Attempting uninstall: async-timeout Found existing installation: async-timeout 4.0.2 Uninstalling async-timeout-4.0.2: Successfully uninstalled async-timeout-4.0.2 Attempting uninstall: yarl Found existing installation: yarl 1.8.2 Uninstalling yarl-1.8.2: Successfully uninstalled yarl-1.8.2 Attempting uninstall: aiosignal Found existing installation: aiosignal 1.3.1 Uninstalling aiosignal-1.3.1: Successfully uninstalled aiosignal-1.3.1 Attempting uninstall: update-checker Found existing installation: update-checker 0.18.0 Uninstalling update-checker-0.18.0: Successfully uninstalled update-checker-0.18.0 Attempting uninstall: prawcore Found existing installation: prawcore 0.14.0 Uninstalling prawcore-0.14.0: Successfully uninstalled prawcore-0.14.0 Attempting uninstall: aiohttp Found existing installation: aiohttp 3.8.3 Uninstalling aiohttp-3.8.3: Successfully uninstalled aiohttp-3.8.3 Attempting uninstall: praw Found existing installation: praw 5.4.0 Uninstalling praw-5.4.0: Successfully uninstalled praw-5.4.0 Attempting uninstall: geoip2 Found existing installation: geoip2 4.6.0 Uninstalling geoip2-4.6.0: Successfully uninstalled geoip2-4.6.0 Attempting uninstall: sopel Found existing installation: sopel 7.1.9 Uninstalling sopel-7.1.9: Successfully uninstalled sopel-7.1.9 Running setup.py install for sopel ... done Successfully installed aiohttp-3.8.4 aiosignal-1.3.1 async-timeout-4.0.2 attrs-23.1.0 certifi-2023.5.7 charset-normalizer-3.2.0 dnspython-2.3.0 frozenlist-1.4.0 geoip2-4.7.0 idna-3.4 maxminddb-2.4.0 multidict-6.0.4 praw-5.4.0 prawcore-0.14.0 pytz-2023.3 requests-2.31.0 sopel-7.1.9 sqlalchemy-1.3.24 update-checker-0.18.0 urllib3-1.26.16 xmltodict-0.12.0 yarl-1.9.2

real 0m29.716s user 0m17.810s sys 0m1.199s

Exirel commented 1 year ago

Same on my end, I really don't understand how bot.config.url.shorten_url_length can become a str without something seriously messing up with how Sopel works. When did this error start to happen? Did you install any new plugin recently?

antdude commented 1 year ago

The only changes that my friend, who runs the server, and I remember were a Kernel upgrade and ircd changes.

antdude commented 1 year ago

Question: How can I temporarily disable the URL parser for now since its error results are annoying?

Exirel commented 1 year ago

By disabling it. You can do so by modifying your configuration file yourself, or use the sopel-plugins disable command line.

In both case, you need to then restart the bot after you have made the change.

antdude commented 1 year ago

Thank you for the quick answer, Exirel. I quit my Sopel, edited and saved my ~/.sopel/default.cfg with the added "exclude = url" part, relaunched, and tested http://google.com. No errors for now since this plugin is disabled. Hopefully, we can figure out why it giving out errors when enabled.

dgw commented 1 year ago

The hardcore troubleshooting option here is to make a backup copy of your .cfg file, then use sopel-plugins enable --allow-only url (and restart Sopel), then see if the error still happens.

If the error happens even with only the url plugin enabled, there is an unexpected modification or other problem with your installation.

If the error does not happen with only the url plugin active, you can try to see if any other plugin is causing the problem by enabling them one by one (using sopel-plugins enable --allow-only pluginname) and restarting the bot + testing for the error after each plugin is enabled.

This is what I'd do if I had the error you are experiencing. Note: You can test using a second instance instead, with its own nick and config file, with tweaks to the command lines above (the -c flag).

antdude commented 1 year ago

I will try that later since I am a little busy. I am thinking of renaming my ~/.sopel and starting Sopel from scratch first to see if it still happens.

antdude commented 1 year ago

So, I renamed my ~/.sopel and started a new configuration setup with its plugins. I still saw the same error with my http://google.com test. :( So, I exited my Sopel and tried "/home/ant/.local/bin/sopel-plugins enable --allow-only url" and retested. Same errors. OK, so there is an unexpected modification or other problem with this installation as mentioned.

Now, how to figure that out. What's the correct way to uninstall all of my Sopel installation and its required packages to start clean to reinstall from scratch? Is renaming ~/.local/bin/ enough? It currently shows: $ ls bottle.py iptest3 jsonschema pip3 pygmentize sopel-plugins deepl ipython normalizer pip3.9 sopel sphobjinv iptest ipython3 pip pycache sopel-config wheel I think these are all Sopel stuff?

SnoopJ commented 1 year ago

What's the correct way to uninstall all of my Sopel installation and its required packages to start clean to reinstall from scratch?

You can run python3 -m pip uninstall sopel to uninstall Sopel itself. If you want to be extra-sure that all the files are removed, you can run python3 -m pip show sopel before uninstalling and make a note of the Location and check there after the uninstall command.

I wouldn't worry about uninstalling Sopel's dependencies, I can't see any way they would cause the issue you're seeing, and there isn't really a good way to go about the task you described (plus, it could break other things you have installed that also depend on those packages).

Personally, I run Sopel in a virtual environment, and one of the perks of doing this is that 'starting from scratch' is a matter of deleting and recreating the environment (by installing Sopel and the other packages I want), and this keeps the bot separated from other things on my system.

antdude commented 1 year ago

Wow, fast answer. Do I really need "python3 -m"? I never used those before. If I run without them, I see: $ pip uninstall sopel Found existing installation: sopel 7.1.9 Uninstalling sopel-7.1.9: Would remove: /home/ant/.local/bin/sopel /home/ant/.local/bin/sopel-config /home/ant/.local/bin/sopel-plugins /home/ant/.local/lib/python3.11/site-packages/sopel-7.1.9-py3.11.egg-info /home/ant/.local/lib/python3.11/site-packages/sopel/* Proceed (Y/n)?

They showed the same results with and without them when I compared. "python --version" and "python3 --version" both showed v3.11.4. Also:

Name: sopel Version: 7.1.9 Summary: Simple and extensible IRC bot Home-page: https://sopel.chat/ Author: dgw Author-email: dgw@technobabbl.es License: Eiffel Forum License, version 2 Location: /home/ant/.local/lib/python3.11/site-packages Requires: dnspython, geoip2, praw, pytz, requests, sqlalchemy, urllib3, xmltodict Required-by:

Do these look OK to uninstall? As for virtual environments, I'll look into them later. I'm already confused enough with one environment. :)

SnoopJ commented 1 year ago

Wow, fast answer. Do I really need "python3 -m"? I never used those before.

You don't need them, but it's a personal preference that I pass on whenever I am recommending commands. If you want to know why, this is a good summary, but the short version is that if you use python3 -m pip, you will always get the pip for whichever Python the python3 command points at. If you use pip, you run the risk that python3 and pip point at different interpreters.

Do these look OK to uninstall?

Yep, go for it :grin:

antdude commented 1 year ago

Thanks again. I guess I will start using python3 -m then! Someone should update https://sopel.chat/usage/installing/ to including that. ;)

I uninstalled sopel and its required dnspython, geoip2, praw, pytz, requests, sqlalchemy, urllib3, and xmltodict. I noticed my ~/.local/lib/ had python3.10 python3.11 python3.9. They had references to sopel. I looked for python's binaries:

$ ls -all /usr/bin/python* lrwxrwxrwx. 1 root root 9 Jun 13 06:47 /usr/bin/python -> ./python3 lrwxrwxrwx. 1 root root 9 May 26 07:15 /usr/bin/python2 -> python2.7 -rwxr-xr-x. 1 root root 15856 May 26 07:15 /usr/bin/python2.7 -rwxr-xr-x. 1 root root 1846 May 26 07:15 /usr/bin/python2.7-config lrwxrwxrwx. 1 root root 16 May 26 07:15 /usr/bin/python2-config -> python2.7-config lrwxrwxrwx. 1 root root 10 Jun 13 06:47 /usr/bin/python3 -> python3.11 -rwxr-xr-x. 1 root root 16040 Jun 13 06:47 /usr/bin/python3.11 -rwxr-xr-x. 1 root root 2559 Jul 22 2022 /usr/bin/python-argcomplete-check-easy-install-script -rwxr-xr-x. 1 root root 387 Jul 22 2022 /usr/bin/python-argcomplete-tcsh

It looks like my friend, who runs this Fedora PC, did upgrade more recently. I went ahead and deleted my local ~/.local/lib/python3*.

I noticed https://sopel.chat/usage/installing/ said sudo with "pip install sopel". I definitely do not have root and sudo access on my friend's Fedora PC. Hence, the local install. Anyways, I ran "python3 -m pip install sopel". I also delete ~/.sopel again to reconfigure from scratch and used "sopel-plugins enable --allow-only url". So, I retested and the errors still exist. I think Fedora's minor upgrades and ircd changes broke something somewhere! :( Hopefully, my new findings help?

Exirel commented 1 year ago

I'd be cautious about deleting lib and bin folders like that.

How do you run Sopel? Is there a systemd service unit? What is the exact command line used to run this? Also, can you check with your friend what sort of update did they do? How was Sopel running before? Which version of Python was used before the URL plugin started to fail?

Your system looks suspicious to me, there are too many variables and unknown to debug that on our end.

antdude commented 1 year ago

I manually run sopel with sopel -d. No systemd. He can't remember what packages he upgraded with kernel update. Sopel was first installed and configured beginning of last year.

antdude commented 1 year ago

Maybe this will help from Jul 12 14:15 log?

$ cat /var/log/dnf.log |grep python boost-python3 x86_64 1.78.0-11.fc38 fedora 96 k libcap-ng-python3 x86_64 0.8.3-5.fc38 fedora 30 k policycoreutils-python-utils noarch 3.5-1.fc38 fedora 80 k python-josepy-doc noarch 1.13.0-4.fc38 fedora 19 k python-pip-wheel noarch 22.3.1-2.fc38 fedora 1.4 M python-rpm-macros noarch 3.11-10.fc38 fedora 20 k python-setuptools-wheel noarch 65.5.1-2.fc38 fedora 715 k python-srpm-macros noarch 3.11-10.fc38 fedora 26 k python-systemd-doc x86_64 235-2.fc38 fedora 171 k python-unversioned-command noarch 3.11.4-1.fc38 updates 11 k python2-cairo x86_64 1.18.2-13.fc38 fedora 87 k python2.7 x86_64 2.7.18-31.fc38 updates 13 M python3 x86_64 3.11.4-1.fc38 updates 28 k python3-Automat noarch 22.10.0-2.fc38 fedora 82 k python3-CommonMark noarch 0.9.1-11.fc38 fedora 147 k python3-IPy noarch 1.01-6.fc38 fedora 47 k python3-abrt x86_64 2.17.1-1.fc38 updates 45 k python3-abrt-addon noarch 2.17.1-1.fc38 updates 20 k python3-acme noarch 2.6.0-1.fc38 updates 220 k python3-aiosmtpd noarch 1.4.4.post2-1.fc38 updates 325 k python3-alembic noarch 1.9.3-1.fc38 fedora 456 k python3-argcomplete noarch 2.0.0-8.fc38 updates 78 k python3-asn1crypto noarch 1.5.1-4.fc38 fedora 238 k python3-atpublic x86_64 3.1.1-2.fc38 fedora 29 k python3-attrs noarch 22.2.0-2.fc38 fedora 124 k python3-audit x86_64 3.1.1-1.fc38 updates 86 k python3-augeas noarch 1.1.0-7.fc38 fedora 35 k python3-authheaders noarch 0.15.2-1.fc38 updates 39 k python3-authres noarch 1.2.0-15.fc38 fedora 56 k python3-awscrt x86_64 0.16.21-1.fc38 updates 950 k python3-babel noarch 2.11.0-2.fc38 fedora 6.5 M python3-bcrypt x86_64 3.2.2-5.fc38 fedora 45 k python3-beaker noarch 1.12.1-1.fc38 updates 148 k python3-beautifulsoup4 noarch 4.12.2-1.fc38 updates 299 k python3-bleach noarch 4.0.0-5.fc38 fedora 62 k python3-botocore noarch 1.29.111-1.fc38 updates 6.2 M python3-brotli x86_64 1.0.9-11.fc38 fedora 320 k python3-cached_property noarch 1.5.2-9.fc38 fedora 20 k python3-cachetools noarch 5.3.0-1.fc38 fedora 38 k python3-canonicaljson noarch 2.0.0-2.fc38 updates 18 k python3-certbot noarch 2.6.0-1.fc38 updates 912 k python3-certifi noarch 2022.09.24-2.fc38 fedora 15 k python3-cffi x86_64 1.15.1-4.fc38 fedora 311 k python3-chardet noarch 5.1.0-2.fc38 fedora 303 k python3-charset-normalizer noarch 3.1.0-1.fc38 fedora 107 k python3-click noarch 8.1.3-2.fc38 fedora 238 k python3-colorama noarch 0.4.6-2.fc38 fedora 73 k python3-configargparse noarch 1.5.3-4.fc38 fedora 45 k python3-configobj noarch 5.0.8-1.fc38 fedora 84 k python3-constantly noarch 15.1.0-25.fc38 fedora 21 k python3-crypto x86_64 2.6.1-42.fc38 fedora 570 k python3-cryptography x86_64 37.0.2-8.fc38 fedora 1.2 M python3-cssselect noarch 1.1.0-4.fc38 fedora 49 k python3-dateutil noarch 1:2.8.2-5.fc38 fedora 360 k python3-dbus x86_64 1.3.2-2.fc38 fedora 157 k python3-decorator noarch 5.1.1-5.fc38 fedora 31 k python3-defusedxml noarch 0.7.1-7.fc38 fedora 60 k python3-distro noarch 1.8.0-2.fc38 fedora 49 k python3-dkimpy noarch 1.0.5-8.fc38 fedora 99 k python3-dmidecode x86_64 3.12.3-2.fc38 fedora 96 k python3-dnf noarch 4.16.1-1.fc38 updates 604 k python3-dnf-plugins-core noarch 4.4.1-1.fc38 updates 299 k python3-dnf-plugins-extras-common python3-dns noarch 2.3.0-2.fc38 fedora 555 k python3-docutils noarch 0.19-2.fc38 fedora 1.1 M python3-dotenv noarch 0.21.1-2.fc38 fedora 53 k python3-dotenv+cli noarch 0.21.1-2.fc38 fedora 9.4 k python3-falcon x86_64 4.0.0~^1.3816217-2.fc38 fedora 1.5 M python3-fasteners noarch 0.18-2.fc38 fedora 50 k python3-fb-re2 x86_64 1.0.7-11.fc38 fedora 24 k python3-firewall noarch 1.3.1-1.fc38 updates 520 k python3-flufl-bounce noarch 3.0-18.fc38 fedora 154 k python3-flufl-i18n noarch 2.0.2-11.fc38 fedora 53 k python3-flufl-lock noarch 7.1.1-2.fc38 fedora 49 k python3-frozendict noarch 2.3.5-1.fc38 fedora 28 k python3-future noarch 0.18.3-4.fc38 fedora 1.0 M python3-gobject-base x86_64 3.44.1-1.fc38 fedora 201 k python3-gobject-base-noarch noarch 3.44.1-1.fc38 fedora 195 k python3-google-api-client noarch 2:2.88.0-1.fc38 updates 4.3 M python3-google-api-core noarch 1:2.11.0-2.fc38 fedora 203 k python3-google-auth noarch 1:2.21.0-1.fc38 updates 270 k python3-google-auth-httplib2 noarch 0.1.0-5.fc38 fedora 21 k python3-googleapis-common-protos python3-gpg x86_64 1.17.1-3.fc38 fedora 296 k python3-grpcio x86_64 1.48.4-7.fc38 updates 2.2 M python3-grpcio-gcp noarch 0.2.2-10.fc38 fedora 39 k python3-grpcio-status noarch 1.48.4-7.fc38 updates 23 k python3-gssapi x86_64 1.7.3-4.fc38 fedora 572 k python3-gunicorn noarch 20.1.0-8.fc38 fedora 205 k python3-hamcrest noarch 2.0.3-2.fc38 fedora 121 k python3-hawkey x86_64 0.70.1-1.fc38 updates 107 k python3-html5lib noarch 1:1.1-11.fc38 fedora 295 k python3-httplib2 noarch 0.20.4-8.fc38 fedora 143 k python3-humanize noarch 3.13.1-6.fc38 fedora 71 k python3-i2c-tools x86_64 4.3-5.fc38 fedora 17 k python3-idna noarch 3.4-2.fc38 fedora 110 k python3-ijson noarch 3.2.0-1.fc38 updates 68 k python3-incremental noarch 22.10.0-1.fc38 fedora 47 k python3-iniparse noarch 0.5-4.fc38 fedora 56 k python3-javapackages noarch 6.1.0-7.fc38 fedora 109 k python3-jinja2 noarch 3.0.3-7.fc38 fedora 638 k python3-jmespath noarch 1.0.1-2.fc38 fedora 61 k python3-josepy noarch 1.13.0-4.fc38 fedora 83 k python3-jsonschema noarch 4.17.3-2.fc38 fedora 201 k python3-kerberos x86_64 1.3.0-18.fc38 fedora 31 k python3-koji noarch 1.33.0-1.fc38 updates 422 k python3-lazr-config noarch 2.1-22.fc38 fedora 69 k python3-lazr-delegates noarch 2.0.3-22.fc38 fedora 43 k python3-ldb x86_64 2.7.2-1.fc38 fedora 56 k python3-libcomps x86_64 0.1.18-6.fc38 fedora 47 k python3-libdnf x86_64 0.70.1-1.fc38 updates 826 k python3-librepo x86_64 1.15.1-2.fc38 fedora 51 k python3-libreport x86_64 2.17.11-1.fc38 updates 147 k python3-libs x86_64 3.11.4-1.fc38 updates 9.6 M python3-libselinux x86_64 3.5-1.fc38 fedora 197 k python3-libsemanage x86_64 3.5-2.fc38 fedora 83 k python3-libxml2 x86_64 2.10.4-1.fc38 updates 228 k python3-lxml x86_64 4.9.2-3.fc38 updates 1.4 M python3-mako noarch 1.2.3-2.fc38 fedora 219 k python3-markupsafe x86_64 2.1.2-1.fc38 fedora 30 k python3-matrix-common noarch 1.3.0-2.fc38 fedora 28 k python3-mimeparse noarch 1.6.0-23.fc38 fedora 16 k python3-msgpack x86_64 1.0.4-4.fc38 fedora 96 k python3-multidict x86_64 6.0.4-1.fc38 fedora 57 k python3-mutagen noarch 1.46.0-2.fc38 fedora 459 k python3-ndg_httpsclient noarch 0.5.1-15.fc38 fedora 70 k python3-netaddr noarch 0.8.0-11.fc38 fedora 1.6 M python3-newt x86_64 0.52.23-2.fc38 fedora 45 k python3-nftables x86_64 1:1.0.5-2.fc38 fedora 18 k python3-nose noarch 1.3.7-40.fc38 fedora 352 k python3-oauth2client noarch 4.1.3-20.fc38 fedora 187 k python3-olefile noarch 0.46-19.fc38 fedora 67 k python3-packaging noarch 23.0-1.fc38 fedora 106 k python3-parsedatetime noarch 2.6-8.fc38 fedora 106 k python3-passlib noarch 1.7.4-10.fc38 fedora 931 k python3-paste noarch 3.5.2-2.fc38 fedora 959 k python3-phonenumbers noarch 8.12.53-2.fc38 fedora 4.8 M python3-pillow x86_64 9.4.0-2.fc38 fedora 922 k python3-pip noarch 22.3.1-2.fc38 fedora 3.1 M python3-ply noarch 3.11-18.fc38 fedora 139 k python3-policycoreutils noarch 3.5-1.fc38 fedora 2.2 M python3-prettytable noarch 0.7.2-31.fc38 fedora 50 k python3-progressbar2 noarch 3.53.2-7.fc38 fedora 74 k python3-prometheus_client noarch 0.16.0-1.fc38 updates 136 k python3-prompt-toolkit noarch 3.0.36-2.fc38 fedora 878 k python3-protobuf x86_64 3.19.6-2.fc38 fedora 421 k python3-psutil x86_64 5.9.2-2.fc38 fedora 271 k python3-psycopg2 x86_64 2.9.6-1.fc38 updates 209 k python3-publicsuffix2 noarch 2.20191221-9.fc38 fedora 29 k python3-py3dns noarch 3.2.1-9.fc38 fedora 67 k python3-pyasn1 noarch 0.4.8-12.fc38 fedora 194 k python3-pyasn1-modules noarch 0.4.8-12.fc38 fedora 324 k python3-pycparser noarch 2.20-9.fc38 fedora 156 k python3-pycryptodomex x86_64 3.17.0-1.fc38 fedora 1.3 M python3-pycurl x86_64 7.45.2-3.fc38 updates 217 k python3-pygit2 x86_64 1.12.2-1.fc38 updates 251 k python3-pygments noarch 2.14.0-1.fc38 fedora 2.5 M python3-pymacaroons-pynacl noarch 0.13.0-14.fc38 fedora 68 k python3-pynacl x86_64 1.5.0-2.fc38 fedora 143 k python3-pyparsing noarch 3.0.9-3.fc38 fedora 262 k python3-pyrfc3339 noarch 1.1-14.fc38 fedora 19 k python3-pyrsistent x86_64 0.19.3-2.fc38 fedora 139 k python3-pysocks noarch 1.7.1-16.fc38 fedora 40 k python3-pyspf noarch 2.0.14-14.fc38 fedora 63 k python3-pytz noarch 2023.3-1.fc38 fedora 65 k python3-pyyaml x86_64 6.0-6.fc38 fedora 225 k python3-requests noarch 2.28.2-2.fc38 updates 155 k python3-requests+security noarch 2.28.2-2.fc38 updates 9.4 k python3-requests+socks noarch 2.28.2-2.fc38 updates 9.5 k python3-requests-download noarch 0.1.2-11.fc38 fedora 14 k python3-requests-gssapi noarch 1.2.3-7.fc38 fedora 33 k python3-requests-kerberos noarch 0.12.0-19.fc38 fedora 33 k python3-requests-toolbelt noarch 0.10.1-3.fc38 fedora 122 k python3-rich noarch 13.3.5-1.fc38 updates 592 k python3-rpm x86_64 4.18.1-3.fc38 updates 72 k python3-rpm-generators noarch 14-4.fc38 updates 30 k python3-rpmautospec noarch 0.3.5-1.fc38 fedora 69 k python3-rsa noarch 4.8-5.fc38 fedora 81 k python3-ruamel-yaml noarch 0.17.26-1.fc38 updates 294 k python3-ruamel-yaml-clib x86_64 0.2.7-1.fc38 updates 136 k python3-s3transfer noarch 0.6.1-1.fc38 updates 150 k python3-samba x86_64 2:4.18.4-0.fc38 updates 3.7 M python3-samba-dc x86_64 2:4.18.4-0.fc38 updates 429 k python3-service-identity noarch 21.1.0-14.fc38 fedora 36 k python3-setools x86_64 4.4.2-1.fc38 updates 619 k python3-setproctitle x86_64 1.2.3-3.fc38 fedora 22 k python3-setuptools noarch 65.5.1-2.fc38 fedora 1.7 M python3-shtab noarch 1.5.8-2.fc38 fedora 44 k python3-signedjson noarch 1.1.1-10.fc38 fedora 27 k python3-simplejson x86_64 3.18.3-1.fc38 fedora 166 k python3-six noarch 1.16.0-9.fc38 fedora 42 k python3-slip noarch 0.6.4-29.fc38 fedora 41 k python3-slip-dbus noarch 0.6.4-29.fc38 fedora 44 k python3-sortedcontainers noarch 2.4.0-9.fc38 fedora 62 k python3-soupsieve noarch 2.4.1-1.fc38 updates 101 k python3-sqlalchemy1.3 x86_64 1.3.24-7.fc38 fedora 2.3 M python3-sssdconfig noarch 2.9.1-1.fc38 updates 72 k python3-systemd x86_64 235-2.fc38 fedora 108 k python3-talloc x86_64 2.4.0-2.fc38 fedora 21 k python3-tdb x86_64 1.4.8-1.fc38 fedora 23 k python3-tempita noarch 0.5.2-8.fc38 fedora 46 k python3-termcolor noarch 1.1.0-30.fc38 fedora 15 k python3-tevent x86_64 0.14.1-1.fc38 fedora 18 k python3-tkinter x86_64 3.11.4-1.fc38 updates 418 k python3-treq noarch 21.5.0-6.fc38 fedora 160 k python3-twisted noarch 22.10.0-2.fc38 fedora 6.7 M python3-twisted+tls noarch 22.10.0-2.fc38 fedora 9.7 k python3-typing-extensions noarch 4.5.0-1.fc38 fedora 63 k python3-unbound x86_64 1.17.1-2.fc38 fedora 116 k python3-unpaddedbase64 noarch 2.1.0-5.fc38 fedora 16 k python3-uritemplate noarch 4.1.1-4.fc38 fedora 40 k python3-urllib3 noarch 1.26.15-1.fc38 updates 253 k python3-urllib3+socks noarch 1.26.15-1.fc38 updates 10 k python3-utils noarch 3.3.3-2.fc38 fedora 62 k python3-wcwidth noarch 0.2.5-11.fc38 fedora 47 k python3-webencodings noarch 0.5.1-20.fc38 fedora 36 k python3-websocket-client noarch 1.3.3-3.fc38 fedora 130 k python3-websockets x86_64 10.4-2.fc38 fedora 195 k python3-xlib noarch 0.33-2.fc38 fedora 357 k python3-zope-component noarch 5.0.1-4.fc38 fedora 373 k python3-zope-configuration noarch 4.4.1-2.fc38 fedora 84 k python3-zope-event noarch 4.5.0-5.fc38 fedora 17 k python3-zope-hookable x86_64 5.1.0-4.fc38 fedora 23 k python3-zope-i18nmessageid x86_64 4.0.3-28.fc38 fedora 31 k python3-zope-interface x86_64 5.5.2-2.fc38 fedora 215 k python3-zope-schema noarch 7.0.1-2.fc38 fedora 281 k sudo-python-plugin x86_64 1.9.13-2.p2.fc38 updates 52 k python3-email-validator noarch 1.1.1-9.fc38 fedora 33 k python3-immutabledict noarch 2.2.4-1.fc38 updates 14 k python3-markdown-it-py noarch 2.2.0-1.fc38 fedora 195 k python3-mdurl noarch 0.1.2-2.fc38 fedora 31 k python3-pydantic noarch 1.10.2-2.fc38 fedora 978 k python3-pyicu x86_64 2.10.2-2.fc38 fedora 351 k python3-satyr x86_64 0.42-1.fc38 fedora 45 k python3-semantic_version noarch 2.10.0-2.fc38 fedora 48 k python3-setuptools-rust noarch 1.6.0-3.fc38 updates 72 k python3-ujson x86_64 5.7.0-2.fc38 fedora 35 k 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-email-validator.noarch 1.1.1-9.fc38 will be installed 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-pydantic.noarch 1.10.2-2.fc38 will be installed 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-semantic_version.noarch 2.10.0-2.fc38 will be installed 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-ujson.x86_64 5.7.0-2.fc38 will be installed 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-immutabledict.noarch 2.2.4-1.fc38 will be installed 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-setuptools-rust.noarch 1.6.0-3.fc38 will be installed 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-matrix-common.noarch 1.2.1-2.fc37 will be upgraded 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-matrix-common.noarch 1.3.0-2.fc38 will be an upgrade 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-canonicaljson.noarch 1.6.4-1.fc37 will be upgraded 2023-07-07T11:07:26-0700 DEBUG ---> Package python3-canonicaljson.noarch 2.0.0-2.fc38 will be an upgrade python3-canonicaljson noarch 2.0.0-2.fc38 updates 18 k python3-matrix-common noarch 1.3.0-2.fc38 fedora 28 k python3-email-validator noarch 1.1.1-9.fc38 fedora 33 k python3-immutabledict noarch 2.2.4-1.fc38 updates 14 k python3-pydantic noarch 1.10.2-2.fc38 fedora 978 k python3-semantic_version noarch 2.10.0-2.fc38 fedora 48 k python3-setuptools-rust noarch 1.6.0-3.fc38 updates 72 k python3-ujson x86_64 5.7.0-2.fc38 fedora 35 k 2023-07-07T11:12:19-0700 DEBUG Upgraded: python3-canonicaljson-2.0.0-2.fc38.noarch 2023-07-07T11:12:19-0700 DEBUG Upgraded: python3-matrix-common-1.3.0-2.fc38.noarch 2023-07-07T11:12:19-0700 DEBUG Installed: python3-email-validator-1.1.1-9.fc38.noarch 2023-07-07T11:12:19-0700 DEBUG Installed: python3-immutabledict-2.2.4-1.fc38.noarch 2023-07-07T11:12:19-0700 DEBUG Installed: python3-pydantic-1.10.2-2.fc38.noarch 2023-07-07T11:12:19-0700 DEBUG Installed: python3-semantic_version-2.10.0-2.fc38.noarch 2023-07-07T11:12:19-0700 DEBUG Installed: python3-setuptools-rust-1.6.0-3.fc38.noarch 2023-07-07T11:12:19-0700 DEBUG Installed: python3-ujson-5.7.0-2.fc38.x86_64 2023-07-07T11:12:19-0700 DDEBUG /var/cache/dnf/fedora-376ef8e983c65ce0/packages/python3-semantic_version-2.10.0-2.fc38.noarch.rpm removed 2023-07-07T11:12:19-0700 DDEBUG /var/cache/dnf/fedora-376ef8e983c65ce0/packages/python3-email-validator-1.1.1-9.fc38.noarch.rpm removed 2023-07-07T11:12:19-0700 DDEBUG /var/cache/dnf/fedora-376ef8e983c65ce0/packages/python3-pydantic-1.10.2-2.fc38.noarch.rpm removed 2023-07-07T11:12:19-0700 DDEBUG /var/cache/dnf/updates-b7ba662710b98f1a/packages/python3-immutabledict-2.2.4-1.fc38.noarch.rpm removed 2023-07-07T11:12:19-0700 DDEBUG /var/cache/dnf/fedora-376ef8e983c65ce0/packages/python3-matrix-common-1.3.0-2.fc38.noarch.rpm removed 2023-07-07T11:12:19-0700 DDEBUG /var/cache/dnf/updates-b7ba662710b98f1a/packages/python3-setuptools-rust-1.6.0-3.fc38.noarch.rpm removed 2023-07-07T11:12:19-0700 DDEBUG /var/cache/dnf/updates-b7ba662710b98f1a/packages/python3-canonicaljson-2.0.0-2.fc38.noarch.rpm removed 2023-07-07T11:12:19-0700 DDEBUG /var/cache/dnf/fedora-376ef8e983c65ce0/packages/python3-ujson-5.7.0-2.fc38.x86_64.rpm removed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-Pympler.noarch 1.0.1-6.fc38 will be installed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-authlib.noarch 1.2.0-2.fc38 will be installed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-bottle.noarch 0.12.25-1.fc38 will be installed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-elementpath.noarch 3.0.2-3.fc38 will be installed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-ldap3.noarch 2.9.1-2.fc38 will be installed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-matrix-synapse-ldap3.noarch 0.2.2-2.fc38 will be installed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-pyicu.x86_64 2.10.2-2.fc38 will be installed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-pysaml2.noarch 7.1.2-2.fc38 will be installed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-xmlschema.noarch 2.0.3-2.fc38 will be installed 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-ldb.x86_64 2.6.2-1.fc37 will be upgraded 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-ldb.x86_64 2.7.2-1.fc38 will be an upgrade 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-talloc.x86_64 2.3.4-3.fc37 will be upgraded 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-talloc.x86_64 2.4.0-2.fc38 will be an upgrade 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-tdb.x86_64 1.4.7-3.fc37 will be upgraded 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-tdb.x86_64 1.4.8-1.fc38 will be an upgrade 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-tevent.x86_64 0.13.0-1.fc37 will be upgraded 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-tevent.x86_64 0.14.1-1.fc38 will be an upgrade 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-samba.x86_64 2:4.17.8-0.fc37 will be upgraded 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-samba.x86_64 2:4.18.4-0.fc38 will be an upgrade 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-samba-dc.x86_64 2:4.17.8-0.fc37 will be upgraded 2023-07-07T11:12:35-0700 DEBUG ---> Package python3-samba-dc.x86_64 2:4.18.4-0.fc38 will be an upgrade python3-ldb x86_64 2.7.2-1.fc38 fedora 56 k python3-samba x86_64 2:4.18.4-0.fc38 updates 3.7 M python3-samba-dc x86_64 2:4.18.4-0.fc38 updates 429 k python3-talloc x86_64 2.4.0-2.fc38 fedora 21 k python3-tdb x86_64 1.4.8-1.fc38 fedora 23 k python3-tevent x86_64 0.14.1-1.fc38 fedora 18 k python3-Pympler noarch 1.0.1-6.fc38 fedora 223 k python3-authlib noarch 1.2.0-2.fc38 fedora 469 k python3-bottle noarch 0.12.25-1.fc38 fedora 277 k python3-elementpath noarch 3.0.2-3.fc38 fedora 473 k python3-ldap3 noarch 2.9.1-2.fc38 fedora 662 k python3-matrix-synapse-ldap3 noarch 0.2.2-2.fc38 fedora 33 k python3-pyicu x86_64 2.10.2-2.fc38 fedora 351 k python3-pysaml2 noarch 7.1.2-2.fc38 fedora 755 k python3-xmlschema noarch 2.0.3-2.fc38 fedora 609 k 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-pyicu.x86_64 2.10.2-2.fc38 will be installed 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-ldb.x86_64 2.6.2-1.fc37 will be upgraded 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-ldb.x86_64 2.7.2-1.fc38 will be an upgrade 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-talloc.x86_64 2.3.4-3.fc37 will be upgraded 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-talloc.x86_64 2.4.0-2.fc38 will be an upgrade 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-tdb.x86_64 1.4.7-3.fc37 will be upgraded 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-tdb.x86_64 1.4.8-1.fc38 will be an upgrade 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-tevent.x86_64 0.13.0-1.fc37 will be upgraded 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-tevent.x86_64 0.14.1-1.fc38 will be an upgrade 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-samba.x86_64 2:4.17.8-0.fc37 will be upgraded 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-samba.x86_64 2:4.18.4-0.fc38 will be an upgrade 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-samba-dc.x86_64 2:4.17.8-0.fc37 will be upgraded 2023-07-07T11:12:56-0700 DEBUG ---> Package python3-samba-dc.x86_64 2:4.18.4-0.fc38 will be an upgrade python3-ldb x86_64 2.7.2-1.fc38 fedora 56 k python3-samba x86_64 2:4.18.4-0.fc38 updates 3.7 M python3-samba-dc x86_64 2:4.18.4-0.fc38 updates 429 k python3-talloc x86_64 2.4.0-2.fc38 fedora 21 k python3-tdb x86_64 1.4.8-1.fc38 fedora 23 k python3-tevent x86_64 0.14.1-1.fc38 fedora 18 k python3-pyicu x86_64 2.10.2-2.fc38 fedora 351 k File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 67, in main File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 106, in _main File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 122, in cli_run File "/usr/lib/python3.11/site-packages/dnf/cli/cli.py", line 1057, in run File "/usr/lib/python3.11/site-packages/dnf/cli/commands/install.py", line 118, in run

antdude commented 12 months ago

Maybe this will help even more: $ dnf list installed |grep python boost-python3.x86_64 1.78.0-9.fc37 @fedora libcap-ng-python3.x86_64 0.8.3-3.fc37 @fedora policycoreutils-python-utils.noarch 3.5-1.fc37 @updates python-josepy-doc.noarch 1.13.0-3.fc37 @fedora python-pip-wheel.noarch 22.2.2-3.fc37 @updates python-rpm-macros.noarch 3.11-6.fc37 @updates python-setuptools-wheel.noarch 62.6.0-3.fc37 @updates python-srpm-macros.noarch 3.11-6.fc37 @updates python-systemd-doc.x86_64 235-1.fc37 @fedora python-unversioned-command.noarch 3.11.4-1.fc37 @updates python2-cairo.x86_64 1.18.2-12.fc37 @fedora python2-dns.noarch 1.16.0-14.fc33 @fedora python2-httplib2.noarch 0.18.1-6.fc33 @fedora python2-olefile.noarch 0.46-12.fc33 @fedora python2-pillow.x86_64 6.2.2-7.fc33 @updates python2-setuptools.noarch 41.2.0-3.fc33 @fedora python2-six.noarch 1.15.0-2.fc33 @fedora python2.7.x86_64 2.7.18-27.fc37 @updates python3.x86_64 3.11.4-1.fc37 @updates python3-Automat.noarch 22.10.0-1.fc37 @updates python3-CommonMark.noarch 0.9.1-10.fc37 @fedora python3-IPy.noarch 1.01-5.fc37 @fedora python3-abrt.x86_64 2.17.1-1.fc37 @updates python3-abrt-addon.noarch 2.17.1-1.fc37 @updates python3-acme.noarch 2.6.0-1.fc37 @updates python3-aiosmtpd.noarch 1.4.4.post2-1.fc37 @updates python3-alembic.noarch 1.7.7-3.fc37 @fedora python3-argcomplete.noarch 2.0.0-4.fc37 @fedora python3-asn1crypto.noarch 1.5.1-3.fc37 @fedora python3-atpublic.x86_64 3.1.1-1.fc37 @updates python3-attrs.noarch 22.1.0-1.fc37 @fedora python3-audit.x86_64 3.1.1-1.fc37 @updates python3-augeas.noarch 1.1.0-6.fc37 @fedora python3-authheaders.noarch 0.15.2-1.fc37 @updates python3-authres.noarch 1.2.0-14.fc37 @fedora python3-awscrt.x86_64 0.16.21-1.fc37 @updates python3-babel.noarch 2.10.3-3.fc37 @fedora python3-bcrypt.x86_64 3.2.2-4.fc37 @fedora python3-beaker.noarch 1.12.1-1.fc37 @updates python3-beautifulsoup4.noarch 4.12.2-1.fc37 @updates python3-bleach.noarch 4.0.0-4.fc37 @fedora python3-botocore.noarch 1.29.53-1.fc37 @updates python3-brotli.x86_64 1.0.9-9.fc37 @fedora python3-cached_property.noarch 1.5.2-8.fc37 @fedora python3-cachetools.noarch 5.2.0-3.fc37 @fedora python3-cairo.x86_64 1.21.0-3.fc37 @fedora python3-canonicaljson.noarch 2.0.0-2.fc38 @updates python3-certbot.noarch 2.6.0-1.fc37 @updates python3-certifi.noarch 2021.10.8-3.fc37 @fedora python3-cffi.x86_64 1.15.1-2.fc37 @fedora python3-chardet.noarch 5.1.0-1.fc37 @updates python3-charset-normalizer.noarch 2.1.0-2.fc37 @fedora python3-click.noarch 8.1.3-1.fc37 @fedora python3-colorama.noarch 0.4.6-1.fc37 @updates python3-configargparse.noarch 1.5.3-3.fc37 @fedora python3-configobj.noarch 5.0.6-29.fc37 @fedora python3-constantly.noarch 15.1.0-23.fc37 @fedora python3-crypto.x86_64 2.6.1-41.fc37 @fedora python3-cryptography.x86_64 37.0.2-5.fc37 @updates python3-cssselect.noarch 1.1.0-3.fc37 @fedora python3-dateutil.noarch 1:2.8.2-4.fc37 @fedora python3-dbus.x86_64 1.3.2-1.fc37 @updates python3-decorator.noarch 5.1.1-4.fc37 @fedora python3-defusedxml.noarch 0.7.1-6.fc37 @fedora python3-distro.noarch 1.7.0-3.fc37 @fedora python3-dkimpy.noarch 1.0.5-7.fc37 @fedora python3-dmidecode.x86_64 3.12.2-29.20210630gitf0a089a1.fc37 @fedora python3-dnf.noarch 4.15.1-1.fc37 @updates python3-dnf-plugins-core.noarch 4.4.1-1.fc37 @updates python3-dnf-plugins-extras-common.noarch 4.1.0-1.fc37 @updates python3-dns.noarch 2.2.1-4.fc37 @fedora python3-docutils.noarch 0.18.1-2.fc37 @fedora python3-dotenv.noarch 0.19.2-4.fc37 @fedora python3-dotenv+cli.noarch 0.19.2-4.fc37 @fedora python3-email-validator.noarch 1.1.1-9.fc38 @fedora python3-falcon.x86_64 4.0.0~^1.3816217-1.fc37 @fedora python3-fasteners.noarch 0.18-1.fc37 @fedora python3-fb-re2.x86_64 1.0.7-10.fc37 @fedora python3-firewall.noarch 1.2.5-1.fc37 @updates python3-flufl-bounce.noarch 3.0-17.fc37 @fedora python3-flufl-i18n.noarch 2.0.2-10.fc37 @fedora python3-flufl-lock.noarch 6.0-1.fc37 @fedora python3-frozendict.noarch 1.2-23.fc37 @fedora python3-future.noarch 0.18.3-3.fc37 @updates python3-gobject.x86_64 3.42.2-2.fc37 @fedora python3-gobject-base.x86_64 3.42.2-2.fc37 @fedora python3-gobject-base-noarch.noarch 3.42.2-2.fc37 @fedora python3-google-api-client.noarch 2:2.88.0-1.fc37 @updates python3-google-api-core.noarch 2.8.2-4.fc37 @fedora python3-google-auth.noarch 1:2.21.0-1.fc37 @updates python3-google-auth-httplib2.noarch 0.1.0-4.fc37 @fedora python3-googleapis-common-protos.noarch 1.56.4-2.fc37 @fedora python3-gpg.x86_64 1.17.0-4.fc37 @fedora python3-grpcio.x86_64 1.48.4-7.fc37 @updates python3-grpcio-gcp.noarch 0.2.2-9.fc37 @fedora python3-grpcio-status.noarch 1.48.4-7.fc37 @updates python3-gssapi.x86_64 1.7.3-3.fc37 @fedora python3-gunicorn.noarch 20.1.0-7.fc37 @fedora python3-hamcrest.noarch 1.9.0-21.fc37 @fedora python3-hawkey.x86_64 0.70.1-1.fc37 @updates python3-html5lib.noarch 1:1.1-10.fc37 @fedora python3-httplib2.noarch 0.20.4-6.fc37 @fedora python3-humanize.noarch 3.13.1-5.fc37 @fedora python3-hyperlink.noarch 21.0.0-9.fc37 @fedora python3-i2c-tools.x86_64 4.3-4.fc37 @fedora python3-idna.noarch 3.3-4.fc37 @fedora python3-ijson.noarch 3.1.4-5.fc37 @fedora python3-immutabledict.noarch 2.2.4-1.fc38 @updates python3-incremental.noarch 22.10.0-1.fc37 @updates python3-iniparse.noarch 0.5-3.fc37 @fedora python3-javapackages.noarch 6.1.0-4.fc37 @fedora python3-jinja2.noarch 3.0.3-5.fc37 @fedora python3-jmespath.noarch 1.0.0-5.fc37 @fedora python3-josepy.noarch 1.13.0-3.fc37 @fedora python3-jsonschema.noarch 4.10.0-1.fc37 @fedora python3-kerberos.x86_64 1.3.0-17.fc37 @fedora python3-koji.noarch 1.33.0-1.fc37 @updates python3-lazr-config.noarch 2.1-21.fc37 @fedora python3-lazr-delegates.noarch 2.0.3-21.fc37 @fedora python3-ldb.x86_64 2.6.2-1.fc37 @updates python3-libcomps.x86_64 0.1.18-4.fc37 @fedora python3-libdnf.x86_64 0.70.1-1.fc37 @updates python3-librepo.x86_64 1.15.1-1.fc37 @updates python3-libreport.x86_64 2.17.11-1.fc37 @updates python3-libs.x86_64 3.11.4-1.fc37 @updates python3-libselinux.x86_64 3.5-1.fc37 @updates python3-libsemanage.x86_64 3.5-2.fc37 @updates python3-libvirt.x86_64 8.6.0-1.fc37 @fedora python3-libxml2.x86_64 2.10.4-1.fc37 @updates python3-lxml.x86_64 4.9.1-1.fc37 @fedora python3-mako.noarch 1.1.4-9.fc37 @fedora python3-markupsafe.x86_64 2.1.1-3.fc37 @fedora python3-matrix-common.noarch 1.3.0-2.fc38 @fedora python3-mimeparse.noarch 1.6.0-22.fc37 @fedora python3-msgpack.x86_64 1.0.4-3.fc37 @fedora python3-multidict.x86_64 6.0.4-1.fc37 @updates python3-mutagen.noarch 1.45.1-8.fc37 @fedora python3-ndg_httpsclient.noarch 0.5.1-14.fc37 @fedora python3-netaddr.noarch 0.8.0-10.fc37 @fedora python3-newt.x86_64 0.52.23-1.fc37 @updates python3-nftables.x86_64 1:1.0.4-3.fc37 @fedora python3-nose.noarch 1.3.7-39.fc37 @fedora python3-oauth2client.noarch 4.1.3-19.fc37 @fedora python3-olefile.noarch 0.46-18.fc37 @fedora python3-packaging.noarch 21.3-6.fc37 @fedora python3-parsedatetime.noarch 2.6-7.fc37 @fedora python3-passlib.noarch 1.7.4-8.fc37 @fedora python3-paste.noarch 3.5.0-8.fc37 @fedora python3-phonenumbers.noarch 8.12.6-8.fc37 @fedora python3-pillow.x86_64 9.2.0-2.fc37 @fedora python3-pip.noarch 22.2.2-3.fc37 @updates python3-ply.noarch 3.11-17.fc37 @fedora python3-policycoreutils.noarch 3.5-1.fc37 @updates python3-prettytable.noarch 0.7.2-30.fc37 @fedora python3-progressbar2.noarch 3.53.2-6.fc37 @fedora python3-prometheus_client.noarch 0.13.1-3.fc37 @fedora python3-prompt-toolkit.noarch 3.0.29-3.fc37 @fedora python3-protobuf.x86_64 3.19.6-1.fc37 @updates python3-psutil.x86_64 5.9.1-1.fc37 @fedora python3-psycopg2.x86_64 2.9.6-1.fc37 @updates python3-publicsuffix2.noarch 2.20191221-8.fc37 @fedora python3-py3dns.noarch 3.2.1-8.fc37 @fedora python3-pyOpenSSL.noarch 21.0.0-4.fc37 @fedora python3-pyasn1.noarch 0.4.8-11.fc37 @fedora python3-pyasn1-modules.noarch 0.4.8-11.fc37 @fedora python3-pycparser.noarch 2.20-8.fc37 @fedora python3-pycryptodomex.x86_64 3.17.0-1.fc37 @updates python3-pycurl.x86_64 7.45.1-4.fc37 @fedora python3-pydantic.noarch 1.10.2-2.fc38 @fedora python3-pygit2.x86_64 1.7.1-4.fc37 @fedora python3-pygments.noarch 2.12.0-4.fc37 @fedora python3-pymacaroons-pynacl.noarch 0.13.0-13.fc37 @fedora python3-pynacl.x86_64 1.4.0-8.fc37 @fedora python3-pyparsing.noarch 3.0.9-2.fc37 @fedora python3-pyrfc3339.noarch 1.1-13.fc37 @fedora python3-pyrsistent.x86_64 0.18.1-4.fc37 @fedora python3-pysocks.noarch 1.7.1-15.fc37 @fedora python3-pyspf.noarch 2.0.14-13.fc37 @fedora python3-pytz.noarch 2023.3-1.fc37 @updates python3-pyyaml.x86_64 6.0-5.fc37 @fedora python3-requests.noarch 2.28.1-3.fc37 @updates python3-requests+security.noarch 2.28.1-3.fc37 @updates python3-requests+socks.noarch 2.28.1-3.fc37 @updates python3-requests-download.noarch 0.1.2-10.fc37 @fedora python3-requests-gssapi.noarch 1.2.3-6.fc37 @fedora python3-requests-kerberos.noarch 0.12.0-18.fc37 @fedora python3-requests-toolbelt.noarch 0.9.1-19.fc37 @fedora python3-rich.noarch 12.5.1-2.fc37 @fedora python3-rpm.x86_64 4.18.1-2.fc37 @updates python3-rpm-generators.noarch 13-3.fc37 @updates python3-rpmautospec.noarch 0.3.5-1.fc37 @updates python3-rsa.noarch 4.8-4.fc37 @fedora python3-ruamel-yaml.noarch 0.17.26-1.fc37 @updates python3-ruamel-yaml-clib.x86_64 0.2.7-1.fc37 @updates python3-s3transfer.noarch 0.6.1-1.fc37 @updates python3-samba.x86_64 2:4.17.8-0.fc37 @updates python3-samba-dc.x86_64 2:4.17.8-0.fc37 @updates python3-semantic_version.noarch 2.10.0-2.fc38 @fedora python3-service-identity.noarch 21.1.0-13.fc37 @fedora python3-setools.x86_64 4.4.0-9.fc37 @fedora python3-setproctitle.x86_64 1.2.3-2.fc37 @fedora python3-setuptools.noarch 62.6.0-3.fc37 @updates python3-setuptools-rust.noarch 1.6.0-3.fc38 @updates python3-shtab.noarch 1.5.8-1.fc37 @updates python3-signedjson.noarch 1.1.1-9.fc37 @fedora python3-simplejson.x86_64 3.17.6-4.fc37 @fedora python3-six.noarch 1.16.0-8.fc37 @fedora python3-slip.noarch 0.6.4-28.fc37 @fedora python3-slip-dbus.noarch 0.6.4-28.fc37 @fedora python3-sortedcontainers.noarch 2.4.0-8.fc37 @fedora python3-soupsieve.noarch 2.3.2.post1-7.fc37 @fedora python3-sqlalchemy1.3.x86_64 1.3.24-6.fc37 @fedora python3-sssdconfig.noarch 2.9.1-1.fc37 @updates python3-systemd.x86_64 235-1.fc37 @fedora python3-talloc.x86_64 2.3.4-3.fc37 @fedora python3-tdb.x86_64 1.4.7-3.fc37 @fedora python3-tempita.noarch 0.5.2-7.fc37 @fedora python3-termcolor.noarch 1.1.0-29.fc37 @fedora python3-tevent.x86_64 0.13.0-1.fc37 @fedora python3-tkinter.x86_64 3.11.4-1.fc37 @updates python3-treq.noarch 21.5.0-5.fc37 @fedora python3-twisted.noarch 22.4.0-3.fc37 @fedora python3-twisted+tls.noarch 22.4.0-3.fc37 @fedora python3-typing-extensions.noarch 4.4.0-2.fc37 @updates python3-ujson.x86_64 5.7.0-2.fc38 @fedora python3-unbound.x86_64 1.17.1-1.fc37 @updates python3-unpaddedbase64.noarch 2.1.0-4.fc37 @fedora python3-uritemplate.noarch 4.1.1-3.fc37 @fedora python3-urllib3.noarch 1.26.15-1.fc37 @updates python3-urllib3+socks.noarch 1.26.15-1.fc37 @updates python3-utils.noarch 3.1.0-3.fc37 @fedora python3-wcwidth.noarch 0.2.5-10.fc37 @fedora python3-webencodings.noarch 0.5.1-19.fc37 @fedora python3-websocket-client.noarch 1.3.3-2.fc37 @fedora python3-websockets.x86_64 10.3-3.fc37 @fedora python3-xlib.noarch 0.33-1.fc37 @updates python3-zope-component.noarch 5.0.1-3.fc37 @fedora python3-zope-configuration.noarch 4.4.0-6.fc37 @fedora python3-zope-event.noarch 4.5.0-3.fc37~bootstrap.1 @fedora python3-zope-hookable.x86_64 5.1.0-1.fc37 @fedora python3-zope-i18nmessageid.x86_64 4.0.3-27.fc37 @fedora python3-zope-interface.x86_64 5.4.0-8.fc37 @fedora python3-zope-schema.noarch 6.2.0-4.fc37 @fedora sudo-python-plugin.x86_64 1.9.13-1.p2.fc37 @updates

dgw commented 12 months ago

Maybe this will help even more:

Well, we don't actually know if your Sopel install is using Python modules from the system packages or not, so it doesn't really tell us much to list them—other than that the package versions installed using python -m pip before don't always match what's installed for the system Python.

This issue is honestly as likely as not to remain in limbo until we declare 8.0 stable, at which point we'll ask you to retest—and hope it's magically fixed, because I think the rest of us are pretty well stumped without being able to poke around the problematic environment directly. 🤷‍♂️

antdude commented 12 months ago

Maybe I can try a v8 prerelease to see if it fixes it since v7.1.9's URL feature is broken?

dgw commented 11 months ago

If you haven't yet, it couldn't hurt.

antdude commented 11 months ago

Do I use the instructions as shown in https://sopel.chat/usage/installing/ Latest source section?

dgw commented 11 months ago

Those instructions are correct for the git clone method, but the "tarball" download link is wrong. (Will be fixed by sopel-irc/sopel.chat#42 — see https://deploy-preview-42--sopel.netlify.app/usage/installing/#latest-source for preview.)

You can also directly pip install git+https://github.com/sopel-irc/sopel.git@master.

antdude commented 11 months ago

I got a little farther after I uninstalled the old sopel pip package, renamed ~/.sopel to ~/.sopelOLD, and python -m pip install git+https://github.com/sopel-irc/sopel.git@master to start clean again. http://google.com didn't show error this time, but my github link test showed the error again:

[10:26pm] * Ant works on sopel
[10:26pm] Ant> .version
10:26PM URL> [version] Sopel v8.0.0.dev0 | Python: 3.11.4
[10:27pm] Ant> yay
[10:27pm] Ant> http://google.com
10:27PM URL> [url] Google | google.com
[10:27pm] Ant> woooooooooooah
[10:27pm] Ant> https://github.com/sopel-irc/sopel/issues/2490
10:27PM URL> [url] "Unexpected error ('>' not supported between instances of 'str' and
          'int') from ..." with URLs. · Issue #2490 · sopel-irc/sopel · GitHub |
          github.com
[10:27pm] Ant> awwwwwwwwwwwwwwwww
SnoopJ commented 11 months ago

but my github link test showed the error again:

That doesn't look like an error, it looks like the title of this PR. The plugin appears to be functioning correctly now, something must have been broken in your old install.

antdude commented 11 months ago

Ooh, good catch Snoopj. Silly me. I tried http://github.com and saw "[url] GitHub: Let’s build from here · GitHub | github.com" without errors. It looks like v8 fixed it?

antdude commented 11 months ago

So far, no errors with URL. I even reused my old ~/.sopel backup from v7.1.9 for v8.0 dev0. :) I wonder what changed in v8.0 dev0 to make those errors stop.

Also, this is even more interesting on my year old updated, 64-bit Debian bullseye v11 PC that never had pip and Sopel before. I did a clean install of sopel, pip, etc. (couldn't use python -m pip method for some reason so I said meh, just wanted to see what happens). It also showed the same original link parser errors I had on my friend's old PC's sopel. Both PCs' Linuxes' remote bash shell access were not using sudo for sopel and pip.

dgw commented 11 months ago

Let's call this resolved for now. If it reoccurs in 8.0 after we cut a stable release, we can reopen.

antdude commented 11 months ago

Sounds good to me. Do you happen to know what changed in v8 to fix these errors?

dgw commented 11 months ago

Not really worth the time digging through diffs. If it's not broken any more, great, don't look the gift horse in its mouth! 😁