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

Use python3.8 in docker images #416

Merged
merged 6 commits into from
Feb 12, 2024

Conversation

ANogin
Copy link
Contributor

@ANogin ANogin commented Feb 9, 2024

One sentence summary of this PR (This should go in the CHANGELOG!)
Update docker configuration to use Python 3.8, rather than 3.7

Link to Related Issue(s)
N/A

Please describe the changes in your request.
Switches the docker configuration from the previous pinned python:3.7-bullseye docker version to the latest-as-of-today python:3.8-bullseye one.

Anyone you think should look at this, specifically?
@whyitfor

@ANogin ANogin mentioned this pull request Feb 9, 2024
1 task
@ANogin ANogin requested a review from EdwardLarson February 10, 2024 01:14
Copy link
Contributor

@whyitfor whyitfor left a comment

Choose a reason for hiding this comment

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

With this change, all of our testing will be done on Python 3.8.

Since python3.7 is eol, we will eventually want to update the python_requires for the ofrak setup.py files to alert dropping of 3.7. This isn't strictly needed now, though, and could arguably cause annoyance to users of OFRAK currently on 3.7.

@ANogin, perhaps it makese sense to add to the README or to the documentation a note that 3.7 is generally supported by that all testing is done on 3.8, which is the recommended version?

ofrak_type/setup.py Show resolved Hide resolved
@ANogin
Copy link
Contributor Author

ANogin commented Feb 11, 2024

@ANogin, perhaps it makese sense to add to the README or to the documentation a note that 3.7 is generally supported by that all testing is done on 3.8, which is the recommended version?

There were two places in the documentation that specified the Python version, I've added a note to both.

Copy link
Contributor

@whyitfor whyitfor left a comment

Choose a reason for hiding this comment

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

LGTM.

@whyitfor
Copy link
Contributor

@EdwardLarson, do you think this necessitates changelog entires? My read is no: the changelogs seem to describe the Python projects, and not necessarily the Docker build environment.

@EdwardLarson
Copy link
Collaborator

@EdwardLarson, do you think this necessitates changelog entires? My read is no: the changelogs seem to describe the Python projects, and not necessarily the Docker build environment.

Nah, I agree with your take on the changelog. This is not a new feature/bugfix.

@EdwardLarson EdwardLarson merged commit 5c1cd3b into redballoonsecurity:master Feb 12, 2024
5 checks passed
@ANogin ANogin deleted the feature/python3.8 branch February 18, 2024 01:54
ANogin added a commit to ANogin/ofrak that referenced this pull request May 30, 2024
* Use python3.8 in docker images

* Require pytest<8.0

This is needed becase of pytest-dev/pytest#11890
TvoroG/pytest-lazy-fixture#65

* Update changelog

* Revert "Update changelog"

This reverts commit 500ee9b.

Making changes before having coffee :(

* Add a note on recommending Python 3.8

* `ofrak_core` also needs `pytest<8.0`
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