Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

chore: remove EoL Python 3.7 from test matrix and other CI improvements#252

Merged
shushen merged 4 commits intomasterfrom
update-test-matrix
Nov 3, 2023
Merged

chore: remove EoL Python 3.7 from test matrix and other CI improvements#252
shushen merged 4 commits intomasterfrom
update-test-matrix

Conversation

@shushen
Copy link
Contributor

@shushen shushen commented Nov 1, 2023

Issue #, if available:
n/a

Description of changes:

  • fix: force int type for random.randint() per deprecation warning from Python 3.10 onwards and unsupported from 3.12
  • chore: bump github action aws-actions/configure-aws-credentials@v4
  • chore: bump Github actions for CodeQL
  • chore: remove EoL Python 3.7 from test matrix as it has reached end-of-life on 2023-06-27.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@shushen shushen force-pushed the update-test-matrix branch from f45e453 to 1cfd63f Compare November 2, 2023 01:36
@shushen shushen force-pushed the update-test-matrix branch from 1cfd63f to c896ab2 Compare November 2, 2023 18:29
@shushen shushen changed the title chore: remove EoL Python 3.7 and add 3.11/3.12 to test matrix chore: remove EoL Python 3.7 from test matrix and other CI improvements Nov 2, 2023
@shushen shushen marked this pull request as ready for review November 2, 2023 19:17
Copy link
Contributor

@trstephen-amazon trstephen-amazon left a comment

Choose a reason for hiding this comment

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

Thoughts on bumping the readme to be "requires Python 3.8 or later"? It should still work on 3.6, until we use features added in later versions!

matrix :
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10']
Copy link
Contributor

Choose a reason for hiding this comment

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

curious: do 3.11 and 3.12 work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, some weird dependency installation failure on Windows with 3.12. See #253 (WIP).

@shushen
Copy link
Contributor Author

shushen commented Nov 3, 2023

Thoughts on bumping the readme to be "requires Python 3.8 or later"? It should still work on 3.6, until we use features added in later versions!

Will have to update this later when we sorted out the matrix in #253. You are correct, we are only dropping the tests for Python releases no longer supported, which doesn't mean it won't work.

@shushen shushen merged commit 06bef2f into master Nov 3, 2023
@shushen shushen deleted the update-test-matrix branch November 3, 2023 17:58
@trstephen-amazon trstephen-amazon mentioned this pull request Apr 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants