Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.7.0: pytest is failing #54

Open
kloczek opened this issue Dec 25, 2021 · 3 comments
Open

0.7.0: pytest is failing #54

kloczek opened this issue Dec 25, 2021 · 3 comments

Comments

@kloczek
Copy link

kloczek commented Dec 25, 2021

I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

  • python3 -sBm build -w
  • install .whl file in </install/prefix>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

I'm assuming that probably sometbing is missing in my env but I cannot find out what exactly it is
Here is pytest output:

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-trio-typing-0.7.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-trio-typing-0.7.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --pyargs trio_typing
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0
collected 16 items

trio_typing/_tests/test_runtime.py .                                                                                                                                 [  6%]
trio_typing/_tests/test_typecheck.py FFFFFFFFFFFFFFF                                                                                                                 [100%]

================================================================================= FAILURES =================================================================================
____________________________________________________________________________ testAsyncGenerator ____________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test:1:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
_________________________________________________________________________ testAsyncGeneratorUtils __________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test:53:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
_______________________________________________________________________________ testAsyncCM ________________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test:79:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
______________________________________________________________________________ testAsyncCM_36 ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test:99:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
_______________________________________________________________________________ testOpenType _______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/open-mode.test:1:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
_______________________________________________________________________________ testOutcome ________________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/outcome.test:1:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
______________________________________________________________________________ testTaskStatus ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/taskstatus.test:1:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
_________________________________________________________________________ testTaskStatus_NoPlugin __________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/taskstatus.test:30:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
/usr/lib/python3.8/site-packages/mypy/test/helpers.py:117: in assert_string_arrays_equal
    raise AssertionError(msg)
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/taskstatus.test line 30
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:6: error: Argument 1 to "started" of "TaskStatus" has incompatible type "str"; expected "int" (diff)
  main:14: error: Argument "task_status" to "child" has incompatible type "TaskStatus[None]"; expected "TaskStatus[int]" (diff)
  main:18: error: Argument 1 to "start_soon" of "Nursery" has incompatible type "Callable[[int, NamedArg(TaskStatus[int], 'task_status')], Coroutine[Any, Any, None]]"; expected "Union[Callable[[], Awaitable[Any]], Callable[[Any], Awaitable[Any]], Callable[[Any, Any], Awaitable[Any]], Callable[[Any, Any, Any], Awaitable[Any]], Callable[[Any, Any, Any, Any], Awaitable[Any]], Callable[[VarArg(Any)], Awaitable[Any]]]" (diff)
  main:26: note: Revealed type is "builtins.int*" (diff)
  main:27: note: Revealed type is "None"        (diff)
