You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 21:05:22 UTC
[GitHub] [beam] kennknowles opened a new issue, #18844: Non-working Python 3 versions are installable on PyPI
kennknowles opened a new issue, #18844:
URL: https://github.com/apache/beam/issues/18844
Beam does not currently support Python 3, however, it's possible to install _some versions_ from PyPI / Warehouse under Python 3 today. (It appears the config was fixed after 2.2.0 - https://github.com/apache/beam/commit/807b4bcefd877440c12f7fc3b401446e21899904.)
This affects the following 5 versions:
```
$ pip3 install apache-beam==-1
Collecting apache-beam==-1
Could not find a version that satisfies
the requirement apache-beam==-1 (from versions: 0.6.0, 2.0.0, 2.1.0, 2.1.1, 2.2.0)
No matching distribution
found for apache-beam==-1
```
This is a confusing experience for users (customers) to discover that it's incompatible only on import after installing the package (and not reading the docs) via the error message:
```
RuntimeError: The Apache Beam SDK for Python is supported only on Python 2.7. It is not supported on
Python [sys.version_info(major=3, minor=6, micro=4, releaselevel='final', serial=0)].
```
Since it's not compatible anyway, it's confusing that the non-working package versions are installable.
I don't think there's an easy way to remove just the Python 3 build from the wheels or in the PyPI GUI. As far as I can tell, this would require rebuilding **** re-uploading the Python 2 wheels for affected versions.
Imported from Jira [BEAM-4025](https://issues.apache.org/jira/browse/BEAM-4025). Original Jira may contain additional context.
Reported by: tedmiston.
--
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: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] kennknowles commented on issue #18844: Non-working Python 3 versions are installable on PyPI
Posted by "kennknowles (via GitHub)" <gi...@apache.org>.
kennknowles commented on issue #18844:
URL: https://github.com/apache/beam/issues/18844#issuecomment-1430439530
Good thought. I guess we never created milestones going back. I think we can just close without a milestone, as it is old enough people are probably not reviewing those release notes much.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] CAM-Gerlach commented on issue #18844: Non-working Python 3 versions are installable on PyPI
Posted by "CAM-Gerlach (via GitHub)" <gi...@apache.org>.
CAM-Gerlach commented on issue #18844:
URL: https://github.com/apache/beam/issues/18844#issuecomment-1428973413
Sure! If the milestone needs to be set, maybe it should be set to 2.14.0, which is the first version with Python 3 support?
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] kennknowles closed issue #18844: Non-working Python 3 versions are installable on PyPI
Posted by "kennknowles (via GitHub)" <gi...@apache.org>.
kennknowles closed issue #18844: Non-working Python 3 versions are installable on PyPI
URL: https://github.com/apache/beam/issues/18844
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] CAM-Gerlach commented on issue #18844: Non-working Python 3 versions are installable on PyPI
Posted by "CAM-Gerlach (via GitHub)" <gi...@apache.org>.
CAM-Gerlach commented on issue #18844:
URL: https://github.com/apache/beam/issues/18844#issuecomment-1427546735
This is presumably no longer a valid issue, now that Apache Beam has supported Python 3 for a number of years and dropped Python 2 support a couple years ago, so presumably it should be closed, no?
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] CAM-Gerlach commented on issue #18844: Non-working Python 3 versions are installable on PyPI
Posted by "CAM-Gerlach (via GitHub)" <gi...@apache.org>.
CAM-Gerlach commented on issue #18844:
URL: https://github.com/apache/beam/issues/18844#issuecomment-1432327499
I figure it's harmless, but just in case—after commenting on this issue I got two GH Actions failure notifications:
* https://github.com/apache/beam/actions/runs/4169541700
* https://github.com/apache/beam/actions/runs/4169541699
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] kennknowles commented on issue #18844: Non-working Python 3 versions are installable on PyPI
Posted by "kennknowles (via GitHub)" <gi...@apache.org>.
kennknowles commented on issue #18844:
URL: https://github.com/apache/beam/issues/18844#issuecomment-1428649707
Thanks for noticing!
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org