Package Details: python-js2py 0.74-3

Git Clone URL: https://aur.archlinux.org/python-js2py.git (read-only, click to copy)
Package Base: python-js2py
Description: JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python
Upstream URL: https://github.com/PiotrDabkowski/Js2Py
Licenses: MIT
Submitter: xiota
Maintainer: xiota
Last Packager: xiota
Votes: 2
Popularity: 0.36
First Submitted: 2024-12-17 22:15 (UTC)
Last Updated: 2025-05-07 02:13 (UTC)

Latest Comments

xiota commented on 2025-05-07 02:00 (UTC)

GitHub has a ¿new? download rate limit. Will add patches directly to package.

Auerhuhn commented on 2025-05-06 22:01 (UTC)

@matteoguglielmi That’s an issue on your end. HTTP status code 429 means “too many requests.” The package builds fine for me in a clean chroot.

matteoguglielmi commented on 2025-05-06 20:09 (UTC)

It now fails to compile with the following error:

Resolving deltas: 100% (9820/9820), done.
  -> Downloading 0001-js2py-pr293-opt-tzlocal.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1036  100  1036    0     0   2220      0 --:--:-- --:--:-- --:--:--  4909
  -> Downloading 0002-js2py-pr327-python3.12.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 429
Warning: Problem : HTTP error. Will retry in 3 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 429
Warning: Problem : HTTP error. Will retry in 3 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 429
Warning: Problem : HTTP error. Will retry in 3 seconds. 1 retry left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 429
==> ERROR: Failure while downloading https://github.com/PiotrDabkowski/Js2Py/pull/327.patch
    Aborting...

Auerhuhn commented on 2024-12-22 16:18 (UTC)

Needs an updated patch for Python 3.13 (rebuilding won’t help):

Traceback (most recent call last):
  File "/build/python-js2py/src/js2py/simple_test.py", line 1, in <module>
    import js2py
  File "/build/python-js2py/src/js2py/js2py/__init__.py", line 72, in <module>
    from .base import PyJsException
  File "/build/python-js2py/src/js2py/js2py/base.py", line 6, in <module>
    from .utils.injector import fix_js_args
  File "/build/python-js2py/src/js2py/js2py/utils/injector.py", line 266, in <module>
    check(six.get_function_code(check))
    ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/build/python-js2py/src/js2py/js2py/utils/injector.py", line 253, in check
    raise RuntimeError(
        'Your python version made changes to the bytecode')
RuntimeError: Your python version made changes to the bytecode