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

Upgrade python to version 3.12 #3067

Merged
merged 9 commits into from
Jul 5, 2024

Conversation

jamshale
Copy link
Contributor

@jamshale jamshale commented Jun 25, 2024

Changes all usage of python 3.9 to 3.12. There was almost no changes to code needed.

The only changes were in the demo and the wait_for function call had a change in arguments. Also one unit test assertion, and a timing or race condition issue with one integration test. I believe might be caused by speed improvements with python. A small sleep statement seemed to solve it.

The acapy docker images for 3.12 obviously aren't available yet and all of the demos that use docker images should be updated later after release.

@jamshale jamshale marked this pull request as ready for review June 25, 2024 22:50
@jamshale jamshale force-pushed the upgrade-python branch 2 times, most recently from ccef483 to c88c8f4 Compare July 3, 2024 16:25
@jamshale jamshale changed the title Upgrade python [Do Not Merge] [WIP] Upgrade python to version 3.12 Jul 3, 2024
@jamshale
Copy link
Contributor Author

jamshale commented Jul 3, 2024

I think we can ignore the security issue reported. It's to do with running the demo image as root user.

@jamshale jamshale requested review from dbluhm and ianco July 3, 2024 16:54
Copy link
Contributor

@ianco ianco left a comment

Choose a reason for hiding this comment

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

Looks good. I like that there are no (few) code changes required,

ianco
ianco previously approved these changes Jul 4, 2024
Copy link

sonarcloud bot commented Jul 4, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarCloud

@swcurran swcurran requested a review from ianco July 4, 2024 23:30
@jamshale jamshale merged commit 8d4ee58 into openwallet-foundation:main Jul 5, 2024
7 of 8 checks passed
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.

2 participants