Description of problem: python-typeshed is outdated. For example in python 3.8 appears additional parameter for Path.unlink(missing_ok=True), which is not represented in python-typeshed. And mypy generate error for valid python 3.9 script. In actual git repo this problem is solved Version-Release number of selected component (if applicable): rpm -q python-typeshed-0.1-0.20191011git2.fc34.noarch python-typeshed-0.1-0.20191011git2.fc34.noarch How reproducible: Steps to Reproduce: $ cat << EOF > test.py from pathlib import Path test = Path('test/path') test.unlink(missing_ok=True) EOF $ mypy test.py Actual results: test.py:3: error: Unexpected keyword argument "missing_ok" for "unlink" of "Path" Found 1 error in 1 file (checked 1 source file) Expected results: No error
Upstream recommends that we retire python-typeshed and let mypy use it's own copy. I'm pushing updates to that effect.
FEDORA-2021-41e6df0405 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-41e6df0405
FEDORA-2021-8e55112d44 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8e55112d44
FEDORA-2021-41e6df0405 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-41e6df0405` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-41e6df0405 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-8e55112d44 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8e55112d44` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8e55112d44 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-41e6df0405 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-8e55112d44 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.