Package Details: python-googletrans 4.0.0-1

Git Clone URL: (read-only, click to copy)
Package Base: python-googletrans
Description: Free Google Translate API for Python.
Upstream URL:
Licenses: MIT
Submitter: timschumi
Maintainer: None
Last Packager: timschumi
Votes: 8
Popularity: 0.007682
First Submitted: 2019-10-03 12:02 (UTC)
Last Updated: 2024-01-19 13:04 (UTC)

Latest Comments

1 2 3 Next › Last »

MarsSeed commented on 2024-01-09 18:02 (UTC) (edited on 2024-01-09 18:06 (UTC) by MarsSeed)

@timschumi, Arch maintainers themselves frequently choose to update existing, discontinued libraries to their drop-in replacement fork that is published under a slightly modified name.

When it comes to Python modules, to be drop-in compatible, a fork that publishes to PyPI under a modified name still has to retain the original upstream's directory name, therefore the Python module name.

It does not violate Arch Python package guidelines to update this to the continuation fork. As the guidelines recommend to use the Python module name as part of the package name (i.e. python-modulename). The guidelines don't enforce packagers to use the PyPI distribution name in such cases.

Tomsod commented on 2023-11-08 04:15 (UTC)

Don't feel brave enough to publish it, but here's an edited PKGBUILD for the fork that seems to work for me:

timschumi commented on 2023-01-08 12:17 (UTC)

@simonzack Considering that the fork is published under a different name on PyPI, it should be published as python-googletrans-py on the AUR as well.

simonzack commented on 2023-01-08 09:18 (UTC) (edited on 2023-01-08 09:19 (UTC) by simonzack)

I tried to use downgrade to install python-httpx=0.13.3-5. The PGP signature was invalid.

There's a fork at ShivangKakkar/googletrans: Fork of py-googletrans to use newer versions of httpx, which updates httpx. Although the fork said it won't be maintained.

Despite py-googletrans being a dead project, I think it's still a good idea to use the fork. At least that will be installable. I haven't tested if it works.

timschumi commented on 2021-09-27 22:00 (UTC)

@D3SOX: This is intentional. googletrans doesn't accept anything else than that specific version of httpx, and it's a hard requirement.

D3SOX commented on 2021-09-27 21:23 (UTC)

error: could not find all required packages:
    python-httpx=0.13.3 (wanted by: python-googletrans)

yochananmarqos commented on 2021-09-14 23:46 (UTC)


Does running sed on the requirement file work?

I don't know, does it? What's your use case? As I already said,

I'm having no issues with translations with Dialect.

timschumi commented on 2021-09-14 20:15 (UTC)

You could install an old version of python-httpx via the downgrade tool, the package is still available on the archive servers.

Other than that, using sed would probably work, at least if other users are to be believed.

rafaelff commented on 2021-09-14 20:03 (UTC)

Since this package relies on a unavailable dependency, is there any recommended workaround (except using pip, obviously) ? Does running sed on the requirement file work?

timschumi commented on 2021-09-08 14:40 (UTC) (edited on 2021-09-08 14:40 (UTC) by timschumi)

@yochananmarqos: I'm aware that I could just work around the requirement itself. However, upstream had patches ready to update the httpx version but did not merge them, so I believe that requirement is there for a reason.

If you want to get it fixed, file an issue or open a pull request on GitHub.

EDIT: Wrong mention :P