Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60293 - [mypy] 0.630-1 is missing mypy_extensions

Attached to Project: Community Packages
Opened by Zdeněk Bělehrádek (Lyco) - Wednesday, 03 October 2018, 13:38 GMT
Last edited by Morten Linderud (Foxboron) - Sunday, 07 October 2018, 11:19 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: when mypy 0.630-1 is run, it immediately throws an exception (see below). Downgrading to mypy-0.620-2 fixes the problem.


Traceback:

$ mypy
Traceback (most recent call last):
File "/usr/bin/mypy", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3112, in <module>
@_call_aside
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3096, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3125, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 895, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'mypy_extensions<0.5.0,>=0.4.0' distribution was not found and is required by mypy

Steps to reproduce:

Run freshly installed mypy without any arguments (ar any argument - it does not matter).
This task depends upon

Closed by  Morten Linderud (Foxboron)
Sunday, 07 October 2018, 11:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with mypy version 0.630-2
Comment by Richard Neumann (rne) - Sunday, 07 October 2018, 00:14 GMT
Obviously, community/python-mypy_extensions is missing as a dependency.
Installing it solved the issue for me.

Loading...