Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942959 - dev-python/mypy-1.13.0 - [meson] [libtool] mypyc/build.py:280: error: Argument sources to Extension has incompatible type list[str]; expected list[str | PathLike[str]] [a
Summary: dev-python/mypy-1.13.0 - [meson] [libtool] mypyc/build.py:280: error: Argumen...
Status: CONFIRMED
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: 2024-11-06 19:05 UTC by Toralf Förster
Modified: 2024-11-07 07:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.16 KB, text/plain)
2024-11-06 19:05 UTC, Toralf Förster
Details
dev-python:mypy-1.13.0:20241106-190305.log (dev-python:mypy-1.13.0:20241106-190305.log,4.03 KB, text/plain)
2024-11-06 19:05 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,67.84 KB, application/x-xz)
2024-11-06 19:05 UTC, Toralf Förster
Details
environment (environment,165.92 KB, text/plain)
2024-11-06 19:05 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-06 19:05 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.66 KB, application/x-xz)
2024-11-06 19:05 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,2.30 KB, application/x-xz)
2024-11-06 19:05 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,74.99 KB, application/x-xz)
2024-11-06 19:05 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.50 KB, application/x-xz)
2024-11-06 19:05 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-06 19:05:25 UTC
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/mypy-1.13.0/work/mypy-1.13.0 ...
 * python3_12: running distutils-r1_run_phase python_compile
 *   Building the wheel for mypy-1.13.0 via setuptools.build_meta
python3.12 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/mypy-1.13.0/work/mypy-1.13.0-python3_12/wheel
2024-11-06 19:03:09,670 gpep517 INFO Building wheel via backend setuptools.build_meta
mypyc/build.py:280: error: Argument "sources" to "Extension" has incompatible type "list[str]"; expected "list[str | PathLike[str]]"  [arg-type]
mypyc/build.py:280: note: "List" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
mypyc/build.py:280: note: Consider using "Sequence" instead, which is covariant

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20241101-233002

  UNMASKED:
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

  Block bug #351559 if this looks like a parallel build issue.

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2

  HEAD of ::gentoo
commit 4968fbf0e2cd86a46c8daec58774e770b031162e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 6 18:48:27 2024 +0000

    2024-11-06 18:48:27 UTC

emerge -qpvO =dev-python/mypy-1.13.0
[ebuild  N    ] dev-python/mypy-1.13.0  USE="native-extensions -debug -test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2024-11-06 19:05:26 UTC
Created attachment 908024 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-06 19:05:27 UTC
Created attachment 908025 [details]
dev-python:mypy-1.13.0:20241106-190305.log
Comment 3 Toralf Förster gentoo-dev 2024-11-06 19:05:28 UTC
Created attachment 908026 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-11-06 19:05:29 UTC
Created attachment 908027 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-06 19:05:30 UTC
Created attachment 908028 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-06 19:05:31 UTC
Created attachment 908029 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-06 19:05:32 UTC
Created attachment 908030 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-06 19:05:33 UTC
Created attachment 908031 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-06 19:05:34 UTC
Created attachment 908032 [details]
temp.tar.xz
Comment 10 Mark Herbert 2024-11-07 07:05:26 UTC
 same issue for me , same errors. Tried all versions of mypy  - no difference at all.