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

test against more versions of Python in PR workflow #33

Merged
merged 3 commits into from
Dec 4, 2024

Conversation

rtertiaer
Copy link
Contributor

This PR tests against more version of Python in our GitHub Action. This mainly to guard against someone accidentally merging pyca/cryptography >=44, which deprecates Python 3.7 - yet we use 3.7 in our current AmpliPi product.

@rtertiaer rtertiaer force-pushed the test_against_more_python branch 2 times, most recently from bdd0e48 to 42441d6 Compare December 4, 2024 20:02
@rtertiaer rtertiaer force-pushed the test_against_more_python branch from 42441d6 to 39d513d Compare December 4, 2024 20:11
- run: pip install -r requirements.txt
- run: pip install mypy
- run: mypy --install-types --non-interactive --explicit-package-bases --disable-error-code import-untyped .
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--disable-error-code import-untyped isn't valid for earlier versions of mypy, which are in turn necessary to support python 3.7

@@ -17,6 +17,6 @@ systemd-python
wireguard-tools
sqlmodel==0.0.19
google-cloud-compute
cryptography==42.0.8
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addresses a CVE in <43.0.1

@rtertiaer rtertiaer requested a review from linknum23 December 4, 2024 20:43
@rtertiaer rtertiaer merged commit da04444 into main Dec 4, 2024
10 checks passed
@rtertiaer rtertiaer deleted the test_against_more_python branch December 4, 2024 21:17
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