Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955989 - dev-python/mypy-1.15.0 fails test: StubtestUnit::test_runtime_typing_objects
Summary: dev-python/mypy-1.15.0 fails test: StubtestUnit::test_runtime_typing_objects
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-15 10:18 UTC by Dustin Polke
Modified: 2025-05-15 15:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full build.log (build.log.xz,274.06 KB, application/x-xz)
2025-05-15 10:20 UTC, Dustin Polke
Details
emerge --info (emerge-info.txt,22.88 KB, text/plain)
2025-05-15 10:21 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2025-05-15 10:18:18 UTC
=========================== short test summary info ============================
SKIPPED [236] mypy/test/testfinegrained.py:77: Skipped
SKIPPED [72] mypy/test/testparse.py:95: Skipped
SKIPPED [33] mypy/test/data.py:313: Skipped
SKIPPED [1] mypy/test/testtypes.py:952: unconditional skip
SKIPPED [1] mypy/test/testtypes.py:944: unconditional skip
SKIPPED [1] mypy/test/testtypes.py:1589: Skip for compiled mypy
SKIPPED [1] mypy/test/testipc.py:104: unconditional skip
SKIPPED [1] mypy/test/teststubgen.py:598: Tests building the paths common ancestor on Windows
SKIPPED [2] mypy/test/teststubgen.py:715: Skipped
XFAIL mypy/test/testcheck.py::TypeCheckSuite::check-singledispatch.test::testImplementationHasSameDispatchTypeAsFallback
XFAIL mypy/test/testcheck.py::TypeCheckSuite::check-singledispatch.test::testRegisterHasDifferentTypeThanTypeSignature
XFAIL mypy/test/testcheck.py::TypeCheckSuite::check-union-or-syntax.test::testImplicit604TypeAliasWithCyclicImportNotInStub
XFAIL mypy/test/testcheck.py::TypeCheckSuite::check-typeguard.test::testTypeGuardMultipleCondition
XFAIL mypy/test/testcheck.py::TypeCheckSuite::check-classes.test::testOpWithInheritedFromAny
XFAIL mypy/test/testcheck.py::TypeCheckSuite::check-python310.test::testMatchCapturePatternFromAsyncFunctionReturningUnion
XFAIL mypy/test/teststubgen.py::StubgenPythonSuite::stubgen.test::testNestedClassInNamedTuple_semanal
XFAIL mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testAsyncioGatherPreciseType
XFAIL mypyc/test/test_run.py::TestRun::run-singledispatch.test::testSingleDispatchMethod
XFAIL mypyc/test/test_run.py::TestRun::run-singledispatch.test::testSingleDispatchMethodWithOtherDecorator
FAILED mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects - AssertionError: error: test_module.Y.__closed__ variable differs from runtime type None
  Stub: in file test_module.pyi:76
  builtins.bool
  Runtime:
  None
  
  Found 1 error (checked 1 module)
  
assert {'test_module.Y.__closed__'} == set()
  
  Extra items in the left set:
  'test_module.Y.__closed__'
  
  Full diff:
  - set()
  + {
  +     'test_module.Y.__closed__',
  + }
===== 1 failed, 12164 passed, 348 skipped, 10 xfailed in 821.28s (0:13:41) =====
 * pytest failed with python3.12
 * ERROR: dev-python/mypy-1.15.0::gentoo failed (test phase):
 *   epytest failed with python3.12
Comment 1 Dustin Polke 2025-05-15 10:20:48 UTC
Created attachment 928843 [details]
Full build.log

Compressed due to size. Use xzless.
Comment 2 Dustin Polke 2025-05-15 10:21:06 UTC
Created attachment 928844 [details]
emerge --info