Skip to content

python3 migration for build - #451

Closed
mattlqx wants to merge 1 commit into
webdevops:masterfrom
mattlqx:python3
Closed

mattlqx wants to merge 1 commit into
webdevops:masterfrom
mattlqx:python3

Conversation

@mattlqx

@mattlqx mattlqx commented Jun 12, 2022

Copy link
Copy Markdown

python (python 2.x) is no longer distributed on Ubuntu, Mac and several other distros. This pull changes all the build interpreters to use python3 and makes appropriate changes to do proper make.

Updates serverspec Gemfile for Ruby 3 compatibility.

Not sure what else would need done to accommodate CI but this works for me on Ubuntu 22.

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Kanti

Kanti commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

Thank you for this, and sorry that it sat here without an answer for so long.

You were right that building needed Python 2, which most systems no longer ship. We have now solved it differently: #604 rewrites the generator in PHP and removes Python from the build altogether, so make generate only needs make and Docker. Because of that, this PR won't be merged, and I'm closing it in favor of #604.

Thanks again for pointing at the problem early. If you still build the images yourself, I'd be glad to hear whether #604 works for you.

@Kanti Kanti closed this Nov 11, 2026
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