Skip to content

Test collection failing when building wheels #13189

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

Closed
JukkaL opened this issue Jul 19, 2022 · 0 comments · Fixed by #13190
Closed

Test collection failing when building wheels #13189

JukkaL opened this issue Jul 19, 2022 · 0 comments · Fixed by #13190
Assignees
Labels
bug mypy got something wrong priority-0-high

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Jul 19, 2022

See https://github.com/mypyc/mypy_mypyc-wheels/actions, e.g. https://github.com/mypyc/mypy_mypyc-wheels/actions/runs/2695060465.

Test output:

____________ ERROR collecting site-packages/mypy/test/testcheck.py _____________
  site-packages/mypy/test/testcheck.py:42: in <module>
      typecheck_files.remove('check-python310.test')
  E   ValueError: list.remove(x): x not in list
  ____________ ERROR collecting site-packages/mypy/test/testcheck.py _____________
  site-packages/mypy/test/testcheck.py:42: in <module>
      typecheck_files.remove('check-python310.test')
  E   ValueError: list.remove(x): x not in list
  ____________ ERROR collecting site-packages/mypy/test/testcheck.py _____________
  site-packages/mypy/test/testcheck.py:42: in <module>
      typecheck_files.remove('check-python310.test')
  E   ValueError: list.remove(x): x not in list
  ____________ ERROR collecting site-packages/mypy/test/testparse.py _____________
  site-packages/mypy/test/testparse.py:15: in <module>
      class ParserSuite(DataSuite):
  site-packages/mypy/test/testparse.py:21: in ParserSuite
      files.remove('parse-python310.test')
  E   ValueError: list.remove(x): x not in list
  ____________ ERROR collecting site-packages/mypy/test/testparse.py _____________
  site-packages/mypy/test/testparse.py:15: in <module>
      class ParserSuite(DataSuite):
  site-packages/mypy/test/testparse.py:21: in ParserSuite
      files.remove('parse-python310.test')
  E   ValueError: list.remove(x): x not in list
  ____________ ERROR collecting site-packages/mypy/test/testparse.py _____________
  site-packages/mypy/test/testparse.py:15: in <module>
      class ParserSuite(DataSuite):
  site-packages/mypy/test/testparse.py:21: in ParserSuite
      files.remove('parse-python310.test')
  E   ValueError: list.remove(x): x not in list
  ___________ ERROR collecting site-packages/mypy/test/testsemanal.py ____________
  site-packages/mypy/test/testsemanal.py:37: in <module>
      semanal_files.remove('semanal-python310.test')
  E   ValueError: list.remove(x): x not in list
  ___________ ERROR collecting site-packages/mypy/test/testsemanal.py ____________
  site-packages/mypy/test/testsemanal.py:37: in <module>
      semanal_files.remove('semanal-python310.test')
  E   ValueError: list.remove(x): x not in list
  ___________ ERROR collecting site-packages/mypy/test/testsemanal.py ____________
  site-packages/mypy/test/testsemanal.py:37: in <module>
      semanal_files.remove('semanal-python310.test')
  E   ValueError: list.remove(x): x not in list

This was caused by #13143.

@JukkaL JukkaL added bug mypy got something wrong priority-0-high labels Jul 19, 2022
@JukkaL JukkaL self-assigned this Jul 19, 2022
JukkaL added a commit that referenced this issue Jul 19, 2022
Use `mypy.test.config.test_data_prefix` instead of hard coding it. This
should fix mypy wheel builds.

Fixes #13189 (hopefully).
JukkaL added a commit that referenced this issue Jul 19, 2022
…13190)

Use `mypy.test.config.test_data_prefix` instead of hard coding it. This
should fix mypy wheel builds.

Fixes #13189 (hopefully).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong priority-0-high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant