Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
python-astroid


Commits:
1a35dee3 by Letu Ren at 2024-02-28T07:45:05+03:00
Remove unused deps and deselect test_pydantic_field to fix FTBFS

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -2,6 +2,7 @@
 # Maintainer: Daniel M. Capella <[email protected]>
 # Contributor: Angel Velasquez <[email protected]>
 # Contributor: Felix Yan <[email protected]>
+# Contributor: Letu Ren <[email protected]>
 
 _pyname=astroid
 pkgname=python-$_pyname
@@ -12,7 +13,6 @@ arch=(any)
 url="https://github.com/pylint-dev/$_pyname";
 license=(LGPL)
 _pydeps=(lazy-object-proxy
-         typing-extensions
          wrapt)
 depends=(python
          "${_pydeps[@]/#/python-}")
@@ -22,7 +22,6 @@ checkdepends=(python-numpy
               python-pip
               python-pytest
               python-regex
-              python-typed-ast
               python-urllib3)
 replaces=(python-logilab-astng)
 conflicts=(python-logilab-astng)
@@ -42,7 +41,9 @@ build() {
 
 check() {
        cd "$_archive"
-       pytest
+       # Gentoo thinks this test fails because of pydantic 2
+       # 
https://github.com/gentoo/gentoo/commit/70a46fcd283b608171fd5529619915e119b69405
+       pytest --deselect tests/brain/test_dataclasses.py::test_pydantic_field
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-astroid/-/commit/1a35dee3ab63a5099cfd87abd6a6637c5094481b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-astroid/-/commit/1a35dee3ab63a5099cfd87abd6a6637c5094481b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to