You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by Valentyn Tymofieiev <va...@google.com> on 2021/11/09 21:18:24 UTC
[PROPOSAL] Automated generation of requirement files for Python
Docker images
I have been working on Python 3.9 support and had to revisit the
dependencies we include in our Python container images as per
base_image_requirements.txt[1].
I find that maintaining this file is inconvenient and the versions
specified there are not the versions that we actually install. I put
together a proposal on how we could generate this list in an automated way
from a smaller set of dependencies and constraints that we maintain
manually: https://s.apache.org/beam-python-image-requirements.
Comments and suggestions are appreciated.
I also have a prototype PR that implements this proposal, which I am still
making changes to.
Thanks!
[1]
https://github.com/apache/beam/blob/master/sdks/python/container/base_image_requirements.txt
[2] https://github.com/apache/beam/pull/15927
Re: [PROPOSAL] Automated generation of requirement files for Python Docker images
Posted by Valentyn Tymofieiev <va...@google.com>.
Thanks for the feedback here and on the doc. The PR has been merged. Feel
free to bump this thread if you encounter any issues due to this change.
On Tue, Nov 9, 2021 at 1:28 PM Robert Bradshaw <ro...@google.com> wrote:
> Looks good to me. Thanks for taking this on.
>
> On Tue, Nov 9, 2021 at 1:19 PM Valentyn Tymofieiev <va...@google.com>
> wrote:
> >
> > I have been working on Python 3.9 support and had to revisit the
> dependencies we include in our Python container images as per
> base_image_requirements.txt[1].
> >
> > I find that maintaining this file is inconvenient and the versions
> specified there are not the versions that we actually install. I put
> together a proposal on how we could generate this list in an automated way
> from a smaller set of dependencies and constraints that we maintain
> manually: https://s.apache.org/beam-python-image-requirements.
> >
> > Comments and suggestions are appreciated.
> >
> > I also have a prototype PR that implements this proposal, which I am
> still making changes to.
> >
> > Thanks!
> >
> > [1]
> https://github.com/apache/beam/blob/master/sdks/python/container/base_image_requirements.txt
> > [2] https://github.com/apache/beam/pull/15927
>
Re: [PROPOSAL] Automated generation of requirement files for Python
Docker images
Posted by Robert Bradshaw <ro...@google.com>.
Looks good to me. Thanks for taking this on.
On Tue, Nov 9, 2021 at 1:19 PM Valentyn Tymofieiev <va...@google.com> wrote:
>
> I have been working on Python 3.9 support and had to revisit the dependencies we include in our Python container images as per base_image_requirements.txt[1].
>
> I find that maintaining this file is inconvenient and the versions specified there are not the versions that we actually install. I put together a proposal on how we could generate this list in an automated way from a smaller set of dependencies and constraints that we maintain manually: https://s.apache.org/beam-python-image-requirements.
>
> Comments and suggestions are appreciated.
>
> I also have a prototype PR that implements this proposal, which I am still making changes to.
>
> Thanks!
>
> [1] https://github.com/apache/beam/blob/master/sdks/python/container/base_image_requirements.txt
> [2] https://github.com/apache/beam/pull/15927