tvalentyn commented on code in PR #31479:
URL: https://github.com/apache/beam/pull/31479#discussion_r1625244932
##########
sdks/java/extensions/python/src/main/resources/org/apache/beam/sdk/extensions/python/bootstrap_beam_venv.py:
##########
@@ -64,13 +63,13 @@ def main():
info = json.load(
urllib.request.urlopen("https://pypi.org/pypi/apache_beam/json"))
- def maybe_strict_version(s):
- try:
- return parse_version(s)
- except:
- return parse_version('0.0')
+ def released_version(s):
Review Comment:
I have a simpler fix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]