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

Update GH actions & specify Python version as dependency #537

Merged
merged 3 commits into from
Jan 25, 2023

Conversation

CommandMC
Copy link
Contributor

@CommandMC CommandMC commented Jan 10, 2023

The main goal of this PR was to get our required Python version (currently 3.9) into the Debian package's "Depends" field (currently, we just specified "any" version)
The tool we were using to generate the file, stdeb, mentions this option in their documentation (here), although it doesn't seem functional to me. Since stdeb seemed otherwise abandoned and relies on functionality that will soon be removed from Python (the distutils module), it seemed sensible to also find a new tool for the job.

After some searching, I've found fpm and ported our action to using it instead. This currently requires a few manual inputs (maintainers, required python version), but should in the future be able to be fetched from a pyproject.toml file (which is relatively easy to create). A PR for that feature is currently in the works (here)

In the process of that, I've also updated some other action versions to get that Warning count at least a little lower

@derrod derrod merged commit 3622875 into derrod:master Jan 25, 2023
@CommandMC CommandMC deleted the update-actions branch February 6, 2023 21:10
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.

2 participants