You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@heron.apache.org by Josh Fischer <jo...@joshfischer.io> on 2022/01/01 17:46:20 UTC
Re: [DISCUSS] Next Release
Hey All,
After doing work on the next RC we've found some issues related to Python
and Pex. I'm thinking we need to remove the custom Pex rules from repo
and depend on native bazel rules. I'll create a branch within the Heron
repo to start work on it. I'll most likely have some questions for
everyone, and I'd like feedback as we go along.
Thanks
On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <sa...@apache.org>
wrote:
> Thank you, Josh, that would be very interesting indeed.
>
> On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <jo...@joshfischer.io>
> wrote:
>
> > Saad,
> >
> > I welcome any help. If you are interested I can walk you through the
> > process.
> >
> > On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <sa...@apache.org>
> > wrote:
> >
> > > Thank you, Josh. Please let me know if there is anything I can do to
> > help.
> > >
> > > On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <jo...@joshfischer.io>
> > > wrote:
> > >
> > > > Nick,
> > > > I would appreciate the help if you are willing.
> > > >
> > > > Saad,
> > > >
> > > > Ok, I’ll start the process Sunday or Monday.
> > > >
> > > >
> > > >
> > > > On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
> wrote:
> > > >
> > > > > I feel we are in a good place to cut a release as well.
> > > > >
> > > > > On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
> > > > > nicholas.nezis@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Yes I think we should cut a release now. The remaining PRs can
> wait
> > > and
> > > > > may
> > > > > > change APIs.
> > > > > >
> > > > > > I'd like to help with publishing any release artifacts that we
> > > haven't
> > > > > > published previously. Specifically thinking of HeronPy and Helm
> > > > > artifacts.
> > > > > >
> > > > > > On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <jo...@joshfischer.io>
> > > > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > The kubernetes scheduler PRs are now completed and merged. I
> > know
> > > we
> > > > > > have
> > > > > > > a couple of PRs that were recently opened, do we need to wait
> for
> > > any
> > > > > of
> > > > > > > those before we start the voting process?
> > > > > > >
> > > > > > > - Josh
> > > > > > >
> > > > > >
> > > > >
> > > > --
> > > > Sent from A Mobile Device
> > > >
> > >
> > --
> > Sent from A Mobile Device
> >
>
Re: [DISCUSS] Next Release
Posted by Josh Fischer <jo...@joshfischer.io>.
I can clean this up tonight and file a ticket. Nick, I’ll cc you in the
ticket so you see what’s going on.
On Mon, Jan 3, 2022 at 5:21 PM Dave Fisher <wa...@apache.org> wrote:
> The script on ci-builds.a.o is:
>
> #!/bin/bash
>
> set -e
> set -o pipefail
>
> # Install Python
> #sudo apt-get install python3-venv
>
> # Install bazel (linux build) because CI hosts may not have it installed
> #bash scripts/ci/setup_bazel.sh linux
>
> HERON_BUILD_VERSION=$(echo $HERON_GIT_TAG | rev | cut -c5- | rev)
>
> #mkdir -p artifacts/$HERON_BUILD_VERSION/heron-api
> #mkdir -p artifacts/$HERON_BUILD_VERSION/heron-spi
> #mkdir -p artifacts/$HERON_BUILD_VERSION/heron-simulator
> #mkdir -p artifacts/$HERON_BUILD_VERSION/heron-storm
>
> bazelVersion=4.1.0
>
> # Build v0.20.1-incubating packages for centos7 and put in artifacts folder
> HERON_BUILD_USER=release-agent
> #bash scripts/ci/build_maven_artifacts.sh $HERON_BUILD_VERSION artifacts
> docker run --rm -w /incubator-heron -v ${PWD}:/incubator-heron
> openjdk:11.0.6-jdk-buster \
> bash apt-get update && apt-get install -y \
> wget \
> && wget -O /tmp/bazel.sh
> https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh
> \
> && /incubator-heron/scripts/ci/build_maven_artifacts.sh
> $HERON_BUILD_VERSION artifacts
>
> There are several lines commented out. Please correct this to how it needs
> to run and then I can work with Infra to adjust it properly.
>
> Regards,
> Dave
>
> > On Jan 3, 2022, at 2:28 PM, Nicholas Nezis <ni...@gmail.com>
> wrote:
> >
> > Dave,
> >
> > Could we get help? I'm not sure how to ask the Infrastructure team about
> > the python3-venv package. Is there an alias?
> >
> > And with regards to the requirements.txt. I agree. It seems the project
> > uses it in some places, but also has these dependencies listed here that
> > are built. They seem to be used in the "tools/rules/pex/BUILD" script.
> > Perhaps there is a reason they need to be referenced like this? Seems
> like
> > it's maybe something originally setup that can now be improved.
> >
> https://github.com/apache/incubator-heron/blob/fab089ce2c9cdbdd2d6a7ef7cda6cf22b201469c/WORKSPACE#L178-L240
> >
> > On Mon, Jan 3, 2022 at 4:57 PM Dave Fisher <wa...@apache.org> wrote:
> >
> >>
> >>
> >>> On Jan 3, 2022, at 1:25 PM, Nicholas Nezis <ni...@gmail.com>
> >> wrote:
> >>>
> >>> I don't think this should be a blocker to cutting the release. Removing
> >> PEX
> >>> might have various consequences.
> >>>
> >>> We should still attempt to remove it if we think this is the issue,
> but I
> >>> suspect we were running into other issues.
> >>> 1. Building on non AMD64 architecture
> >>> a. I'm happy to help build locally
> >>> 2. Building on Jenkins which doesn't have the python3-venv package.
> >>> a. Can we request the package be installed? I'm not sure how we ask
> >> the
> >>> build infrastructure team to add it.
> >>
> >> I’m surprised that venv is missing from the python setup. That’s
> somewhat
> >> core to Infra’s process.
> >>
> >> - Send an email to builds@apache.org
> >> - Create an INFRA Jira at issues.apache.org/jira login with your apache
> >> id.
> >>
> >>> b. We can convert our build script to use Docker for the build. This
> >>> might take a bit more effort compared to adding python3-venv
> >>>
> >>> Often we have had issues with Python compatibility. And some of those
> >>> issues were related to the move from Python 2 to Python 3. Another
> >>> complicating factor is that we often have trouble updating some of the
> >>> dependencies because instead of using `pip3 install` to download a
> >>> dependency, we instead download the source and compile the packages.
> This
> >>> may provide more flexibility to run on different architectures, but
> also
> >>> can add an extra layer of complexity depending on each package's needs.
> >>
> >> Why wouldn’t we just use a requirements.txt with pip3?
> >>
> >>>
> >>> So while I think the move from Pex to the more native Bazel Python
> binary
> >>> rules might be better, I don't know if it directly addresses the
> >> perceived
> >>> issues.
> >>>
> >>> On Sun, Jan 2, 2022 at 1:12 AM Ning Wang <wa...@gmail.com> wrote:
> >>>
> >>>> it seems like pex has been painful to maintain. It would be great to
> try
> >>>> the official rule. Thanks!
> >>>>
> >>>> On Sat, Jan 1, 2022 at 11:30 AM Saad Ur Rahman <
> saadurrahman@apache.org
> >>>
> >>>> wrote:
> >>>>
> >>>>> I will assist as much as I can with the migration.
> >>>>>
> >>>>> On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io>
> >>>> wrote:
> >>>>>
> >>>>>> Hey All,
> >>>>>>
> >>>>>> After doing work on the next RC we've found some issues related to
> >>>> Python
> >>>>>> and Pex. I'm thinking we need to remove the custom Pex rules from
> >>>> repo
> >>>>>> and depend on native bazel rules. I'll create a branch within the
> >>>> Heron
> >>>>>> repo to start work on it. I'll most likely have some questions for
> >>>>>> everyone, and I'd like feedback as we go along.
> >>>>>>
> >>>>>> Thanks
> >>>>>>
> >>>>>> On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <
> >>>> saadurrahman@apache.org>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> Thank you, Josh, that would be very interesting indeed.
> >>>>>>>
> >>>>>>> On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <
> josh@joshfischer.io
> >>>>>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> Saad,
> >>>>>>>>
> >>>>>>>> I welcome any help. If you are interested I can walk you through
> >>>> the
> >>>>>>>> process.
> >>>>>>>>
> >>>>>>>> On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
> >>>>>> saadurrahman@apache.org>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> Thank you, Josh. Please let me know if there is anything I can do
> >>>>> to
> >>>>>>>> help.
> >>>>>>>>>
> >>>>>>>>> On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <
> >>>>> josh@joshfischer.io
> >>>>>>>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> Nick,
> >>>>>>>>>> I would appreciate the help if you are willing.
> >>>>>>>>>>
> >>>>>>>>>> Saad,
> >>>>>>>>>>
> >>>>>>>>>> Ok, I’ll start the process Sunday or Monday.
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
> >>>>>>> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> I feel we are in a good place to cut a release as well.
> >>>>>>>>>>>
> >>>>>>>>>>> On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
> >>>>>>>>>>> nicholas.nezis@gmail.com>
> >>>>>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> Yes I think we should cut a release now. The remaining PRs
> >>>>> can
> >>>>>>> wait
> >>>>>>>>> and
> >>>>>>>>>>> may
> >>>>>>>>>>>> change APIs.
> >>>>>>>>>>>>
> >>>>>>>>>>>> I'd like to help with publishing any release artifacts that
> >>>>> we
> >>>>>>>>> haven't
> >>>>>>>>>>>> published previously. Specifically thinking of HeronPy and
> >>>>> Helm
> >>>>>>>>>>> artifacts.
> >>>>>>>>>>>>
> >>>>>>>>>>>> On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
> >>>>>> josh@joshfischer.io>
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> The kubernetes scheduler PRs are now completed and
> >>>>> merged. I
> >>>>>>>> know
> >>>>>>>>> we
> >>>>>>>>>>>> have
> >>>>>>>>>>>>> a couple of PRs that were recently opened, do we need to
> >>>>> wait
> >>>>>>> for
> >>>>>>>>> any
> >>>>>>>>>>> of
> >>>>>>>>>>>>> those before we start the voting process?
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> - Josh
> >>>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>> Sent from A Mobile Device
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>> --
> >>>>>>>> Sent from A Mobile Device
> >>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>
> >>
>
> --
Sent from A Mobile Device
Re: [DISCUSS] Next Release
Posted by Dave Fisher <wa...@apache.org>.
The script on ci-builds.a.o is:
#!/bin/bash
set -e
set -o pipefail
# Install Python
#sudo apt-get install python3-venv
# Install bazel (linux build) because CI hosts may not have it installed
#bash scripts/ci/setup_bazel.sh linux
HERON_BUILD_VERSION=$(echo $HERON_GIT_TAG | rev | cut -c5- | rev)
#mkdir -p artifacts/$HERON_BUILD_VERSION/heron-api
#mkdir -p artifacts/$HERON_BUILD_VERSION/heron-spi
#mkdir -p artifacts/$HERON_BUILD_VERSION/heron-simulator
#mkdir -p artifacts/$HERON_BUILD_VERSION/heron-storm
bazelVersion=4.1.0
# Build v0.20.1-incubating packages for centos7 and put in artifacts folder
HERON_BUILD_USER=release-agent
#bash scripts/ci/build_maven_artifacts.sh $HERON_BUILD_VERSION artifacts
docker run --rm -w /incubator-heron -v ${PWD}:/incubator-heron openjdk:11.0.6-jdk-buster \
bash apt-get update && apt-get install -y \
wget \
&& wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
&& /incubator-heron/scripts/ci/build_maven_artifacts.sh $HERON_BUILD_VERSION artifacts
There are several lines commented out. Please correct this to how it needs to run and then I can work with Infra to adjust it properly.
Regards,
Dave
> On Jan 3, 2022, at 2:28 PM, Nicholas Nezis <ni...@gmail.com> wrote:
>
> Dave,
>
> Could we get help? I'm not sure how to ask the Infrastructure team about
> the python3-venv package. Is there an alias?
>
> And with regards to the requirements.txt. I agree. It seems the project
> uses it in some places, but also has these dependencies listed here that
> are built. They seem to be used in the "tools/rules/pex/BUILD" script.
> Perhaps there is a reason they need to be referenced like this? Seems like
> it's maybe something originally setup that can now be improved.
> https://github.com/apache/incubator-heron/blob/fab089ce2c9cdbdd2d6a7ef7cda6cf22b201469c/WORKSPACE#L178-L240
>
> On Mon, Jan 3, 2022 at 4:57 PM Dave Fisher <wa...@apache.org> wrote:
>
>>
>>
>>> On Jan 3, 2022, at 1:25 PM, Nicholas Nezis <ni...@gmail.com>
>> wrote:
>>>
>>> I don't think this should be a blocker to cutting the release. Removing
>> PEX
>>> might have various consequences.
>>>
>>> We should still attempt to remove it if we think this is the issue, but I
>>> suspect we were running into other issues.
>>> 1. Building on non AMD64 architecture
>>> a. I'm happy to help build locally
>>> 2. Building on Jenkins which doesn't have the python3-venv package.
>>> a. Can we request the package be installed? I'm not sure how we ask
>> the
>>> build infrastructure team to add it.
>>
>> I’m surprised that venv is missing from the python setup. That’s somewhat
>> core to Infra’s process.
>>
>> - Send an email to builds@apache.org
>> - Create an INFRA Jira at issues.apache.org/jira login with your apache
>> id.
>>
>>> b. We can convert our build script to use Docker for the build. This
>>> might take a bit more effort compared to adding python3-venv
>>>
>>> Often we have had issues with Python compatibility. And some of those
>>> issues were related to the move from Python 2 to Python 3. Another
>>> complicating factor is that we often have trouble updating some of the
>>> dependencies because instead of using `pip3 install` to download a
>>> dependency, we instead download the source and compile the packages. This
>>> may provide more flexibility to run on different architectures, but also
>>> can add an extra layer of complexity depending on each package's needs.
>>
>> Why wouldn’t we just use a requirements.txt with pip3?
>>
>>>
>>> So while I think the move from Pex to the more native Bazel Python binary
>>> rules might be better, I don't know if it directly addresses the
>> perceived
>>> issues.
>>>
>>> On Sun, Jan 2, 2022 at 1:12 AM Ning Wang <wa...@gmail.com> wrote:
>>>
>>>> it seems like pex has been painful to maintain. It would be great to try
>>>> the official rule. Thanks!
>>>>
>>>> On Sat, Jan 1, 2022 at 11:30 AM Saad Ur Rahman <saadurrahman@apache.org
>>>
>>>> wrote:
>>>>
>>>>> I will assist as much as I can with the migration.
>>>>>
>>>>> On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io>
>>>> wrote:
>>>>>
>>>>>> Hey All,
>>>>>>
>>>>>> After doing work on the next RC we've found some issues related to
>>>> Python
>>>>>> and Pex. I'm thinking we need to remove the custom Pex rules from
>>>> repo
>>>>>> and depend on native bazel rules. I'll create a branch within the
>>>> Heron
>>>>>> repo to start work on it. I'll most likely have some questions for
>>>>>> everyone, and I'd like feedback as we go along.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <
>>>> saadurrahman@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Thank you, Josh, that would be very interesting indeed.
>>>>>>>
>>>>>>> On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <josh@joshfischer.io
>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Saad,
>>>>>>>>
>>>>>>>> I welcome any help. If you are interested I can walk you through
>>>> the
>>>>>>>> process.
>>>>>>>>
>>>>>>>> On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
>>>>>> saadurrahman@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thank you, Josh. Please let me know if there is anything I can do
>>>>> to
>>>>>>>> help.
>>>>>>>>>
>>>>>>>>> On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <
>>>>> josh@joshfischer.io
>>>>>>>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Nick,
>>>>>>>>>> I would appreciate the help if you are willing.
>>>>>>>>>>
>>>>>>>>>> Saad,
>>>>>>>>>>
>>>>>>>>>> Ok, I’ll start the process Sunday or Monday.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> I feel we are in a good place to cut a release as well.
>>>>>>>>>>>
>>>>>>>>>>> On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
>>>>>>>>>>> nicholas.nezis@gmail.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Yes I think we should cut a release now. The remaining PRs
>>>>> can
>>>>>>> wait
>>>>>>>>> and
>>>>>>>>>>> may
>>>>>>>>>>>> change APIs.
>>>>>>>>>>>>
>>>>>>>>>>>> I'd like to help with publishing any release artifacts that
>>>>> we
>>>>>>>>> haven't
>>>>>>>>>>>> published previously. Specifically thinking of HeronPy and
>>>>> Helm
>>>>>>>>>>> artifacts.
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
>>>>>> josh@joshfischer.io>
>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> The kubernetes scheduler PRs are now completed and
>>>>> merged. I
>>>>>>>> know
>>>>>>>>> we
>>>>>>>>>>>> have
>>>>>>>>>>>>> a couple of PRs that were recently opened, do we need to
>>>>> wait
>>>>>>> for
>>>>>>>>> any
>>>>>>>>>>> of
>>>>>>>>>>>>> those before we start the voting process?
>>>>>>>>>>>>>
>>>>>>>>>>>>> - Josh
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Sent from A Mobile Device
>>>>>>>>>>
>>>>>>>>>
>>>>>>>> --
>>>>>>>> Sent from A Mobile Device
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>
>>
Re: [DISCUSS] Next Release
Posted by Josh Fischer <jo...@joshfischer.io>.
And oddly enough, I just checked the build we've been talking about, made
some changes and was able to get it to build correctly.
See the status at the link. :shrug:
https://ci-builds.apache.org/job/Heron/job/build_heron-api.jar/17/
On Mon, Jan 3, 2022 at 8:31 PM Josh Fischer <jo...@joshfischer.io> wrote:
> The requirements.txt and Pex dependency issue will get resolved after we
> move to the native bazel rules. I was in the process of creating the ticket
> and it got me thinking. If we have infra go through the trouble of
> installing python3-venv there still may be an issue that we are unaware of
> and could cause a bit of back and forth between us.
>
> Nick,
> Can you just build the client executables (java and python) for us and
> then we can fix the build steps for the job you referenced using a docker
> container in the next release?
>
> Saad made a good point about time since the last release. Even if we file
> a ticket with infra it could take some time before they get to it. By some
> time, I mean a few weeks to a month.
>
> On Mon, Jan 3, 2022 at 4:28 PM Nicholas Nezis <ni...@gmail.com>
> wrote:
>
>> Dave,
>>
>> Could we get help? I'm not sure how to ask the Infrastructure team about
>> the python3-venv package. Is there an alias?
>>
>> And with regards to the requirements.txt. I agree. It seems the project
>> uses it in some places, but also has these dependencies listed here that
>> are built. They seem to be used in the "tools/rules/pex/BUILD" script.
>> Perhaps there is a reason they need to be referenced like this? Seems like
>> it's maybe something originally setup that can now be improved.
>>
>> https://github.com/apache/incubator-heron/blob/fab089ce2c9cdbdd2d6a7ef7cda6cf22b201469c/WORKSPACE#L178-L240
>>
>> On Mon, Jan 3, 2022 at 4:57 PM Dave Fisher <wa...@apache.org> wrote:
>>
>> >
>> >
>> > > On Jan 3, 2022, at 1:25 PM, Nicholas Nezis <ni...@gmail.com>
>> > wrote:
>> > >
>> > > I don't think this should be a blocker to cutting the release.
>> Removing
>> > PEX
>> > > might have various consequences.
>> > >
>> > > We should still attempt to remove it if we think this is the issue,
>> but I
>> > > suspect we were running into other issues.
>> > > 1. Building on non AMD64 architecture
>> > > a. I'm happy to help build locally
>> > > 2. Building on Jenkins which doesn't have the python3-venv package.
>> > > a. Can we request the package be installed? I'm not sure how we ask
>> > the
>> > > build infrastructure team to add it.
>> >
>> > I’m surprised that venv is missing from the python setup. That’s
>> somewhat
>> > core to Infra’s process.
>> >
>> > - Send an email to builds@apache.org
>> > - Create an INFRA Jira at issues.apache.org/jira login with your apache
>> > id.
>> >
>> > > b. We can convert our build script to use Docker for the build.
>> This
>> > > might take a bit more effort compared to adding python3-venv
>> > >
>> > > Often we have had issues with Python compatibility. And some of those
>> > > issues were related to the move from Python 2 to Python 3. Another
>> > > complicating factor is that we often have trouble updating some of the
>> > > dependencies because instead of using `pip3 install` to download a
>> > > dependency, we instead download the source and compile the packages.
>> This
>> > > may provide more flexibility to run on different architectures, but
>> also
>> > > can add an extra layer of complexity depending on each package's
>> needs.
>> >
>> > Why wouldn’t we just use a requirements.txt with pip3?
>> >
>> > >
>> > > So while I think the move from Pex to the more native Bazel Python
>> binary
>> > > rules might be better, I don't know if it directly addresses the
>> > perceived
>> > > issues.
>> > >
>> > > On Sun, Jan 2, 2022 at 1:12 AM Ning Wang <wa...@gmail.com>
>> wrote:
>> > >
>> > >> it seems like pex has been painful to maintain. It would be great to
>> try
>> > >> the official rule. Thanks!
>> > >>
>> > >> On Sat, Jan 1, 2022 at 11:30 AM Saad Ur Rahman <
>> saadurrahman@apache.org
>> > >
>> > >> wrote:
>> > >>
>> > >>> I will assist as much as I can with the migration.
>> > >>>
>> > >>> On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io>
>> > >> wrote:
>> > >>>
>> > >>>> Hey All,
>> > >>>>
>> > >>>> After doing work on the next RC we've found some issues related to
>> > >> Python
>> > >>>> and Pex. I'm thinking we need to remove the custom Pex rules from
>> > >> repo
>> > >>>> and depend on native bazel rules. I'll create a branch within the
>> > >> Heron
>> > >>>> repo to start work on it. I'll most likely have some questions for
>> > >>>> everyone, and I'd like feedback as we go along.
>> > >>>>
>> > >>>> Thanks
>> > >>>>
>> > >>>> On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <
>> > >> saadurrahman@apache.org>
>> > >>>> wrote:
>> > >>>>
>> > >>>>> Thank you, Josh, that would be very interesting indeed.
>> > >>>>>
>> > >>>>> On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <
>> josh@joshfischer.io
>> > >>>
>> > >>>>> wrote:
>> > >>>>>
>> > >>>>>> Saad,
>> > >>>>>>
>> > >>>>>> I welcome any help. If you are interested I can walk you through
>> > >> the
>> > >>>>>> process.
>> > >>>>>>
>> > >>>>>> On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
>> > >>>> saadurrahman@apache.org>
>> > >>>>>> wrote:
>> > >>>>>>
>> > >>>>>>> Thank you, Josh. Please let me know if there is anything I can
>> do
>> > >>> to
>> > >>>>>> help.
>> > >>>>>>>
>> > >>>>>>> On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <
>> > >>> josh@joshfischer.io
>> > >>>>>
>> > >>>>>>> wrote:
>> > >>>>>>>
>> > >>>>>>>> Nick,
>> > >>>>>>>> I would appreciate the help if you are willing.
>> > >>>>>>>>
>> > >>>>>>>> Saad,
>> > >>>>>>>>
>> > >>>>>>>> Ok, I’ll start the process Sunday or Monday.
>> > >>>>>>>>
>> > >>>>>>>>
>> > >>>>>>>>
>> > >>>>>>>> On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
>> > >>>>> wrote:
>> > >>>>>>>>
>> > >>>>>>>>> I feel we are in a good place to cut a release as well.
>> > >>>>>>>>>
>> > >>>>>>>>> On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
>> > >>>>>>>>> nicholas.nezis@gmail.com>
>> > >>>>>>>>> wrote:
>> > >>>>>>>>>
>> > >>>>>>>>>> Yes I think we should cut a release now. The remaining PRs
>> > >>> can
>> > >>>>> wait
>> > >>>>>>> and
>> > >>>>>>>>> may
>> > >>>>>>>>>> change APIs.
>> > >>>>>>>>>>
>> > >>>>>>>>>> I'd like to help with publishing any release artifacts that
>> > >>> we
>> > >>>>>>> haven't
>> > >>>>>>>>>> published previously. Specifically thinking of HeronPy and
>> > >>> Helm
>> > >>>>>>>>> artifacts.
>> > >>>>>>>>>>
>> > >>>>>>>>>> On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
>> > >>>> josh@joshfischer.io>
>> > >>>>>>>> wrote:
>> > >>>>>>>>>>
>> > >>>>>>>>>>> Hi,
>> > >>>>>>>>>>>
>> > >>>>>>>>>>> The kubernetes scheduler PRs are now completed and
>> > >>> merged. I
>> > >>>>>> know
>> > >>>>>>> we
>> > >>>>>>>>>> have
>> > >>>>>>>>>>> a couple of PRs that were recently opened, do we need to
>> > >>> wait
>> > >>>>> for
>> > >>>>>>> any
>> > >>>>>>>>> of
>> > >>>>>>>>>>> those before we start the voting process?
>> > >>>>>>>>>>>
>> > >>>>>>>>>>> - Josh
>> > >>>>>>>>>>>
>> > >>>>>>>>>>
>> > >>>>>>>>>
>> > >>>>>>>> --
>> > >>>>>>>> Sent from A Mobile Device
>> > >>>>>>>>
>> > >>>>>>>
>> > >>>>>> --
>> > >>>>>> Sent from A Mobile Device
>> > >>>>>>
>> > >>>>>
>> > >>>>
>> > >>>
>> > >>
>> >
>> >
>>
>
Re: [DISCUSS] Next Release
Posted by Josh Fischer <jo...@joshfischer.io>.
The requirements.txt and Pex dependency issue will get resolved after we
move to the native bazel rules. I was in the process of creating the ticket
and it got me thinking. If we have infra go through the trouble of
installing python3-venv there still may be an issue that we are unaware of
and could cause a bit of back and forth between us.
Nick,
Can you just build the client executables (java and python) for us and then
we can fix the build steps for the job you referenced using a docker
container in the next release?
Saad made a good point about time since the last release. Even if we file
a ticket with infra it could take some time before they get to it. By some
time, I mean a few weeks to a month.
On Mon, Jan 3, 2022 at 4:28 PM Nicholas Nezis <ni...@gmail.com>
wrote:
> Dave,
>
> Could we get help? I'm not sure how to ask the Infrastructure team about
> the python3-venv package. Is there an alias?
>
> And with regards to the requirements.txt. I agree. It seems the project
> uses it in some places, but also has these dependencies listed here that
> are built. They seem to be used in the "tools/rules/pex/BUILD" script.
> Perhaps there is a reason they need to be referenced like this? Seems like
> it's maybe something originally setup that can now be improved.
>
> https://github.com/apache/incubator-heron/blob/fab089ce2c9cdbdd2d6a7ef7cda6cf22b201469c/WORKSPACE#L178-L240
>
> On Mon, Jan 3, 2022 at 4:57 PM Dave Fisher <wa...@apache.org> wrote:
>
> >
> >
> > > On Jan 3, 2022, at 1:25 PM, Nicholas Nezis <ni...@gmail.com>
> > wrote:
> > >
> > > I don't think this should be a blocker to cutting the release. Removing
> > PEX
> > > might have various consequences.
> > >
> > > We should still attempt to remove it if we think this is the issue,
> but I
> > > suspect we were running into other issues.
> > > 1. Building on non AMD64 architecture
> > > a. I'm happy to help build locally
> > > 2. Building on Jenkins which doesn't have the python3-venv package.
> > > a. Can we request the package be installed? I'm not sure how we ask
> > the
> > > build infrastructure team to add it.
> >
> > I’m surprised that venv is missing from the python setup. That’s somewhat
> > core to Infra’s process.
> >
> > - Send an email to builds@apache.org
> > - Create an INFRA Jira at issues.apache.org/jira login with your apache
> > id.
> >
> > > b. We can convert our build script to use Docker for the build. This
> > > might take a bit more effort compared to adding python3-venv
> > >
> > > Often we have had issues with Python compatibility. And some of those
> > > issues were related to the move from Python 2 to Python 3. Another
> > > complicating factor is that we often have trouble updating some of the
> > > dependencies because instead of using `pip3 install` to download a
> > > dependency, we instead download the source and compile the packages.
> This
> > > may provide more flexibility to run on different architectures, but
> also
> > > can add an extra layer of complexity depending on each package's needs.
> >
> > Why wouldn’t we just use a requirements.txt with pip3?
> >
> > >
> > > So while I think the move from Pex to the more native Bazel Python
> binary
> > > rules might be better, I don't know if it directly addresses the
> > perceived
> > > issues.
> > >
> > > On Sun, Jan 2, 2022 at 1:12 AM Ning Wang <wa...@gmail.com> wrote:
> > >
> > >> it seems like pex has been painful to maintain. It would be great to
> try
> > >> the official rule. Thanks!
> > >>
> > >> On Sat, Jan 1, 2022 at 11:30 AM Saad Ur Rahman <
> saadurrahman@apache.org
> > >
> > >> wrote:
> > >>
> > >>> I will assist as much as I can with the migration.
> > >>>
> > >>> On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io>
> > >> wrote:
> > >>>
> > >>>> Hey All,
> > >>>>
> > >>>> After doing work on the next RC we've found some issues related to
> > >> Python
> > >>>> and Pex. I'm thinking we need to remove the custom Pex rules from
> > >> repo
> > >>>> and depend on native bazel rules. I'll create a branch within the
> > >> Heron
> > >>>> repo to start work on it. I'll most likely have some questions for
> > >>>> everyone, and I'd like feedback as we go along.
> > >>>>
> > >>>> Thanks
> > >>>>
> > >>>> On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <
> > >> saadurrahman@apache.org>
> > >>>> wrote:
> > >>>>
> > >>>>> Thank you, Josh, that would be very interesting indeed.
> > >>>>>
> > >>>>> On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <
> josh@joshfischer.io
> > >>>
> > >>>>> wrote:
> > >>>>>
> > >>>>>> Saad,
> > >>>>>>
> > >>>>>> I welcome any help. If you are interested I can walk you through
> > >> the
> > >>>>>> process.
> > >>>>>>
> > >>>>>> On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
> > >>>> saadurrahman@apache.org>
> > >>>>>> wrote:
> > >>>>>>
> > >>>>>>> Thank you, Josh. Please let me know if there is anything I can do
> > >>> to
> > >>>>>> help.
> > >>>>>>>
> > >>>>>>> On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <
> > >>> josh@joshfischer.io
> > >>>>>
> > >>>>>>> wrote:
> > >>>>>>>
> > >>>>>>>> Nick,
> > >>>>>>>> I would appreciate the help if you are willing.
> > >>>>>>>>
> > >>>>>>>> Saad,
> > >>>>>>>>
> > >>>>>>>> Ok, I’ll start the process Sunday or Monday.
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
> > >>>>> wrote:
> > >>>>>>>>
> > >>>>>>>>> I feel we are in a good place to cut a release as well.
> > >>>>>>>>>
> > >>>>>>>>> On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
> > >>>>>>>>> nicholas.nezis@gmail.com>
> > >>>>>>>>> wrote:
> > >>>>>>>>>
> > >>>>>>>>>> Yes I think we should cut a release now. The remaining PRs
> > >>> can
> > >>>>> wait
> > >>>>>>> and
> > >>>>>>>>> may
> > >>>>>>>>>> change APIs.
> > >>>>>>>>>>
> > >>>>>>>>>> I'd like to help with publishing any release artifacts that
> > >>> we
> > >>>>>>> haven't
> > >>>>>>>>>> published previously. Specifically thinking of HeronPy and
> > >>> Helm
> > >>>>>>>>> artifacts.
> > >>>>>>>>>>
> > >>>>>>>>>> On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
> > >>>> josh@joshfischer.io>
> > >>>>>>>> wrote:
> > >>>>>>>>>>
> > >>>>>>>>>>> Hi,
> > >>>>>>>>>>>
> > >>>>>>>>>>> The kubernetes scheduler PRs are now completed and
> > >>> merged. I
> > >>>>>> know
> > >>>>>>> we
> > >>>>>>>>>> have
> > >>>>>>>>>>> a couple of PRs that were recently opened, do we need to
> > >>> wait
> > >>>>> for
> > >>>>>>> any
> > >>>>>>>>> of
> > >>>>>>>>>>> those before we start the voting process?
> > >>>>>>>>>>>
> > >>>>>>>>>>> - Josh
> > >>>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>> --
> > >>>>>>>> Sent from A Mobile Device
> > >>>>>>>>
> > >>>>>>>
> > >>>>>> --
> > >>>>>> Sent from A Mobile Device
> > >>>>>>
> > >>>>>
> > >>>>
> > >>>
> > >>
> >
> >
>
Re: [DISCUSS] Next Release
Posted by Nicholas Nezis <ni...@gmail.com>.
Dave,
Could we get help? I'm not sure how to ask the Infrastructure team about
the python3-venv package. Is there an alias?
And with regards to the requirements.txt. I agree. It seems the project
uses it in some places, but also has these dependencies listed here that
are built. They seem to be used in the "tools/rules/pex/BUILD" script.
Perhaps there is a reason they need to be referenced like this? Seems like
it's maybe something originally setup that can now be improved.
https://github.com/apache/incubator-heron/blob/fab089ce2c9cdbdd2d6a7ef7cda6cf22b201469c/WORKSPACE#L178-L240
On Mon, Jan 3, 2022 at 4:57 PM Dave Fisher <wa...@apache.org> wrote:
>
>
> > On Jan 3, 2022, at 1:25 PM, Nicholas Nezis <ni...@gmail.com>
> wrote:
> >
> > I don't think this should be a blocker to cutting the release. Removing
> PEX
> > might have various consequences.
> >
> > We should still attempt to remove it if we think this is the issue, but I
> > suspect we were running into other issues.
> > 1. Building on non AMD64 architecture
> > a. I'm happy to help build locally
> > 2. Building on Jenkins which doesn't have the python3-venv package.
> > a. Can we request the package be installed? I'm not sure how we ask
> the
> > build infrastructure team to add it.
>
> I’m surprised that venv is missing from the python setup. That’s somewhat
> core to Infra’s process.
>
> - Send an email to builds@apache.org
> - Create an INFRA Jira at issues.apache.org/jira login with your apache
> id.
>
> > b. We can convert our build script to use Docker for the build. This
> > might take a bit more effort compared to adding python3-venv
> >
> > Often we have had issues with Python compatibility. And some of those
> > issues were related to the move from Python 2 to Python 3. Another
> > complicating factor is that we often have trouble updating some of the
> > dependencies because instead of using `pip3 install` to download a
> > dependency, we instead download the source and compile the packages. This
> > may provide more flexibility to run on different architectures, but also
> > can add an extra layer of complexity depending on each package's needs.
>
> Why wouldn’t we just use a requirements.txt with pip3?
>
> >
> > So while I think the move from Pex to the more native Bazel Python binary
> > rules might be better, I don't know if it directly addresses the
> perceived
> > issues.
> >
> > On Sun, Jan 2, 2022 at 1:12 AM Ning Wang <wa...@gmail.com> wrote:
> >
> >> it seems like pex has been painful to maintain. It would be great to try
> >> the official rule. Thanks!
> >>
> >> On Sat, Jan 1, 2022 at 11:30 AM Saad Ur Rahman <saadurrahman@apache.org
> >
> >> wrote:
> >>
> >>> I will assist as much as I can with the migration.
> >>>
> >>> On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io>
> >> wrote:
> >>>
> >>>> Hey All,
> >>>>
> >>>> After doing work on the next RC we've found some issues related to
> >> Python
> >>>> and Pex. I'm thinking we need to remove the custom Pex rules from
> >> repo
> >>>> and depend on native bazel rules. I'll create a branch within the
> >> Heron
> >>>> repo to start work on it. I'll most likely have some questions for
> >>>> everyone, and I'd like feedback as we go along.
> >>>>
> >>>> Thanks
> >>>>
> >>>> On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <
> >> saadurrahman@apache.org>
> >>>> wrote:
> >>>>
> >>>>> Thank you, Josh, that would be very interesting indeed.
> >>>>>
> >>>>> On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <josh@joshfischer.io
> >>>
> >>>>> wrote:
> >>>>>
> >>>>>> Saad,
> >>>>>>
> >>>>>> I welcome any help. If you are interested I can walk you through
> >> the
> >>>>>> process.
> >>>>>>
> >>>>>> On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
> >>>> saadurrahman@apache.org>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> Thank you, Josh. Please let me know if there is anything I can do
> >>> to
> >>>>>> help.
> >>>>>>>
> >>>>>>> On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <
> >>> josh@joshfischer.io
> >>>>>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> Nick,
> >>>>>>>> I would appreciate the help if you are willing.
> >>>>>>>>
> >>>>>>>> Saad,
> >>>>>>>>
> >>>>>>>> Ok, I’ll start the process Sunday or Monday.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
> >>>>> wrote:
> >>>>>>>>
> >>>>>>>>> I feel we are in a good place to cut a release as well.
> >>>>>>>>>
> >>>>>>>>> On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
> >>>>>>>>> nicholas.nezis@gmail.com>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> Yes I think we should cut a release now. The remaining PRs
> >>> can
> >>>>> wait
> >>>>>>> and
> >>>>>>>>> may
> >>>>>>>>>> change APIs.
> >>>>>>>>>>
> >>>>>>>>>> I'd like to help with publishing any release artifacts that
> >>> we
> >>>>>>> haven't
> >>>>>>>>>> published previously. Specifically thinking of HeronPy and
> >>> Helm
> >>>>>>>>> artifacts.
> >>>>>>>>>>
> >>>>>>>>>> On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
> >>>> josh@joshfischer.io>
> >>>>>>>> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> Hi,
> >>>>>>>>>>>
> >>>>>>>>>>> The kubernetes scheduler PRs are now completed and
> >>> merged. I
> >>>>>> know
> >>>>>>> we
> >>>>>>>>>> have
> >>>>>>>>>>> a couple of PRs that were recently opened, do we need to
> >>> wait
> >>>>> for
> >>>>>>> any
> >>>>>>>>> of
> >>>>>>>>>>> those before we start the voting process?
> >>>>>>>>>>>
> >>>>>>>>>>> - Josh
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>> --
> >>>>>>>> Sent from A Mobile Device
> >>>>>>>>
> >>>>>>>
> >>>>>> --
> >>>>>> Sent from A Mobile Device
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
>
>
Re: [DISCUSS] Next Release
Posted by Dave Fisher <wa...@apache.org>.
> On Jan 3, 2022, at 1:25 PM, Nicholas Nezis <ni...@gmail.com> wrote:
>
> I don't think this should be a blocker to cutting the release. Removing PEX
> might have various consequences.
>
> We should still attempt to remove it if we think this is the issue, but I
> suspect we were running into other issues.
> 1. Building on non AMD64 architecture
> a. I'm happy to help build locally
> 2. Building on Jenkins which doesn't have the python3-venv package.
> a. Can we request the package be installed? I'm not sure how we ask the
> build infrastructure team to add it.
I’m surprised that venv is missing from the python setup. That’s somewhat core to Infra’s process.
- Send an email to builds@apache.org
- Create an INFRA Jira at issues.apache.org/jira login with your apache id.
> b. We can convert our build script to use Docker for the build. This
> might take a bit more effort compared to adding python3-venv
>
> Often we have had issues with Python compatibility. And some of those
> issues were related to the move from Python 2 to Python 3. Another
> complicating factor is that we often have trouble updating some of the
> dependencies because instead of using `pip3 install` to download a
> dependency, we instead download the source and compile the packages. This
> may provide more flexibility to run on different architectures, but also
> can add an extra layer of complexity depending on each package's needs.
Why wouldn’t we just use a requirements.txt with pip3?
>
> So while I think the move from Pex to the more native Bazel Python binary
> rules might be better, I don't know if it directly addresses the perceived
> issues.
>
> On Sun, Jan 2, 2022 at 1:12 AM Ning Wang <wa...@gmail.com> wrote:
>
>> it seems like pex has been painful to maintain. It would be great to try
>> the official rule. Thanks!
>>
>> On Sat, Jan 1, 2022 at 11:30 AM Saad Ur Rahman <sa...@apache.org>
>> wrote:
>>
>>> I will assist as much as I can with the migration.
>>>
>>> On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io>
>> wrote:
>>>
>>>> Hey All,
>>>>
>>>> After doing work on the next RC we've found some issues related to
>> Python
>>>> and Pex. I'm thinking we need to remove the custom Pex rules from
>> repo
>>>> and depend on native bazel rules. I'll create a branch within the
>> Heron
>>>> repo to start work on it. I'll most likely have some questions for
>>>> everyone, and I'd like feedback as we go along.
>>>>
>>>> Thanks
>>>>
>>>> On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <
>> saadurrahman@apache.org>
>>>> wrote:
>>>>
>>>>> Thank you, Josh, that would be very interesting indeed.
>>>>>
>>>>> On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <josh@joshfischer.io
>>>
>>>>> wrote:
>>>>>
>>>>>> Saad,
>>>>>>
>>>>>> I welcome any help. If you are interested I can walk you through
>> the
>>>>>> process.
>>>>>>
>>>>>> On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
>>>> saadurrahman@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Thank you, Josh. Please let me know if there is anything I can do
>>> to
>>>>>> help.
>>>>>>>
>>>>>>> On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <
>>> josh@joshfischer.io
>>>>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Nick,
>>>>>>>> I would appreciate the help if you are willing.
>>>>>>>>
>>>>>>>> Saad,
>>>>>>>>
>>>>>>>> Ok, I’ll start the process Sunday or Monday.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
>>>>> wrote:
>>>>>>>>
>>>>>>>>> I feel we are in a good place to cut a release as well.
>>>>>>>>>
>>>>>>>>> On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
>>>>>>>>> nicholas.nezis@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Yes I think we should cut a release now. The remaining PRs
>>> can
>>>>> wait
>>>>>>> and
>>>>>>>>> may
>>>>>>>>>> change APIs.
>>>>>>>>>>
>>>>>>>>>> I'd like to help with publishing any release artifacts that
>>> we
>>>>>>> haven't
>>>>>>>>>> published previously. Specifically thinking of HeronPy and
>>> Helm
>>>>>>>>> artifacts.
>>>>>>>>>>
>>>>>>>>>> On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
>>>> josh@joshfischer.io>
>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> The kubernetes scheduler PRs are now completed and
>>> merged. I
>>>>>> know
>>>>>>> we
>>>>>>>>>> have
>>>>>>>>>>> a couple of PRs that were recently opened, do we need to
>>> wait
>>>>> for
>>>>>>> any
>>>>>>>>> of
>>>>>>>>>>> those before we start the voting process?
>>>>>>>>>>>
>>>>>>>>>>> - Josh
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>> --
>>>>>>>> Sent from A Mobile Device
>>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> Sent from A Mobile Device
>>>>>>
>>>>>
>>>>
>>>
>>
Re: [DISCUSS] Next Release
Posted by Saad Ur Rahman <sa...@gmail.com>.
I agree with the points made. It is probably best to have all of the build
scripts running in Docker containers so that there is better control over
the build environment. I believe ASF infrastructure also wants builds to
run in containers going forward.
The removal of PEX based build rules is important, and we should get
started on it. I suspect the process will be lengthy with new issues coming
to light as we proceed.
Another issue to consider is the time since the last release.
On Mon., Jan. 3, 2022, 4:25 p.m. Nicholas Nezis, <ni...@gmail.com>
wrote:
> I don't think this should be a blocker to cutting the release. Removing PEX
> might have various consequences.
>
> We should still attempt to remove it if we think this is the issue, but I
> suspect we were running into other issues.
> 1. Building on non AMD64 architecture
> a. I'm happy to help build locally
> 2. Building on Jenkins which doesn't have the python3-venv package.
> a. Can we request the package be installed? I'm not sure how we ask the
> build infrastructure team to add it.
> b. We can convert our build script to use Docker for the build. This
> might take a bit more effort compared to adding python3-venv
>
> Often we have had issues with Python compatibility. And some of those
> issues were related to the move from Python 2 to Python 3. Another
> complicating factor is that we often have trouble updating some of the
> dependencies because instead of using `pip3 install` to download a
> dependency, we instead download the source and compile the packages. This
> may provide more flexibility to run on different architectures, but also
> can add an extra layer of complexity depending on each package's needs.
>
> So while I think the move from Pex to the more native Bazel Python binary
> rules might be better, I don't know if it directly addresses the perceived
> issues.
>
> On Sun, Jan 2, 2022 at 1:12 AM Ning Wang <wa...@gmail.com> wrote:
>
> > it seems like pex has been painful to maintain. It would be great to try
> > the official rule. Thanks!
> >
> > On Sat, Jan 1, 2022 at 11:30 AM Saad Ur Rahman <sa...@apache.org>
> > wrote:
> >
> > > I will assist as much as I can with the migration.
> > >
> > > On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io>
> > wrote:
> > >
> > > > Hey All,
> > > >
> > > > After doing work on the next RC we've found some issues related to
> > Python
> > > > and Pex. I'm thinking we need to remove the custom Pex rules from
> > repo
> > > > and depend on native bazel rules. I'll create a branch within the
> > Heron
> > > > repo to start work on it. I'll most likely have some questions for
> > > > everyone, and I'd like feedback as we go along.
> > > >
> > > > Thanks
> > > >
> > > > On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <
> > saadurrahman@apache.org>
> > > > wrote:
> > > >
> > > > > Thank you, Josh, that would be very interesting indeed.
> > > > >
> > > > > On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <
> josh@joshfischer.io
> > >
> > > > > wrote:
> > > > >
> > > > > > Saad,
> > > > > >
> > > > > > I welcome any help. If you are interested I can walk you through
> > the
> > > > > > process.
> > > > > >
> > > > > > On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
> > > > saadurrahman@apache.org>
> > > > > > wrote:
> > > > > >
> > > > > > > Thank you, Josh. Please let me know if there is anything I can
> do
> > > to
> > > > > > help.
> > > > > > >
> > > > > > > On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <
> > > josh@joshfischer.io
> > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Nick,
> > > > > > > > I would appreciate the help if you are willing.
> > > > > > > >
> > > > > > > > Saad,
> > > > > > > >
> > > > > > > > Ok, I’ll start the process Sunday or Monday.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Dec 23, 2021 at 7:19 PM Saad <
> saadurrahman@apache.org>
> > > > > wrote:
> > > > > > > >
> > > > > > > > > I feel we are in a good place to cut a release as well.
> > > > > > > > >
> > > > > > > > > On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
> > > > > > > > > nicholas.nezis@gmail.com>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Yes I think we should cut a release now. The remaining
> PRs
> > > can
> > > > > wait
> > > > > > > and
> > > > > > > > > may
> > > > > > > > > > change APIs.
> > > > > > > > > >
> > > > > > > > > > I'd like to help with publishing any release artifacts
> that
> > > we
> > > > > > > haven't
> > > > > > > > > > published previously. Specifically thinking of HeronPy
> and
> > > Helm
> > > > > > > > > artifacts.
> > > > > > > > > >
> > > > > > > > > > On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
> > > > josh@joshfischer.io>
> > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > > Hi,
> > > > > > > > > > >
> > > > > > > > > > > The kubernetes scheduler PRs are now completed and
> > > merged. I
> > > > > > know
> > > > > > > we
> > > > > > > > > > have
> > > > > > > > > > > a couple of PRs that were recently opened, do we need
> to
> > > wait
> > > > > for
> > > > > > > any
> > > > > > > > > of
> > > > > > > > > > > those before we start the voting process?
> > > > > > > > > > >
> > > > > > > > > > > - Josh
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > --
> > > > > > > > Sent from A Mobile Device
> > > > > > > >
> > > > > > >
> > > > > > --
> > > > > > Sent from A Mobile Device
> > > > > >
> > > > >
> > > >
> > >
> >
>
Re: [DISCUSS] Next Release
Posted by Nicholas Nezis <ni...@gmail.com>.
I don't think this should be a blocker to cutting the release. Removing PEX
might have various consequences.
We should still attempt to remove it if we think this is the issue, but I
suspect we were running into other issues.
1. Building on non AMD64 architecture
a. I'm happy to help build locally
2. Building on Jenkins which doesn't have the python3-venv package.
a. Can we request the package be installed? I'm not sure how we ask the
build infrastructure team to add it.
b. We can convert our build script to use Docker for the build. This
might take a bit more effort compared to adding python3-venv
Often we have had issues with Python compatibility. And some of those
issues were related to the move from Python 2 to Python 3. Another
complicating factor is that we often have trouble updating some of the
dependencies because instead of using `pip3 install` to download a
dependency, we instead download the source and compile the packages. This
may provide more flexibility to run on different architectures, but also
can add an extra layer of complexity depending on each package's needs.
So while I think the move from Pex to the more native Bazel Python binary
rules might be better, I don't know if it directly addresses the perceived
issues.
On Sun, Jan 2, 2022 at 1:12 AM Ning Wang <wa...@gmail.com> wrote:
> it seems like pex has been painful to maintain. It would be great to try
> the official rule. Thanks!
>
> On Sat, Jan 1, 2022 at 11:30 AM Saad Ur Rahman <sa...@apache.org>
> wrote:
>
> > I will assist as much as I can with the migration.
> >
> > On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io>
> wrote:
> >
> > > Hey All,
> > >
> > > After doing work on the next RC we've found some issues related to
> Python
> > > and Pex. I'm thinking we need to remove the custom Pex rules from
> repo
> > > and depend on native bazel rules. I'll create a branch within the
> Heron
> > > repo to start work on it. I'll most likely have some questions for
> > > everyone, and I'd like feedback as we go along.
> > >
> > > Thanks
> > >
> > > On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <
> saadurrahman@apache.org>
> > > wrote:
> > >
> > > > Thank you, Josh, that would be very interesting indeed.
> > > >
> > > > On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <josh@joshfischer.io
> >
> > > > wrote:
> > > >
> > > > > Saad,
> > > > >
> > > > > I welcome any help. If you are interested I can walk you through
> the
> > > > > process.
> > > > >
> > > > > On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
> > > saadurrahman@apache.org>
> > > > > wrote:
> > > > >
> > > > > > Thank you, Josh. Please let me know if there is anything I can do
> > to
> > > > > help.
> > > > > >
> > > > > > On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <
> > josh@joshfischer.io
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Nick,
> > > > > > > I would appreciate the help if you are willing.
> > > > > > >
> > > > > > > Saad,
> > > > > > >
> > > > > > > Ok, I’ll start the process Sunday or Monday.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
> > > > wrote:
> > > > > > >
> > > > > > > > I feel we are in a good place to cut a release as well.
> > > > > > > >
> > > > > > > > On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
> > > > > > > > nicholas.nezis@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > Yes I think we should cut a release now. The remaining PRs
> > can
> > > > wait
> > > > > > and
> > > > > > > > may
> > > > > > > > > change APIs.
> > > > > > > > >
> > > > > > > > > I'd like to help with publishing any release artifacts that
> > we
> > > > > > haven't
> > > > > > > > > published previously. Specifically thinking of HeronPy and
> > Helm
> > > > > > > > artifacts.
> > > > > > > > >
> > > > > > > > > On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
> > > josh@joshfischer.io>
> > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > The kubernetes scheduler PRs are now completed and
> > merged. I
> > > > > know
> > > > > > we
> > > > > > > > > have
> > > > > > > > > > a couple of PRs that were recently opened, do we need to
> > wait
> > > > for
> > > > > > any
> > > > > > > > of
> > > > > > > > > > those before we start the voting process?
> > > > > > > > > >
> > > > > > > > > > - Josh
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > --
> > > > > > > Sent from A Mobile Device
> > > > > > >
> > > > > >
> > > > > --
> > > > > Sent from A Mobile Device
> > > > >
> > > >
> > >
> >
>
Re: [DISCUSS] Next Release
Posted by Ning Wang <wa...@gmail.com>.
it seems like pex has been painful to maintain. It would be great to try
the official rule. Thanks!
On Sat, Jan 1, 2022 at 11:30 AM Saad Ur Rahman <sa...@apache.org>
wrote:
> I will assist as much as I can with the migration.
>
> On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io> wrote:
>
> > Hey All,
> >
> > After doing work on the next RC we've found some issues related to Python
> > and Pex. I'm thinking we need to remove the custom Pex rules from repo
> > and depend on native bazel rules. I'll create a branch within the Heron
> > repo to start work on it. I'll most likely have some questions for
> > everyone, and I'd like feedback as we go along.
> >
> > Thanks
> >
> > On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <sa...@apache.org>
> > wrote:
> >
> > > Thank you, Josh, that would be very interesting indeed.
> > >
> > > On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <jo...@joshfischer.io>
> > > wrote:
> > >
> > > > Saad,
> > > >
> > > > I welcome any help. If you are interested I can walk you through the
> > > > process.
> > > >
> > > > On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
> > saadurrahman@apache.org>
> > > > wrote:
> > > >
> > > > > Thank you, Josh. Please let me know if there is anything I can do
> to
> > > > help.
> > > > >
> > > > > On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <
> josh@joshfischer.io
> > >
> > > > > wrote:
> > > > >
> > > > > > Nick,
> > > > > > I would appreciate the help if you are willing.
> > > > > >
> > > > > > Saad,
> > > > > >
> > > > > > Ok, I’ll start the process Sunday or Monday.
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
> > > wrote:
> > > > > >
> > > > > > > I feel we are in a good place to cut a release as well.
> > > > > > >
> > > > > > > On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
> > > > > > > nicholas.nezis@gmail.com>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Yes I think we should cut a release now. The remaining PRs
> can
> > > wait
> > > > > and
> > > > > > > may
> > > > > > > > change APIs.
> > > > > > > >
> > > > > > > > I'd like to help with publishing any release artifacts that
> we
> > > > > haven't
> > > > > > > > published previously. Specifically thinking of HeronPy and
> Helm
> > > > > > > artifacts.
> > > > > > > >
> > > > > > > > On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
> > josh@joshfischer.io>
> > > > > > wrote:
> > > > > > > >
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > The kubernetes scheduler PRs are now completed and
> merged. I
> > > > know
> > > > > we
> > > > > > > > have
> > > > > > > > > a couple of PRs that were recently opened, do we need to
> wait
> > > for
> > > > > any
> > > > > > > of
> > > > > > > > > those before we start the voting process?
> > > > > > > > >
> > > > > > > > > - Josh
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > --
> > > > > > Sent from A Mobile Device
> > > > > >
> > > > >
> > > > --
> > > > Sent from A Mobile Device
> > > >
> > >
> >
>
Re: [DISCUSS] Next Release
Posted by Saad Ur Rahman <sa...@apache.org>.
I will assist as much as I can with the migration.
On Sat, Jan 1, 2022 at 12:47 PM Josh Fischer <jo...@joshfischer.io> wrote:
> Hey All,
>
> After doing work on the next RC we've found some issues related to Python
> and Pex. I'm thinking we need to remove the custom Pex rules from repo
> and depend on native bazel rules. I'll create a branch within the Heron
> repo to start work on it. I'll most likely have some questions for
> everyone, and I'd like feedback as we go along.
>
> Thanks
>
> On Fri, Dec 24, 2021 at 6:53 PM Saad Ur Rahman <sa...@apache.org>
> wrote:
>
> > Thank you, Josh, that would be very interesting indeed.
> >
> > On Fri., Dec. 24, 2021, 5:48 p.m. Josh Fischer, <jo...@joshfischer.io>
> > wrote:
> >
> > > Saad,
> > >
> > > I welcome any help. If you are interested I can walk you through the
> > > process.
> > >
> > > On Fri, Dec 24, 2021 at 3:42 PM Saad Ur Rahman <
> saadurrahman@apache.org>
> > > wrote:
> > >
> > > > Thank you, Josh. Please let me know if there is anything I can do to
> > > help.
> > > >
> > > > On Fri., Dec. 24, 2021, 2:52 p.m. Josh Fischer, <josh@joshfischer.io
> >
> > > > wrote:
> > > >
> > > > > Nick,
> > > > > I would appreciate the help if you are willing.
> > > > >
> > > > > Saad,
> > > > >
> > > > > Ok, I’ll start the process Sunday or Monday.
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Dec 23, 2021 at 7:19 PM Saad <sa...@apache.org>
> > wrote:
> > > > >
> > > > > > I feel we are in a good place to cut a release as well.
> > > > > >
> > > > > > On Thu., Dec. 23, 2021, 6:44 p.m. Nicholas Nezis, <
> > > > > > nicholas.nezis@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Yes I think we should cut a release now. The remaining PRs can
> > wait
> > > > and
> > > > > > may
> > > > > > > change APIs.
> > > > > > >
> > > > > > > I'd like to help with publishing any release artifacts that we
> > > > haven't
> > > > > > > published previously. Specifically thinking of HeronPy and Helm
> > > > > > artifacts.
> > > > > > >
> > > > > > > On Wed, Dec 22, 2021, 9:59 AM Josh Fischer <
> josh@joshfischer.io>
> > > > > wrote:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > The kubernetes scheduler PRs are now completed and merged. I
> > > know
> > > > we
> > > > > > > have
> > > > > > > > a couple of PRs that were recently opened, do we need to wait
> > for
> > > > any
> > > > > > of
> > > > > > > > those before we start the voting process?
> > > > > > > >
> > > > > > > > - Josh
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > --
> > > > > Sent from A Mobile Device
> > > > >
> > > >
> > > --
> > > Sent from A Mobile Device
> > >
> >
>