Description of problem: Running ipa-server-install on Fedora rawhide with Python 3.8, I now see SyntaxWarning: "is not" with a literal. Did you mean "!="? Version-Release number of selected component (if applicable): python3-ipaclient-4.8.1-2.fc32.noarch How reproducible: Deterministic in each new container but I only see it during the first invocation. Steps to Reproduce: 1. ipa-server-install Actual results: # ipa-server-install /usr/lib/python3.8/site-packages/SSSDConfig/ipachangeconf.py:399: SyntaxWarning: "is not" with a literal. Did you mean "!="? if len(sectopts) is not 0: /usr/lib/python3.8/site-packages/ipaclient/install/ipachangeconf.py:478: SyntaxWarning: "is not" with a literal. Did you mean "!="? if len(sectopts) is not 0: The log file for this installation can be found in /var/log/ipaserver-install.log ============================================================================== This program will set up the FreeIPA Server. Version 4.8.1 Expected results: # ipa-server-install The log file for this installation can be found in /var/log/ipaserver-install.log ============================================================================== This program will set up the FreeIPA Server. Version 4.8.1 Additional info:
The other warning was filed as 1747894 against sssd.
Upstream ticket: https://pagure.io/freeipa/issue/8057
Fixed upstream master: https://pagure.io/freeipa/c/02262ac7cfa52926fd0c943ddf6e96269e90e218
There are few more: /usr/lib/python3.8/site-packages/ipaserver/plugins/config.py:506: SyntaxWarning: "is" with a literal. Did you mean "=="? if entry_attrs['ipasearchrecordslimit'] is 0: /usr/lib/python3.8/site-packages/ipaserver/plugins/config.py:511: SyntaxWarning: "is" with a literal. Did you mean "=="? if entry_attrs['ipasearchtimelimit'] is 0:
Fixed upstream ipa-4-8: https://pagure.io/freeipa/c/79b9d59674e08250e8dd060ed3f1e9e56dd3ae38
Hi Lukas, thanks, I'll fix them this afternoon.
Or, rather, Flo has already done it: https://github.com/freeipa/freeipa/pull/3614
Fixed upstream master: https://pagure.io/freeipa/c/4a437a3c422ee8a7b3dfee9a90abc2d9cc9e7990
Fixed upstream master: https://pagure.io/freeipa/c/8d2125f654268fa2b80c86af3b51b63fa02f6a69 https://pagure.io/freeipa/c/0fc4b8c25cb4f1ee49cbf9b47610168b24a9ee56 https://pagure.io/freeipa/c/0d7eb0a972b3031d7f28f71b1a768395a8127853
Fixed upstream ipa-4-8: https://pagure.io/freeipa/c/129adb40626a1b91269d71cc8f21d193f1e65c8c
Fixed upstream ipa-4-8: https://pagure.io/freeipa/c/576e2ce855e3cc8ae31752ecba0f3c5114e5bf7a
Fix upstream: ipa-4-8: https://pagure.io/freeipa/c/70302ab6f2051235df8f10d22cf2ae03688e4e98 https://pagure.io/freeipa/c/4c17a9b9dbff30dc412bafdc54ac9832f021c37b
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.