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

Incompatible with Python 3.13 #11

Closed
treiher opened this issue Feb 13, 2025 · 2 comments
Closed

Incompatible with Python 3.13 #11

treiher opened this issue Feb 13, 2025 · 2 comments

Comments

@treiher
Copy link
Contributor

treiher commented Feb 13, 2025

If Python 3.13 is used, building this crate fails:

  thread 'main' panicked at /home/tr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gpr-0.1.4/build.rs:74:9:
  failed to run command: ../target/debug/build/gpr-2bb0245cd076a372/out/contrib/gpr/langkit/manage.py
  Traceback (most recent call last):
    File "../target/debug/build/gpr-2bb0245cd076a372/out/contrib/gpr/langkit/manage.py", line 12, in <module>
      from langkit.libmanage import ManageScript
    File "../target/debug/build/gpr-2bb0245cd076a372/out/contrib/langkit/langkit/libmanage.py", line 12, in <module>
      import pipes
  ModuleNotFoundError: No module named 'pipes'

The used version of Langkit depends on a feature that has been removed in Python 3.13 (see AdaCore/langkit#658).

jklmnn added a commit that referenced this issue Feb 19, 2025
jklmnn added a commit that referenced this issue Feb 19, 2025
@jklmnn
Copy link
Owner

jklmnn commented Feb 19, 2025

Apparently langkit is no longer required to build gpr2 so I have removed it entirely from the build process. Can you check that #12 works for you?

@treiher
Copy link
Contributor Author

treiher commented Feb 28, 2025

#12 works for me. Thanks for fixing the issue, and sorry for the late reply!

jklmnn added a commit that referenced this issue Feb 28, 2025
@jklmnn jklmnn closed this as completed Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants