Package Details: python-asteval 1.0.6-1

Git Clone URL: https://aur.archlinux.org/python-asteval.git (read-only, click to copy)
Package Base: python-asteval
Description: Minimalistic evaluator of python expression using ast module
Upstream URL: https://github.com/lmfit/asteval
Licenses: MIT
Submitter: iyanmv
Maintainer: iyanmv
Last Packager: iyanmv
Votes: 1
Popularity: 0.028987
First Submitted: 2025-01-05 20:31 (UTC)
Last Updated: 2025-01-20 10:52 (UTC)

Latest Comments

« First ‹ Previous 1 2

iyanmv commented on 2025-01-20 22:11 (UTC)

If that also fails, then probably you have a broken system (most likely using pip or something else). Build in a clean chroot env with:

sudo pacman -S devtools
git clone https://aur.archlinux.org/python-asteval.git
cd python-asteval
extra-x86_64-build

iyanmv commented on 2025-01-20 22:10 (UTC)

Does this work for you?

sudo pacman -S git
git clone https://aur.archlinux.org/python-asteval.git
cd python-asteval
makepkg -s

simona commented on 2025-01-20 22:01 (UTC) (edited on 2025-01-20 22:01 (UTC) by simona)

command -v python

/bin/python
command -v pytest

/bin/pytest

no error installing pytest...

iyanmv commented on 2025-01-20 21:59 (UTC)

Also please, answer to all previous questions, and also what is the output of command -v python and command -v pytest?

iyanmv commented on 2025-01-20 21:58 (UTC)

It seems like your python installation is broken. What happens if you do sudo pacman -Syu && sudo pacman -S python-pytest?

simona commented on 2025-01-20 21:47 (UTC)

https://pastebin.com/Q3VXgKQt

iyanmv commented on 2025-01-20 21:35 (UTC)

I can't reproduce the issue with yay either. Can you share the output of yay --version? Also, please share all the output of the terminal since you do yay -S python-asteval, not just the very end. You can also try maybe with yay -S --redownloadall --rebuild python-asteval. In any case, remember that AUR helpers are not supported, and this builds just fine (including the tests from check()) with makepkg and extra-x86_64-build.

simona commented on 2025-01-20 21:27 (UTC)

yay -S python-asteval

iyanmv commented on 2025-01-20 21:25 (UTC)

simona: Unless you share more... no way anyone can help you. What exactly are you typing to build the package?

simona commented on 2025-01-20 20:35 (UTC)

Traceback (most recent call last):
File "/bin/pytest", line 8, in <module> sys.exit(console_main())
^^
File "/usr/lib/python3.13/site-packages/_pytest/config/init.py", line 201, in console_main
code = main()
File "/usr/lib/python3.13/site-packages/_pytest/config/init.py", line 156, in main
config = _prepareconfig(args, plugins)
File "/usr/lib/python3.13/site-packages/_pytest/config/init.py", line 341, in _prepareconfig
config = pluginmanager.hook.pytest_cmdline_parse( pluginmanager=pluginmanager, args=args )