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

python 3.12 support #334

Merged
merged 2 commits into from
Jul 15, 2024
Merged

python 3.12 support #334

merged 2 commits into from
Jul 15, 2024

Conversation

fin444
Copy link
Contributor

@fin444 fin444 commented Jul 14, 2024

remove references to distutils

  • app_args.py: add polyfill
  • setup.py: remove code that hasn't been necessary since 51094d7

fin444 and others added 2 commits July 14, 2024 15:53
remove references to distutils
- app_args.py: add polyfill
- setup.py: remove code that hasn't been necessary since 51094d7
@jonashaag
Copy link
Owner

Thanks for the patch! Do you think you know what you're doing here? Because I don't when it comes to these packaging things and have no way of verifying because I have no clue what's right and wrong. So I'll have to trust your judgment here.

@jonashaag
Copy link
Owner

Also, if you think we should be doing larger cleanup of packaging, feel free to come up with more PRs. The packaging infrastructure of this project is easily 10 years old and hasn't seen much love since then.

@jelmer
Copy link
Contributor

jelmer commented Jul 15, 2024

FWIW this looks good to me.

@jonashaag jonashaag merged commit 0dacec5 into jonashaag:master Jul 15, 2024
4 checks passed
@fin444
Copy link
Contributor Author

fin444 commented Jul 15, 2024

I'm not exactly an expert on this, but for app_args.py it's just copy pasting the function from the library. For setup.py, what I found suggested that the hack was only necessary if data_files was included as a parameter (source 1, source 2, source 3 it just says it in the comment)

@fin444
Copy link
Contributor Author

fin444 commented Jul 15, 2024

And while clean up would be cool, I don't know much about packaging lol. I only submitted this because NixOS updated to 3.12 and it broke my stuff

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

Successfully merging this pull request may close these issues.

3 participants