diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-12 21:01:02 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:35:40 +0100 |
| commit | 579d43aafc6866ab5d8b9638fc7fb4222061b01b (patch) | |
| tree | c249099815cb4a060328a24c8b1d43bb46620d89 /gnu/packages | |
| parent | dc4099de62b53e23b96e6270b014904f68de1c1b (diff) | |
gnu: python-mypy: Update to 1.16.1.
* gnu/packages/python-check.scm (python-mypy): Update to 1.16.1.
[arguments] <test-flags>: Respect parallel option.
[native-inputs]: Remove python-attrs, python-pytest-forked, and
python-virtualenv; add python-types-setuptools.
[propagated-inputs]: Add python-pathspec.
Change-Id: Idaecb763785b541f2591cd4530cb71a91e973f44
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-check.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b46ab39701d..fb9ef560bf3 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -1253,20 +1253,22 @@ side effects when unit testing.") | |||
| 1253 | (define-public python-mypy | 1253 | (define-public python-mypy |
| 1254 | (package | 1254 | (package |
| 1255 | (name "python-mypy") | 1255 | (name "python-mypy") |
| 1256 | (version "1.13.0") | 1256 | (version "1.16.1") |
| 1257 | (source | 1257 | (source |
| 1258 | (origin | 1258 | (origin |
| 1259 | (method url-fetch) | 1259 | (method url-fetch) |
| 1260 | (uri (pypi-uri "mypy" version)) | 1260 | (uri (pypi-uri "mypy" version)) |
| 1261 | (sha256 | 1261 | (sha256 |
| 1262 | (base32 | 1262 | (base32 |
| 1263 | "0pl3plw815824z5gsncnjg3yn2v5wz0gqp20wdrncgmzdwdsd482")))) | 1263 | "1avv8cj0qfhpw4s36bjhg994rml35fs4ndz78xg1r14l4050ml3b")))) |
| 1264 | (build-system pyproject-build-system) | 1264 | (build-system pyproject-build-system) |
| 1265 | (arguments | 1265 | (arguments |
| 1266 | (list | 1266 | (list |
| 1267 | ;; It tries to download hatchling and install aditional test | 1267 | #:test-flags |
| 1268 | ;; dependencies. | 1268 | #~(list "--numprocesses" (number->string (parallel-job-count)) |
| 1269 | #:test-flags #~(list "--ignore=mypy/test/testpep561.py") | 1269 | ;; It tries to download hatchling and install aditional test |
| 1270 | ;; dependencies. | ||
| 1271 | "--ignore=mypy/test/testpep561.py") | ||
| 1270 | #:phases | 1272 | #:phases |
| 1271 | #~(modify-phases %standard-phases | 1273 | #~(modify-phases %standard-phases |
| 1272 | (add-before 'check 'set-home | 1274 | (add-before 'check 'set-home |
| @@ -1277,17 +1279,16 @@ side effects when unit testing.") | |||
| 1277 | (setenv "HOME" "/tmp")))))) | 1279 | (setenv "HOME" "/tmp")))))) |
| 1278 | (native-inputs | 1280 | (native-inputs |
| 1279 | (list nss-certs-for-test | 1281 | (list nss-certs-for-test |
| 1280 | python-attrs | ||
| 1281 | python-lxml | 1282 | python-lxml |
| 1282 | python-psutil | 1283 | python-psutil |
| 1283 | python-pytest | 1284 | python-pytest |
| 1284 | python-pytest-forked | ||
| 1285 | python-pytest-xdist | 1285 | python-pytest-xdist |
| 1286 | python-setuptools | 1286 | python-setuptools |
| 1287 | python-virtualenv | 1287 | python-types-setuptools |
| 1288 | python-wheel)) | 1288 | python-wheel)) |
| 1289 | (propagated-inputs | 1289 | (propagated-inputs |
| 1290 | (list python-mypy-extensions | 1290 | (list python-mypy-extensions |
| 1291 | python-pathspec | ||
| 1291 | python-tomli | 1292 | python-tomli |
| 1292 | python-typing-extensions)) | 1293 | python-typing-extensions)) |
| 1293 | (home-page "https://www.mypy-lang.org/") | 1294 | (home-page "https://www.mypy-lang.org/") |
