-
Notifications
You must be signed in to change notification settings - Fork 516
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
chore!: drop python 3.6 support #2247
chore!: drop python 3.6 support #2247
Conversation
The integration test action used von-image as a base which had python 3.6 installed. I switched the base image to a locally built indy base image ( |
Could we not add a new von-image that is based on Python 3.9 so everything is essentially the same? Definitely think we should be use Askar as the default. |
LGTM, but deferring to @WadeBarnes for a final answer and merge. |
Integration tests didn't finish cleanly -- I'll have to take a closer look |
I'll try to keep this timely but if someone beats me to it, contributions are welcome |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor recommendations
The integration tests are running through to completion locally for me. It seems like they are getting hung up somewhere in GHA. |
So good to merge then, @WadeBarnes ? |
@dbluhm — can you update the branch so we can merge? |
@swcurran , Not yet, there are some changes that need to be made. @dbluhm, I can make the changes if you agree to them. |
I agree with the recommended changes. I wondered if it made sense to continue to test against 3.7 and 3.8 but given that I bumped the minimum version to 3.9, that wouldn't really make sense. |
@WadeBarnes if we update lines like this one in the demo, we could probably change the base from |
Who’s got the ball on this one? I’d really like to get this merged... |
In my court. I'll get things done first thing in the morning. |
@dbluhm, I've made the changes, however I'm unable to push them to the Indicio-tech:chore/drop-py3.6 branch. It seems the permission for maintainers to edit was not set when the PR was created. I can PR to Indicio-tech:chore/drop-py3.6 directly if needed. Let me know. The changes are currently sitting here: WadeBarnes:chore/drop-py3.6 |
@WadeBarnes I merged your branch locally and pushed but I'll see if I can push the right buttons to allow edits from maintainers in case any other changes are needed. It might be because I opened it from Indicio's fork and permissions on our org, not sure. |
Thanks, You should see a checkbox on the PR for the edit option. Example: |
Lots of timeout errors in the integration tests. I'll have to look into those. |
Lets figure out the issue with the test first and then decide how to proceed. |
Quick update on the integration test issue. It's definitely something to do with the differences in the base images used for the bdd tests. When using the original base image the tests run to completion. When using the updates that use the indy-base image there are timeout errors. What's strange is the issues only occur on GHA, when the same setup is used locally on an Ubuntu devContainer the tests run just fine. Run using the original base image setup: Runs using the updated base image setup:
|
Suspecting a startup timing issue. Testing that theory. Edit: That's not it |
The issues are related to the Python version of the base, |
I need a little help with this issue. I'm not having much luck tracking down why the tests will run locally but not in GHA. My most recent run of the tests with logging set to I'm hope I'm missing something simple. I've limited the testing to I've added the devContainer I'm using for local testing to the |
I'll see if I can squeeze in some time to analyze! |
I attempted increasing timeouts on the off chance it simply wasn't ready in time and observed the same failures. I've reverted the timeout change. |
Update setup.py minimum python version requirement. Update workflows to use Python 3.9 by default. Update container image docs. Signed-off-by: Daniel Bluhm <[email protected]>
Signed-off-by: Daniel Bluhm <[email protected]>
- Update workflows, remove support for Python 3.7 and 3.8 - Update Dockerfiles to use `py39` images. - Update docs Signed-off-by: Wade Barnes <[email protected]>
Co-authored-by: Darko Kulic <[email protected]> Signed-off-by: Daniel Bluhm <[email protected]>
Signed-off-by: Daniel Bluhm <[email protected]>
For posterity's sake, the issue was resolved by increasing the number of workers on the thread pool used to spawn the subprocesses for the mediators in the integration tests. On github action runners, the default pool size was 10 (number of processors * 5). This default changed in 3.8 and witnessed in our tests in 3.9:
Found here: https://docs.python.org/3.9/library/concurrent.futures.html#concurrent.futures.ThreadPoolExecutor So max number of workers dropped from 10 to 6 by default, preventing the mediator process from spawning because the pool was full. |
@swcurran What is the order of operations required to get this merged? We need to finalize 0.8.2, right? |
@swcurran, has requested this be merged after the pending release. I'll make the updates to the required checks right before this PR is merged, otherwise it will adversely affect other pending PRs. |
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Once the tests are complete I just need to adjust the required status checks before merging. |
Update setup.py minimum python version requirement.
Update workflows to use Python 3.9 by default.
Update container image docs.
@swcurran @WadeBarnes I believe these are the relevant changes in workflows and setup files in order to officially drop Python 3.6. I think once we've made the transition, there are a number of dependencies that ought to be updated. I think those updates are best suited to a follow up PR.
closes: #2244