Description of problem: I'm doing some work on sagemath in Rawhide. While building, I see warnings about scipy from python 3.8: /usr/lib64/python3.8/site-packages/scipy/optimize/_shgo.py:495: SyntaxWarning: "is" with a literal. Did you mean "=="? if cons['type'] is 'ineq': /usr/lib64/python3.8/site-packages/scipy/optimize/_shgo.py:743: SyntaxWarning: "is not" with a literal. Did you mean "!="? if len(self.X_min) is not 0: I don't yet know if these warnings will be shown to the user at runtime. Version-Release number of selected component (if applicable): python3-scipy-1.2.1-7.fc32 How reproducible: Always Steps to Reproduce: 1. Build sagemath 2. 3. Actual results: The warnings shown above are emitted. Expected results: No warnings. Additional info:
Fixed upstream in https://github.com/scipy/scipy/commit/2b3ed615b9d869194680496b52e9c884a2666e35
1.3.1 still has this: /usr/lib64/python3.8/site-packages/scipy/io/netcdf.py:770: SyntaxWarning: "is not" with a literal. Did you mean "!="? /usr/lib64/python3.8/site-packages/scipy/optimize/_shgo.py:495: SyntaxWarning: "is" with a literal. Did you mean "=="? /usr/lib64/python3.8/site-packages/scipy/optimize/_shgo.py:743: SyntaxWarning: "is not" with a literal. Did you mean "!="?
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.
FEDORA-2020-db20d9bcc9 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-db20d9bcc9
scipy-1.4.1-1.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-db20d9bcc9
scipy-1.4.1-1.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.