-
Notifications
You must be signed in to change notification settings - Fork 313
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 docker container for CI #1393
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update circleci docker container with python 3.7 removed and python 3.12 added depends on Sceptre/sceptre-circleci#19
iainelder
reviewed
Nov 28, 2023
iainelder
reviewed
Nov 28, 2023
iainelder
reviewed
Nov 28, 2023
iainelder
reviewed
Nov 28, 2023
iainelder
reviewed
Nov 28, 2023
If the tests pass, then it looks good to me. I haven't had time to run these locally, but I trust the CI. The custom image does have all the Python versions we expect. $ docker run -it --rm sceptreorg/sceptre-circleci:2.1.0 bash -c 'for py in python3.{7,8,9,10,11,12}; do "$py" --version; done'
bash: line 1: python3.7: command not found
Python 3.8.18
Python 3.9.18
Python 3.10.6
Python 3.11.6
Python 3.12.0 |
iainelder
approved these changes
Dec 2, 2023
I suppose we need to look at #1390 after this to finish adding support for Python 3.12. The main point here is to drop support for Python 3.7. |
zaro0508
pushed a commit
that referenced
this pull request
Dec 3, 2023
Adds explicit support for Python 3.12. These are the minimal changes I needed for `pytest` to pass on 3.12 and macOS: * Replaces deprecated [`datetime.datetime.utcnow`](https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow) * Replaces `called_once_with` with `assert_called_once_with`, which now [raises](python/cpython#100690) `AttributeError: 'called_once_with' is not a valid assertion` * Bumps `pytest` due to `DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead` pytest-dev/pytest#10977 * Refreshes the lockfile depends on #1393
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update circleci docker container with python 3.7 removed and python 3.12 added
depends on Sceptre/sceptre-circleci#19