Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport] [21] Replace pipes.quote with shlex.quote. #10126

Open
jerboaa opened this issue Nov 20, 2024 · 0 comments
Open

[Backport] [21] Replace pipes.quote with shlex.quote. #10126

jerboaa opened this issue Nov 20, 2024 · 0 comments
Assignees
Labels
backport community-jdk21u Issues affecting https://github.com/graalvm/graalvm-community-jdk21u redhat-interest

Comments

@jerboaa
Copy link
Collaborator

jerboaa commented Nov 20, 2024

Backport Request

I'd like to propose to backport python 3.13 support for building GraalVM.

What would you like to backport?
52d898d8bb6db8728e371d94fc5f87235f1ac202 Replace pipes.quote with shlex.quote

GraalVM versions
GraalVM for JDK 21

Motivation
Some Linux distributions have switched to newer python versions, like 3.13, which have removed a couple of modules which were used in older source trees. Therefore, the build fails with something like:

Traceback (most recent call last):
  File "/disk/graal/upstream-sources/mx/mx_enter.py", line 44, in <module>
    mx._main_wrapper()
    ~~~~~~~~~~~~~~~~^^
  File "/disk/graal/upstream-sources/mx/mx.py", line 18792, in _main_wrapper
    main()
    ~~~~^^
  File "/disk/graal/upstream-sources/mx/mx.py", line 18678, in main
    primary = _discover_suites(primarySuiteMxDir, load=should_load_suites)
  File "/disk/graal/upstream-sources/mx/mx.py", line 3796, in _discover_suites
    _register_visit(primary)
    ~~~~~~~~~~~~~~~^^^^^^^^^
  File "/disk/graal/upstream-sources/mx/mx.py", line 3794, in _register_visit
    s._load()
    ~~~~~~~^^
  File "/disk/graal/upstream-sources/mx/mx.py", line 1770, in _load
    self._load_extensions()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/disk/graal/upstream-sources/mx/mx.py", line 2267, in _load_extensions
    mod = __import__(extensionsName)
  File "/disk/graal/upstream-sources/graalvm/substratevm/mx.substratevm/mx_substratevm.py", line 35, in <module>
    import pipes
ModuleNotFoundError: No module named 'pipes'
@jerboaa jerboaa added backport redhat-interest community-jdk21u Issues affecting https://github.com/graalvm/graalvm-community-jdk21u labels Nov 20, 2024
@jerboaa jerboaa self-assigned this Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport community-jdk21u Issues affecting https://github.com/graalvm/graalvm-community-jdk21u redhat-interest
Projects
None yet
Development

No branches or pull requests

1 participant