I think the resolution of the terraform-aws-eks example that started this discussion is a good one. The maintainer clearly stated his political in the README, but left the license alone without a country specific restriction. This is what I meant by separation between the speech, and commercial or OSS distribution.
> Would you be comfortable with an open source license that bans Jewish users because of the Palestinian conflict?
Comfortable is a loaded term here. No I wouldn't, but I could break that down to: Is it something that a maintainer should ...
* legally be able to do - YES
* consider likely to make a difference in the conflict - NO
* consider to be good for the OSS ecosystem - NO
* consider ethically wise - NO
* still consider an OSS license - NO, but I think one could be constructed that had more generic restrictions against human rights abuses, or use by militaries, or similar general restriction. Would that meet OSI definitions? Not sure I care, but I wouldn't be too concerned even I think it would be better to keep things simple.
It is worth noting that OSS distributed from the US as part of sale, still is subject to EAR. While we benefit from having a global community of OSS, local laws still apply in any number of circumstances.