Actual:
  main:1: error: Skipping analyzing "trio": found module but no type hints or library stubs (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:2: error: Cannot find implementation or library stub for module named "trio_typing" (diff)
  main:26: note: Revealed type is "Any"         (diff)
  main:27: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:6: error: Argument 1 to "started" of "TaskStatus" has incompatible ...
  A: main:1: error: Skipping analyzing "trio": found module but no type hints...
          ^
______________________________________________________________________________ testTrioBasic _______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:1:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
__________________________________________________________________________ testTrioBasic_NoPlugin __________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:30:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
/usr/lib/python3.8/site-packages/mypy/test/helpers.py:117: in assert_string_arrays_equal
    raise AssertionError(msg)
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test line 30
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:13: note: Revealed type is "trio.Nursery*" (diff)
  main:14: note: Revealed type is "trio.CancelScope" (diff)
  main:24: note: Revealed type is "builtins.list*[builtins.float]" (diff)
  main:27: note: Revealed type is "Any"         (diff)
Actual:
  main:1: error: Skipping analyzing "trio": found module but no type hints or library stubs (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:2: error: Skipping analyzing "trio.testing": found module but no type hints or library stubs (diff)
  main:13: note: Revealed type is "Any"         (diff)
  main:14: note: Revealed type is "Any"         (diff)
  main:24: note: Revealed type is "Any"         (diff)
  main:27: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:13: note: Revealed type is "trio.Nursery*"...
  A: main:1: error: Skipping analyzing "trio": found module but no type hints...
           ^
______________________________________________________________________________ testExceptions ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:59:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
______________________________________________________________________________ testOverloaded ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:82:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
_______________________________________________________________________________ testChannels _______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:97:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
___________________________________________________________________________ testSubprocessPaths ____________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:107:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
_____________________________________________________________________________ testOptionalCwd ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:115:
/usr/lib/python3.8/site-packages/mypy/build.py:425: in load_plugins_from_config
    module = importlib.import_module(module_name)
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
    ???
<frozen importlib._bootstrap>:991: in _find_and_load
    ???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:671: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:843: in exec_module
    ???
<frozen importlib._bootstrap>:219: in _call_with_frames_removed
    ???
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/plugin.py:16: in <module>
    from mypy.types import (
E   ImportError: cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)

During handling of the above exception, another exception occurred:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:44: in run_case
    result = build.build(
/usr/lib/python3.8/site-packages/mypy/build.py:179: in build
    result = _build(
/usr/lib/python3.8/site-packages/mypy/build.py:229: in _build
    plugin, snapshot = load_plugins(options, errors, stdout, extra_plugins)
/usr/lib/python3.8/site-packages/mypy/build.py:475: in load_plugins
    custom_plugins, snapshot = load_plugins_from_config(options, errors, stdout)
/usr/lib/python3.8/site-packages/mypy/build.py:427: in load_plugins_from_config
    plugin_error('Error importing plugin "{}": {}'.format(plugin_path, exc))
/usr/lib/python3.8/site-packages/mypy/build.py:397: in plugin_error
    errors.raise_error(use_stdout=False)
/usr/lib/python3.8/site-packages/mypy/errors.py:502: in raise_error
    raise CompileError(self.new_messages(),
E   mypy.errors.CompileError: /dev/null:1: error: Error importing plugin "trio_typing.plugin": cannot import name 'TypeVarLikeType' from 'mypy.types' (/usr/lib/python3.8/site-packages/mypy/types.py)
========================================================================= short test summary info ==========================================================================
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testAsyncGenerator
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testAsyncGeneratorUtils
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testAsyncCM
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testAsyncCM_36
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testOpenType
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testOutcome
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testTaskStatus
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testTaskStatus_NoPlugin
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testTrioBasic
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testTrioBasic_NoPlugin
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testExceptions
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testOverloaded
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testChannels
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testSubprocessPaths
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::testOptionalCwd
====================================================================== 15 failed, 1 passed in 26.72s =======================================================================

I'm using mypy 0.910.

@kloczek
Copy link
Author

kloczek commented Apr 11, 2022

gentle ping 😃

@oremanj
Copy link
Member

oremanj commented Apr 19, 2022

mypy 0.920 made a backward-incompatible change in the plugin API; we have updated accordingly, so you will need to use a mypy >= 0.920 with current versions of trio-typing. This dependency is indicated in setup.py, but by request we don't depend on mypy by default so you need to pip install trio-typing[mypy] to get it. If you can't upgrade mypy, you can use trio-typing v0.6.0 which supports mypy <= 0.910.

@kloczek
Copy link
Author

kloczek commented Apr 19, 2022

I have alredy packaged mypy 0.940 and retested 0.7.0. Here is the reesult

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-trio-typing-0.7.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-trio-typing-0.7.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --pyargs trio_typing
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.1, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0
plugins: datadir-1.3.1, regressions-2.3.1, timeout-2.1.0
collected 16 items

trio_typing/_tests/test_runtime.py .                                                                                                                                 [  6%]
trio_typing/_tests/test_typecheck.py FFFFFFFFFFFFFFF                                                                                                                 [100%]

================================================================================= FAILURES =================================================================================
____________________________________________________________________________ testAsyncGenerator ____________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test:1:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test line 1
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:18: error: Incompatible types (yield_ argument "None", declared YieldType "Tuple[int, int]") (diff)
  main:19: note: Revealed type is "builtins.float*" (diff)
  main:20: error: Incompatible types (yield_ argument "int", declared YieldType "Tuple[int, int]") (diff)
  main:21: note: Revealed type is "builtins.float*" (diff)
  main:23: note: Revealed type is "builtins.float*" (diff)
  main:24: error: Incompatible types (yield_from_ argument type "arange[float]", expected iterable type "AsyncIterable[Tuple[int, int]]") (diff)
  main:27: error: Incompatible types (yield_from_ argument type "arange[Tuple[int, float]]", expected iterable type "AsyncIterable[Tuple[int, int]]") (diff)
  main:30: note: Revealed type is "builtins.str*" (diff)
  main:39: error: Missing positional arguments "x", "y" in call to "test_agen" (diff)
  main:40: note: Revealed type is "trio_typing.CompatAsyncGenerator[Tuple[builtins.int, builtins.int], builtins.float, builtins.str]" (diff)
  main:41: error: Argument 1 to "test_agen" has incompatible type "str"; expected "int" (diff)
  main:43: note: Revealed type is "trio_typing.CompatAsyncGenerator[Tuple[builtins.int, builtins.int], builtins.float, builtins.str]" (diff)
  main:45: note: Revealed type is "Tuple[builtins.int, builtins.int]" (diff)
  main:47: note: Revealed type is "Tuple[builtins.int, builtins.int]" (diff)
  main:48: error: Argument 1 to "asend" of "CompatAsyncGenerator" has incompatible type "None"; expected "float" (diff)
  main:49: note: Revealed type is "Tuple[builtins.int, builtins.int]" (diff)
  main:50: note: Revealed type is "Tuple[Tuple[builtins.int, builtins.int], builtins.float*]" (diff)
Actual:
  main:2: error: Skipping analyzing "async_generator": module is installed, but missing library stubs or py.typed marker (diff)
  main:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:3: error: Cannot find implementation or library stub for module named "trio_typing" (diff)
  main:19: note: Revealed type is "Any"         (diff)
  main:21: note: Revealed type is "Any"         (diff)
  main:23: note: Revealed type is "Any"         (diff)
  main:30: note: Revealed type is "Any"         (diff)
  main:40: note: Revealed type is "Any"         (diff)
  main:43: note: Revealed type is "Any"         (diff)
  main:45: note: Revealed type is "Any"         (diff)
  main:47: note: Revealed type is "Any"         (diff)
  main:49: note: Revealed type is "Any"         (diff)
  main:50: note: Revealed type is "Tuple[<nothing>, <nothing>]" (diff)

Alignment of first line difference:
  E: main:18: error: Incompatible types (yield_ argument "None", declared Yie...
  A: main:2: error: Skipping analyzing "async_generator": module is installed...
          ^
_________________________________________________________________________ testAsyncGeneratorUtils __________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test:53:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test line 53
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:11: error: Argument 1 has incompatible type "Iterator[<nothing>]"; expected "AsyncGenerator[Any, Any]" (diff)
  main:12: note: Revealed type is "Any"         (diff)
  main:18: note: Revealed type is "trio.abc.AsyncResource*" (diff)
  main:24: note: Revealed type is "typing.AsyncGenerator*[builtins.int, None]" (diff)
Actual:
  main:1: error: Skipping analyzing "async_generator": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:2: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:12: note: Revealed type is "Any"         (diff)
  main:18: note: Revealed type is "Any"         (diff)
  main:24: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:11: error: Argument 1 has incompatible type "Iterator[<nothing>]"; ...
  A: main:1: error: Skipping analyzing "async_generator": module is installed...
           ^
_______________________________________________________________________________ testAsyncCM ________________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test:79:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test line 79
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:16: note: Revealed type is "trio.Nursery*" (diff)
  main:17: error: Argument 1 to "open_nursery_cancel_in" has incompatible type "None"; expected "float" (diff)
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:3: error: Cannot find implementation or library stub for module named "trio_typing" (diff)
  main:4: error: Skipping analyzing "async_generator": module is installed, but missing library stubs or py.typed marker (diff)
  main:16: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:16: note: Revealed type is "trio.Nursery*"...
  A: main:1: error: Skipping analyzing "trio": module is installed, but missi...
           ^
______________________________________________________________________________ testAsyncCM_36 ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test:99:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/async_generator.test line 99
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:13: note: Revealed type is "trio.Nursery*" (diff)
  main:14: error: Argument 1 to "open_nursery_cancel_in" has incompatible type "None"; expected "float" (diff)
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:3: error: Skipping analyzing "async_generator": module is installed, but missing library stubs or py.typed marker (diff)
  main:13: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:13: note: Revealed type is "trio.Nursery*"...
  A: main:1: error: Skipping analyzing "trio": module is installed, but missi...
           ^
_______________________________________________________________________________ testOpenType _______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/open-mode.test:1:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/open-mode.test line 1
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:3: note: Revealed type is "trio.AsyncTextFileIO*" (diff)
  main:4: note: Revealed type is "trio.AsyncBufferedFileIO*" (diff)
  main:5: note: Revealed type is "trio.AsyncFileIO*" (diff)
  main:6: note: Revealed type is "trio.AsyncFileIO*" (diff)
  main:7: note: Revealed type is "trio.AsyncTextFileIO*" (diff)
  main:8: note: Revealed type is "trio.AsyncIO*[Any]" (diff)
  main:10: note: Revealed type is "trio.AsyncTextIO" (diff)
  main:11: note: Revealed type is "trio.AsyncBinaryIO" (diff)
  main:12: note: Revealed type is "trio.AsyncTextIO" (diff)
  main:13: note: Revealed type is "trio.AsyncIO[Any]" (diff)
  main:16: note: Revealed type is "trio.AsyncTextFileIO*" (diff)
  main:17: note: Revealed type is "trio.AsyncBufferedFileIO*" (diff)
  main:18: note: Revealed type is "trio.AsyncFileIO*" (diff)
  main:19: note: Revealed type is "trio.AsyncFileIO*" (diff)
  main:20: note: Revealed type is "trio.AsyncTextFileIO*" (diff)
  main:21: note: Revealed type is "trio.AsyncIO*[Any]" (diff)
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:3: note: Revealed type is "Any"          (diff)
  main:4: note: Revealed type is "Any"          (diff)
  main:5: note: Revealed type is "Any"          (diff)
  main:6: note: Revealed type is "Any"          (diff)
  main:7: note: Revealed type is "Any"          (diff)
  main:8: note: Revealed type is "Any"          (diff)
  main:10: note: Revealed type is "Any"         (diff)
  main:11: note: Revealed type is "Any"         (diff)
  main:12: note: Revealed type is "Any"         (diff)
  main:13: note: Revealed type is "Any"         (diff)
  main:16: note: Revealed type is "Any"         (diff)
  main:17: note: Revealed type is "Any"         (diff)
  main:18: note: Revealed type is "Any"         (diff)
  main:19: note: Revealed type is "Any"         (diff)
  main:20: note: Revealed type is "Any"         (diff)
  main:21: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:3: note: Revealed type is "trio.AsyncTextFileIO*"...
  A: main:1: error: Skipping analyzing "trio": module is installed, but missi...
          ^
_______________________________________________________________________________ testOutcome ________________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/outcome.test:1:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/outcome.test line 1
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:28: note: Revealed type is "Union[outcome.Value[builtins.str*], outcome.Error]" (diff)
  main:30: note: Revealed type is "Union[outcome.Value[builtins.str*], outcome.Error]" (diff)
  main:31: note: Revealed type is "builtins.str*" (diff)
  main:32: error: Argument 1 to "send" of "Value" has incompatible type "Iterator[int]"; expected "Generator[<nothing>, str, Any]" (diff)
  main:32: error: Argument 1 to "send" of "Error" has incompatible type "Iterator[int]"; expected "Generator[<nothing>, Any, Any]" (diff)
  main:33: note: Revealed type is "builtins.int*" (diff)
  main:34: note: Revealed type is "builtins.int*" (diff)
Actual:
  main:2: error: Skipping analyzing "outcome": module is installed, but missing library stubs or py.typed marker (diff)
  main:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:4: error: Skipping analyzing "async_generator": module is installed, but missing library stubs or py.typed marker (diff)
  main:5: error: Cannot find implementation or library stub for module named "trio_typing" (diff)
  main:28: note: Revealed type is "Any"         (diff)
  main:30: note: Revealed type is "Any"         (diff)
  main:31: note: Revealed type is "Any"         (diff)
  main:33: note: Revealed type is "Any"         (diff)
  main:34: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:28: note: Revealed type is "Union[outcome.Value[builtins.str*], out...
  A: main:2: error: Skipping analyzing "outcome": module is installed, but mi...
           ^
______________________________________________________________________________ testTaskStatus ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/taskstatus.test:1:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/taskstatus.test line 1
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:6: error: Argument 1 to "started" of "TaskStatus" has incompatible type "str"; expected "int" (diff)
  main:7: error: TaskStatus.started() requires an argument for types other than TaskStatus[None] (diff)
  main:14: error: Argument "task_status" to "child" has incompatible type "TaskStatus[None]"; expected "TaskStatus[int]" (diff)
  main:18: error: Argument 1 to "start_soon" of "Nursery" has incompatible type "Callable[[int, NamedArg(TaskStatus[int], 'task_status')], Coroutine[Any, Any, None]]"; expected "Callable[[int], Awaitable[Any]]" (diff)
  main:19: error: Argument 1 to "start_soon" of "Nursery" has incompatible type "Callable[[int, DefaultNamedArg(TaskStatus[None], 'task_status')], Coroutine[Any, Any, None]]"; expected "Callable[[], Awaitable[Any]]" (diff)
  main:20: error: Argument 1 to "start_soon" of "Nursery" has incompatible type "Callable[[int, DefaultNamedArg(TaskStatus[None], 'task_status')], Coroutine[Any, Any, None]]"; expected "Callable[[str], Awaitable[Any]]" (diff)
  main:22: error: Argument 1 to "start" of "Nursery" has incompatible type "Callable[[int, NamedArg(TaskStatus[int], 'task_status')], Coroutine[Any, Any, None]]"; expected "Callable[[NamedArg(TaskStatus[<nothing>], 'task_status')], Awaitable[Any]]" (diff)
  main:23: error: Argument 1 to "start" of "Nursery" has incompatible type "Callable[[int, NamedArg(TaskStatus[int], 'task_status')], Coroutine[Any, Any, None]]"; expected "Callable[[str, NamedArg(TaskStatus[int], 'task_status')], Awaitable[Any]]" (diff)
  main:26: note: Revealed type is "builtins.int*" (diff)
  main:27: note: Revealed type is "None"        (diff)
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:2: error: Cannot find implementation or library stub for module named "trio_typing" (diff)
  main:26: note: Revealed type is "Any"         (diff)
  main:27: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:6: error: Argument 1 to "started" of "TaskStatus" has incompatible ...
  A: main:1: error: Skipping analyzing "trio": module is installed, but missi...
          ^
_________________________________________________________________________ testTaskStatus_NoPlugin __________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/taskstatus.test:30:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/taskstatus.test line 30
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:6: error: Argument 1 to "started" of "TaskStatus" has incompatible type "str"; expected "int" (diff)
  main:14: error: Argument "task_status" to "child" has incompatible type "TaskStatus[None]"; expected "TaskStatus[int]" (diff)
  main:18: error: Argument 1 to "start_soon" of "Nursery" has incompatible type "Callable[[int, NamedArg(TaskStatus[int], 'task_status')], Coroutine[Any, Any, None]]"; expected "Union[Callable[[], Awaitable[Any]], Callable[[Any], Awaitable[Any]], Callable[[Any, Any], Awaitable[Any]], Callable[[Any, Any, Any], Awaitable[Any]], Callable[[Any, Any, Any, Any], Awaitable[Any]], Callable[[VarArg(Any)], Awaitable[Any]]]" (diff)
  main:26: note: Revealed type is "builtins.int*" (diff)
  main:27: note: Revealed type is "None"        (diff)
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:2: error: Cannot find implementation or library stub for module named "trio_typing" (diff)
  main:26: note: Revealed type is "Any"         (diff)
  main:27: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:6: error: Argument 1 to "started" of "TaskStatus" has incompatible ...
  A: main:1: error: Skipping analyzing "trio": module is installed, but missi...
          ^
______________________________________________________________________________ testTrioBasic _______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:1:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test line 1
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:13: note: Revealed type is "trio.Nursery*" (diff)
  main:14: note: Revealed type is "trio.CancelScope" (diff)
  main:17: error: Argument 1 to "start_soon" of "Nursery" has incompatible type "Callable[[float], Coroutine[Any, Any, None]]"; expected "Callable[[], Awaitable[Any]]" (diff)
  main:18: error: Argument 1 to "start_soon" of "Nursery" has incompatible type "Callable[[float], Coroutine[Any, Any, None]]"; expected "Callable[[str], Awaitable[Any]]" (diff)
  main:19: error: Argument 1 to "start_soon" of "Nursery" has incompatible type "Callable[[float], Coroutine[Any, Any, None]]"; expected "Callable[[float, float], Awaitable[Any]]" (diff)
  main:24: note: Revealed type is "builtins.list*[builtins.float]" (diff)
  main:25: error: Argument 1 to "run" has incompatible type "Callable[[Sequence[float]], Coroutine[Any, Any, List[float]]]"; expected "Callable[[List[str]], Awaitable[List[float]]]" (diff)
  main:27: note: Revealed type is "Any"         (diff)
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:2: error: Skipping analyzing "trio.testing": module is installed, but missing library stubs or py.typed marker (diff)
  main:13: note: Revealed type is "Any"         (diff)
  main:14: note: Revealed type is "Any"         (diff)
  main:24: note: Revealed type is "Any"         (diff)
  main:27: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:13: note: Revealed type is "trio.Nursery*"...
  A: main:1: error: Skipping analyzing "trio": module is installed, but missi...
           ^
__________________________________________________________________________ testTrioBasic_NoPlugin __________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:30:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test line 30
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:13: note: Revealed type is "trio.Nursery*" (diff)
  main:14: note: Revealed type is "trio.CancelScope" (diff)
  main:24: note: Revealed type is "builtins.list*[builtins.float]" (diff)
  main:27: note: Revealed type is "Any"         (diff)
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:2: error: Skipping analyzing "trio.testing": module is installed, but missing library stubs or py.typed marker (diff)
  main:13: note: Revealed type is "Any"         (diff)
  main:14: note: Revealed type is "Any"         (diff)
  main:24: note: Revealed type is "Any"         (diff)
  main:27: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:13: note: Revealed type is "trio.Nursery*"...
  A: main:1: error: Skipping analyzing "trio": module is installed, but missi...
           ^
______________________________________________________________________________ testExceptions ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:59:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test line 59
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:3: error: Cannot instantiate abstract class "Cancelled" with abstract attribute "_objects_of_this_type_are_not_directly_constructible" (diff)
  main:21: note: Revealed type is "builtins.BaseException*" (diff)
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:21: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:3: error: Cannot instantiate abstract class "Cancelled" with abstra...
  A: main:1: error: Skipping analyzing "trio": module is installed, but missi...
          ^
______________________________________________________________________________ testOverloaded ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:82:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test line 82
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:11: note: Revealed type is "builtins.str*" (diff)
  main:12: note: Revealed type is "builtins.bytes*" (diff)
  main:13: error: Argument 1 to "run" has incompatible type overloaded function; expected "Callable[[], Awaitable[str]]" (diff)
Actual:
  main:10: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:10: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:11: note: Revealed type is "Any"         (diff)
  main:12: note: Revealed type is "Any"         (diff)

Alignment of first line difference:
  E: main:11: note: Revealed type is "builtins.str*"...
  A: main:10: error: Skipping analyzing "trio": module is installed, but miss...
           ^
_______________________________________________________________________________ testChannels _______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:97:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test line 97
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
  main:4: note: Revealed type is "trio.MemorySendChannel[Tuple[builtins.int, builtins.str]]" (diff)
  main:5: note: Revealed type is "trio.MemoryReceiveChannel[Tuple[builtins.int, builtins.str]]" (diff)
  main:8: note: Revealed type is "builtins.str" (diff)
Actual:
  main:2: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)
  main:4: note: Revealed type is "Any"          (diff)
  main:5: note: Revealed type is "Any"          (diff)
  main:8: note: Revealed type is "Any"          (diff)

Alignment of first line difference:
  E: main:4: note: Revealed type is "trio.MemorySendChannel[Tuple[builtins.in...
  A: main:2: error: Skipping analyzing "trio": module is installed, but missi...
          ^
___________________________________________________________________________ testSubprocessPaths ____________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:107:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test line 107
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)

_____________________________________________________________________________ testOptionalCwd ______________________________________________________________________________
data: /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test:115:
/home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test_typecheck.py:47: in run_case
    assert_string_arrays_equal(
E   AssertionError: Unexpected output from /home/tkloczko/rpmbuild/BUILD/trio-typing-0.7.0/trio_typing/_tests/test-data/trio-basic.test line 115
--------------------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------------------
Expected:
Actual:
  main:1: error: Skipping analyzing "trio": module is installed, but missing library stubs or py.typed marker (diff)
  main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports (diff)

========================================================================= short test summary info ==========================================================================
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::async_generator.test::testAsyncGenerator
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::async_generator.test::testAsyncGeneratorUtils
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::async_generator.test::testAsyncCM
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::async_generator.test::testAsyncCM_36
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::open-mode.test::testOpenType
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::outcome.test::testOutcome
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::taskstatus.test::testTaskStatus
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::taskstatus.test::testTaskStatus_NoPlugin
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::trio-basic.test::testTrioBasic
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::trio-basic.test::testTrioBasic_NoPlugin
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::trio-basic.test::testExceptions
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::trio-basic.test::testOverloaded
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::trio-basic.test::testChannels
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::trio-basic.test::testSubprocessPaths
FAILED trio_typing/_tests/test_typecheck.py::TrioTestSuite::trio-basic.test::testOptionalCwd
====================================================================== 15 failed, 1 passed in 48.92s =======================================================================

build env details

Package                       Version
----------------------------- -----------------
alabaster                     0.7.12
apeye                         1.1.0
appdirs                       1.4.4
async-generator               1.10
attrs                         21.4.0
autodocsumm                   0.2.7
Babel                         2.9.1
beautifulsoup4                4.10.0
build                         0.7.0
CacheControl                  0.12.10
charset-normalizer            2.0.12
click                         8.1.2
codespell                     2.1.0
coincidence                   0.6.1
consolekit                    1.3.1
cssutils                      2.4.0
cycler                        0.11.0
deprecation                   2.1.0
deprecation-alias             0.3.1
dict2css                      0.3.0
dist-meta                     0.3.4
distro                        1.7.0
docutils                      0.17.1
dom_toml                      0.5.1
domdf-python-tools            3.2.2.post1
extras                        1.0.0
first                         2.0.2
fixtures                      3.0.0
fonttools                     4.32.0
gpg                           1.17.1-unknown
handy-archives                0.1.2
html5lib                      1.1
idna                          3.3
imagesize                     1.3.0
importlib-metadata            4.11.3
iniconfig                     1.1.1
Jinja2                        3.1.1
kiwisolver                    1.3.2
libcomps                      0.1.18
lockfile                      0.12.2
MarkupSafe                    2.1.1
matplotlib                    3.5.1
mistletoe                     0.8.2
msgpack                       1.0.3
mypy                          0.940
mypy-extensions               0.4.3
natsort                       8.0.2
numpy                         1.22.3
olefile                       0.46
outcome                       1.1.0
packaging                     21.3
pbr                           5.8.1
pep517                        0.12.0
Pillow                        9.1.0
pip                           22.0.4
pluggy                        1.0.0
py                            1.11.0
Pygments                      2.11.2
PyGObject                     3.42.0
pyparsing                     3.0.8
pyproject-parser              0.4.2
pytest                        7.1.1
pytest-datadir                1.3.1
pytest-regressions            2.3.1
pytest-timeout                2.1.0
python-dateutil               2.8.2
pytz                          2022.1
PyYAML                        6.0
requests                      2.27.1
rpm                           4.17.0
ruamel.yaml                   0.17.21
ruamel.yaml.clib              0.2.6
setuptools                    62.0.0
shippinglabel                 1.0.1
six                           1.16.0
sniffio                       1.2.0
snowballstemmer               2.2.0
sortedcontainers              2.4.0
soupsieve                     2.3.2.post1
Sphinx                        4.5.0.dev20220404
sphinx-autodoc-typehints      1.12.0
sphinx-prompt                 1.4.0
sphinx-pyproject              0.1.0
sphinx-tabs                   3.3.1
sphinx-toolbox                2.18.0
sphinxcontrib-applehelp       1.0.2.dev20220410
sphinxcontrib-devhelp         1.0.2.dev20220410
sphinxcontrib-htmlhelp        2.0.0
sphinxcontrib-jsmath          1.0.1.dev20220410
sphinxcontrib-qthelp          1.0.3.dev20220410
sphinxcontrib-serializinghtml 1.1.5
tabulate                      0.8.9
testtools                     2.5.0
toml                          0.10.2
tomli                         2.0.1
trio                          0.20.0
trove-classifiers             2022.4.11
typing_extensions             4.1.1
urllib3                       1.26.9
webencodings                  0.5.1
wheel                         0.37.1
whey                          0.0.17
zipp                          3.8.0

Since I've opened this ticket I've changed a bit packagin methodology to:

  • python3 -sBm build -w --no-isolation
  • install .whl file in </install/prefix>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

So I'm 100% using only modules (pre)installed locally in build env.
If you want me to do any diagnostics or test sometnig Please let me know. I'll try to deliver whatever would be necessary ASP 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants