Jason R. Coombs
Jason R. Coombs
Thanks for the feedback. I've skimmed over it but haven't the time right now to digest it. Regardless, I'm grateful for the assistance and look forward to reading the proposal...
Looks like this issue goes back to 2013 (python/mypy#175).
Adding `mypy_path` doesn't seem to help: ``` draft $ cat mypy.ini [mypy] plugins=mypy_zope:plugin mypy_path=libs draft $ env PYTHONPATH=libs venv/bin/python -m mypy interface.py interface.py:1: error: Skipping analyzing 'zope.interface.interface': found module but...
I even tried using an absolute path to `libs` in the `mypy_path` directive, but that produced the same results.
I also tried setting `MYPY_PATH=libs` in the environment, but that was no help either.
I'm not trying to provide stubs, only trying to consume them from mypy-zope when mypy-zope is not installed in system-site-packages (only available on sys.path). I'm pretty sure it's an upstream...
Would you like a Dockerfile that implements the repro in the OP?
Here's the Dockerfile: ``` from jaraco/multipy-tox RUN echo "[mypy]\nplugins=mypy_zope:plugin" > mypy.ini RUN echo "from zope.interface.interface import Interface\nclass X(Interface):\n pass" > interface.py RUN pip install mypy-zope RUN pip uninstall -y mypy-zope...
Oh, gosh. Yeah, I was making that assumption. Fortunately, that assumption has held for the trivial repos against which I'm relying on it currently, but it'll surely break when that's...
@casperdcl Would you care to comment on this request?