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

Remove 2to3 from requirements.txt #1555

Open
lithorus opened this issue Oct 23, 2024 · 1 comment · May be fixed by #1557
Open

Remove 2to3 from requirements.txt #1555

lithorus opened this issue Oct 23, 2024 · 1 comment · May be fixed by #1557
Labels
enhancement Improvement to an existing feature

Comments

@lithorus
Copy link
Contributor

lithorus commented Oct 23, 2024

** Problem **
2to3 has been deprecated for a while now and has not been compltely removed in 3.13.

Describe the enhancement
2to3 needs to be removed to be able to support python 3.13+. It seems to only be used to fix the import in the generated proto files.

I see 3 options :

  1. Add compiled_proto to PYTHONPATH
  2. Use sed to make the import relative
  3. Create python script that converts the files (perhaps also create the files)

Edit:
Added 3rd option

@lithorus lithorus added the enhancement Improvement to an existing feature label Oct 23, 2024
@lithorus lithorus changed the title Remove 2to3 Remove 2to3 from requirements.txt Oct 23, 2024
@DiegoTavares
Copy link
Collaborator

Option 3 has my vote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants