Package Details: python-gradio 5.38.0-1

Git Clone URL: https://aur.archlinux.org/python-gradio.git (read-only, click to copy)
Package Base: python-gradio
Description: Python library for easily interacting with trained machine learning models.
Upstream URL: https://github.com/gradio-app/gradio
Keywords: python-gradio
Licenses: Apache-2.0
Submitter: huyz
Maintainer: medaminezghal
Last Packager: medaminezghal
Votes: 3
Popularity: 0.088372
First Submitted: 2022-10-21 14:20 (UTC)
Last Updated: 2025-07-17 10:50 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

vcalv commented on 2025-06-20 23:14 (UTC) (edited on 2025-06-20 23:14 (UTC) by vcalv)

I built it on a clean chroot. That can't be the issue.

The build process just needs more memory than the soft default.

It's not like my laptop is low either, I just need to increase it via the environment variable option.

These javascript builds are just ridiculous...

Then I got one test error but quite frankly I just ignored it.

medaminezghal commented on 2025-06-20 07:37 (UTC)

@vcalv try delete the cache folder

vcalv commented on 2025-06-20 04:27 (UTC) (edited on 2025-06-20 04:27 (UTC) by vcalv)

Again, the OOM errors persist...

medaminezghal commented on 2025-06-17 09:46 (UTC)

@Pulec I didn't find in source where OpenAI is needed for the tests.

Pulec commented on 2025-05-28 16:08 (UTC) (edited on 2025-05-28 16:16 (UTC) by Pulec)

python-mcp

python-docker

python-openai

These are mandatory dependencies for the tests.

vcalv commented on 2025-05-26 15:39 (UTC) (edited on 2025-05-26 16:05 (UTC) by vcalv)

something must be wrong here.

I'm having OOM errors building

ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @self/app@1.49.8 build: `vite build && node     after_build.js --emptyOutDir`
Exit status 134
ELIFECYCLE  Command failed with exit code 134.

This despite having like over 4Gb of free memory when it happens.

I think the heap size needs to be increased with --max-old-space-size

Alternatively, I "fixed" this part by adding adding

NODE_OPTIONS="--max-old-space-size=4096" to the build function.

I now have an error stating

ModuleNotFoundError: No module named 'docker'

on the python section, which means there's probably a dependency not included, almost certainly python-docker

This got the job done, but python-docker is apparently only used in testing.

medaminezghal commented on 2025-05-22 07:18 (UTC)

@everyone sorry for the issues you were facing when you try to install the package. A new version will be uploaded soon that fix all this issues.

Pulec commented on 2025-04-28 22:22 (UTC)

What a mess in here.

I have never seen a package that tries to use itself...

First of all, in build()

python -c "import gradio"

remove this. What kind of logic is it to try import a package that is only now being built?

Then users who actually want to use this version of PKGBUILD have to comment out:

python scripts/generate_theme.py

in build(), which requires the module to be installed. And build the package with --nocheck, 5 of the test fails.

Rebuilding with generated theme does not help the test.

I am just not using this. Meh!

medaminezghal commented on 2025-04-23 09:59 (UTC)

@gmes78 I can’t use the version provided by Arch repository. I need to use the version from package.json.

gmes78 commented on 2025-04-13 02:18 (UTC)

Please add a makedependency on pnpm instead of downloading and running a static binary.