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.170468
First Submitted: 2025-01-05 20:31 (UTC)
Last Updated: 2025-01-20 10:52 (UTC)

Latest Comments

1 2 Next › Last »

iyanmv commented on 2025-01-21 13:32 (UTC)

simona: If you are happy that you were able to install this, I'm also happy. So let's end this discussion now, since you don't want to learn :)

simona commented on 2025-01-21 13:28 (UTC)

I uninstalled it and solved. I reistall and problem appear.

iyanmv commented on 2025-01-21 10:06 (UTC)

simona: You had a package that was completely breaking pytest for you, that's a broken system by definition. And by the way, python-pytest-image-diff is just fine (same as its other AUR dependencies python-diffimg and python-imgdiff), so you most likely had (or still have) a partial upgrade. yay will not automatically rebuild python packages for you. When Arch updates it's [core] python package, you are responsible for rebuilding all packages from AUR that depend on python. I'm sure if you do a ls -ld /usr/lib/python* you had there something for python3.12 (or perhaps even older).

python-pytest-image-diff has nothing to do with this package, I don't need to add anything to conflicts here. And please, consider my advice, you are blindly running commands you don't understand.

simona commented on 2025-01-21 09:42 (UTC)

solved: it wasn't the broken system as you say. it was just an incompatibility between python-asteval and python-pytest-image-diff. just a magic "yay -Rs python-pytest-image-diff" and now it installs without complaining. maybe you should put python-pytest-image-diff in the list of incompatible packages.

iyanmv commented on 2025-01-21 08:00 (UTC)

Simona, I recommend you read a bit more about how pacman and AUR works before you further break your installation. And also have a look at this section in the wiki: https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Identify_files_not_owned_by_any_package

You can start by checking this path /usr/lib/python3.13/site-packages/ since you might have installed there something using pip or similar.

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

success with "sudo pacman -U python-asteval-1.0.6-1-any.pkg.tar.zst"

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

That's the expected output of extra-x86_64-build because it calls namcap on the generated package. Now you can install it with sudo pacman -U python-asteval-1.0.6-1-any.pkg.tar.zst

The error: target not found: python-asteval is because python-asteval is not in the official repos, and only here in AUR.

But this confirms that you have broken your system quite badly... and you Python setup is not working correctly.

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

python-asteval W: Referenced python module 'numpy_financial' is an uninstalled dependency (needed in files ['usr/lib/python3.13/site-packages/asteval/astutils.py'])
python-asteval W: Dependency python detected and implicitly satisfied (python modules ['sys', 'math', '_string.formatter_field_name_split', 'time', 'copy', 're', 'io', 'tokenize.tokenize', 'typing.Union', 'inspect', 'typing.Tuple', 'numbers', 'string.Formatter', 'sys.stderr', 'sys.exc_info', 'tokenize.NAME', 'sys.stdout', 'ast', 'tokenize.ENCODING'] needed in files ['usr/lib/python3.13/site-packages/asteval/astutils.py', 'usr/lib/python3.13/site-packages/asteval/version.py', 'usr/lib/python3.13/site-packages/asteval/asteval.py'], programs ['python'] needed in scripts ['usr/lib/python3.13/site-packages/asteval/asteval.py'])
==> Running checkpkg
error: target not found: python-asteval

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

the last command: work and ends with:
error: target not found: python-asteval
==> WARNING: Skipped checkpkg due to missing repo packages

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

no :-( same error as yay