Skip to content

Conversation

@lalten
Copy link
Contributor

@lalten lalten commented Oct 20, 2025

Add libpython QNX platform support.
Note that the qnx py toolchain must come from somewhere else, this doesn't add an interpreter

@lalten lalten marked this pull request as ready for review October 20, 2025 09:36
@lalten
Copy link
Contributor Author

lalten commented Oct 20, 2025

@rickeylev / @aignas could you please retrigger CI? It failed due to yesterday's Docker Hub outage

"lib/libpython{major}.{minor}.so.1.0".format(**version_dict),
],
"@platforms//os:macos": ["lib/libpython{major}.{minor}.dylib".format(**version_dict)],
"@platforms//os:qnx": [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you please refactor the code so that this is the default? It seems that linux and qnx have the same code here, so in theory we could just default to that. I wonder if that would incidentally also help FreeBSD, which we don't support, but you never know what PR will come in the future.

@rickeylev, what would you think about this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done, I think that's a good idea

Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

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

I think this is fine, we can skip the CHANGELOG notes for this because it is not a platform we advertise supporting and there is no CI for this, so this is just a refactor of the select statement.

@aignas aignas added this pull request to the merge queue Oct 26, 2025
Merged via the queue into bazel-contrib:main with commit 74d7698 Oct 26, 2025
4 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