Skip to content

Use python3.8 in docker images#416

Merged
EdwardLarson merged 6 commits into
redballoonsecurity:masterfrom
ANogin:feature/python3.8
Feb 12, 2024
Merged

Use python3.8 in docker images#416
EdwardLarson merged 6 commits into
redballoonsecurity:masterfrom
ANogin:feature/python3.8

Conversation

@ANogin
Copy link
Copy Markdown
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

Aleksey Nogin added 4 commits February 9, 2024 00:52
@ANogin ANogin mentioned this pull request Feb 9, 2024
1 task
Comment thread ofrak_core/Dockerstub
@ANogin ANogin requested a review from EdwardLarson February 10, 2024 01:14
Copy link
Copy Markdown
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?

Comment thread ofrak_type/setup.py
@ANogin
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

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
@ANogin ANogin deleted the feature/python3.8 branch February 18, 2024 01:54
ANogin pushed 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