You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing active development, it can be quite useful to have nightly packages of things that are being developed in tandem. In the context of Dask, this comes up when developing a downstream library that depends on Dask (often requiring the very latest changes). Am curious what others think about supplying nightly packages of dask and distributed?
FYI: This is an ongoing problem for us at cuDF as there's often PRs of ours where we need to make matching changes in both cuDF and Dask and we end up leaving things in a broken state until a new Dask release is pushed out. If there were nightly conda and pypi packages that would largely solve our problems.
I personally have no objections to this. Where would the packages live? A
new Dask channel? Does conda-forge have a dev channel? Who would maintain
this and keep it running (I'm guessing @jakirkham and the NVIDIA folks).
Are there any other concerns that we should be aware of? John, you're
probably the expert here.
I think that most people will pip install from master when they want an
up-to-date version. I'm guessing that that doesn't work for RAPIDS
development for some reason though.
On Mon, Jul 27, 2020 at 1:24 PM Matthew Rocklin ***@***.***> wrote:
I personally have no objections to this. Where would the packages live?
A new Dask channel? Does conda-forge have a dev channel? Who would
maintain this and keep it running (I'm guessing @jakirkham and the NVIDIA
folks). Are there any other concerns that we should be aware of? John,
you're probably the expert here.
On Mon, Jul 27, 2020 at 1:21 PM Keith Kraus ***@***.***>
wrote:
> FYI: This is an ongoing problem for us at cuDF as there's often PRs of
> ours where we need to make matching changes in both cuDF and Dask and we
> end up leaving things in a broken state until a new Dask release is pushed
> out. If there were nightly conda and pypi packages that would largely solve
> our problems.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#76 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AACKZTGOLC7CCRTNDXMWIADR5XOWJANCNFSM4PJCDGLA>
> .
>
I think that most people will pip install from master when they want an up-to-date version. I'm guessing that that doesn't work for RAPIDS development for some reason though. …
On Mon, Jul 27, 2020 at 1:24 PM Matthew Rocklin @.> wrote: I personally have no objections to this. Where would the packages live? A new Dask channel? Does conda-forge have a dev channel? Who would maintain this and keep it running (I'm guessing @jakirkham and the NVIDIA folks). Are there any other concerns that we should be aware of? John, you're probably the expert here. On Mon, Jul 27, 2020 at 1:21 PM Keith Kraus @.> wrote: > FYI: This is an ongoing problem for us at cuDF as there's often PRs of > ours where we need to make matching changes in both cuDF and Dask and we > end up leaving things in a broken state until a new Dask release is pushed > out. If there were nightly conda and pypi packages that would largely solve > our problems. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <#76 (comment)>, or > unsubscribe > https://github.com/notifications/unsubscribe-auth/AACKZTGOLC7CCRTNDXMWIADR5XOWJANCNFSM4PJCDGLA > . >
I think the challenge here is there's no clean and nice way to integrate that into a conda package dependency. I.E. as we make a coordinated change in Dask and RAPIDS, once the PR is merged in Dask we could upgrade the conda pinning in the RAPIDS recipe to ensure we get the newer Dask version.
Where would the packages live? A new Dask channel? Does conda-forge have a dev channel?
A dask or dask-nightly channel would make sense. conda-forge doesn't support nightlies.
Who would maintain this and keep it running (I'm guessing @jakirkham and the NVIDIA folks).
That's my guess as well. Though it would be nice to have someone from the cuDF side on the hook as well (since that's driving the demand 😉).
Are there any other concerns that we should be aware of? John, you're probably the expert here.
The main thing to consider would be where these get built, how to signal these are dev packages, and what to do regarding communicating build issues to relevant maintainers.
As far as building goes, doing this as part of Dask and Distributed CI seems like the natural place. This ensures when new changes get integrated packages are published in pretty rapid order. It also avoids needing to add a separate thing to maintain and coordinate between.
The next thing would be communicating to users that these are only dev packages and they should go to more formal channels (conda-forge, defaults) for final releases. This may involve naming the channel accordingly or using a label to indicate these are development builds. A small blurb in the docs next to other install instructions might also be useful for relaying this information.
Lastly it would be good to setup a GitHub team for those maintaining nightlies to direct communication/issues in that direction.
Those are the other additional points I can think of atm. Though please feel free to raise others 🙂
That's my guess as well. Though it would be nice to have someone from the cuDF side on the hook as well (since that's driving the demand 😉).
FWIW it's more than just the cuDF side, cuML runs into these situations as well, albeit not as frequently as cuDF. I'm happy to be "on the hook".
The main thing to consider would be where these get built, how to signal these are dev packages, and what to do regarding communicating build issues to relevant maintainers.
As far as building goes, doing this as part of Dask and Distributed CI seems like the natural place. This ensures when new changes get integrated packages are published in pretty rapid order. It also avoids needing to add a separate thing to maintain and coordinate between.
and the dask channel seems like a sensible place to host these. Would there be any objection to using dask-sql as a trial for publishing nightlies to dask, and then pushing on Dask/Distributed nightlies once that's working?
There's a lot of dependencies (some from the Java world) and it is more configuration involved. Ideally this would just be a self-contained Conda package to just make this easier for people to work with.
Some thoughts on the process, in case we want to try this on Dask/distributed later on:
we should make sure the local conda recipe stays synced up with the conda-forge recipe; this can be done manually, but I'm interested in if we could/should try to automate this
we still don't have anything in place to remove old builds - right now we were planning to manually purge it, maybe with each release, but depending on the flexibility of the Anaconda API it might make sense to have a scheduled job to anaconda remove any files past a certain point (this could be number of days or number of files depending on the repo's activity)
Some good next steps from here could be working on using the pre-release packages in Dask's (and other downstream libraries') CI, and seeing if there's a reasonable solution to automate the removal of the packages after a certain point in time.
Going to go ahead and close as the original issue has since been resolved. Though if other libraries want to follow this workflow for nightlies, hopefully now there is a good template to follow with the work done here.
Currently the dask channel has no storage limits and the packages themselves are quite small. That said, if this does become an issue, agree we should look into cleaning up old packages after some point in time. Though we can cross that bridge when we get there.
Activity
kkraus14 commentedon Jul 27, 2020
FYI: This is an ongoing problem for us at cuDF as there's often PRs of ours where we need to make matching changes in both cuDF and Dask and we end up leaving things in a broken state until a new Dask release is pushed out. If there were nightly conda and pypi packages that would largely solve our problems.
mrocklin commentedon Jul 27, 2020
mrocklin commentedon Jul 27, 2020
kkraus14 commentedon Jul 27, 2020
I think the challenge here is there's no clean and nice way to integrate that into a conda package dependency. I.E. as we make a coordinated change in Dask and RAPIDS, once the PR is merged in Dask we could upgrade the conda pinning in the RAPIDS recipe to ensure we get the newer Dask version.
quasiben commentedon Jul 27, 2020
One option for nightlies is that we could publish to the dask channel on anaconda:
https://anaconda.org/dask/
jakirkham commentedon Jul 27, 2020
Great!
A
daskordask-nightlychannel would make sense.conda-forgedoesn't support nightlies.That's my guess as well. Though it would be nice to have someone from the cuDF side on the hook as well (since that's driving the demand 😉).
The main thing to consider would be where these get built, how to signal these are dev packages, and what to do regarding communicating build issues to relevant maintainers.
As far as building goes, doing this as part of Dask and Distributed CI seems like the natural place. This ensures when new changes get integrated packages are published in pretty rapid order. It also avoids needing to add a separate thing to maintain and coordinate between.
The next thing would be communicating to users that these are only dev packages and they should go to more formal channels (
conda-forge,defaults) for final releases. This may involve naming the channel accordingly or using a label to indicate these are development builds. A small blurb in the docs next to other install instructions might also be useful for relaying this information.Lastly it would be good to setup a GitHub team for those maintaining nightlies to direct communication/issues in that direction.
Those are the other additional points I can think of atm. Though please feel free to raise others 🙂
kkraus14 commentedon Jul 27, 2020
FWIW it's more than just the cuDF side, cuML runs into these situations as well, albeit not as frequently as cuDF. I'm happy to be "on the hook".
Agreed. Looks like there's Travis CI jobs that run after PRs are merged that could likely be a good place for uploads to take place given the packages are pure python: https://travis-ci.org/github/dask/dask/builds
jakirkham commentedon Jul 27, 2020
Thanks Keith! Happy to have someone from cuML as well 🙂
quasiben commentedon Jul 28, 2020
If we want to publish to https://anaconda.org/dask/ I have admin access and can generate tokens. @kkraus14 is there someone who can sit with John and I while we get this up and running
kkraus14 commentedon Jul 28, 2020
That someone is me 😄
jsignell commentedon Jul 28, 2020
This would be on the dev label of the dask channel right?
TomAugspurger commentedon Jul 28, 2020
Part of the uploading job should probably delete older versions. The ones uploaded to https://anaconda.org/scipy-wheels-nightly/ are cleared after some number of days.
charlesbluca commentedon Oct 15, 2021
Reviving this issue because there has recently been some demand from RAPIDS folk to publish nightlies of dask-sql:
https://github.com/dask-contrib/dask-sql
and the
daskchannel seems like a sensible place to host these. Would there be any objection to using dask-sql as a trial for publishing nightlies todask, and then pushing on Dask/Distributed nightlies once that's working?jrbourbeau commentedon Oct 15, 2021
No objection from me. I am curious why
pip installing frommainisn't sufficient, but I don't mean for this to be a blocking commentjakirkham commentedon Oct 18, 2021
There's a lot of dependencies (some from the Java world) and it is more configuration involved. Ideally this would just be a self-contained Conda package to just make this easier for people to work with.
charlesbluca commentedon Oct 20, 2021
John and I got this working with dask-contrib/dask-sql#263, and now there are dask-sql nightlies uploaded with every commit:
https://anaconda.org/dask/dask-sql/files
Some thoughts on the process, in case we want to try this on Dask/distributed later on:
anaconda removeany files past a certain point (this could be number of days or number of files depending on the repo's activity)Add workflow / recipe to generate Dask nightlies (#8469)
Add workflow / recipe to generate Dask nightlies (dask#8469)
Add workflow / recipe to generate Dask/distributed pre-releases (#5636)
charlesbluca commentedon Feb 1, 2022
With dask/dask#8469 and dask/distributed#5636 in, we now have Dask + Distributed pre-release packages being published:
Some good next steps from here could be working on using the pre-release packages in Dask's (and other downstream libraries') CI, and seeing if there's a reasonable solution to automate the removal of the packages after a certain point in time.
Add workflow / recipe to generate Dask/distributed pre-releases (dask…
jakirkham commentedon Feb 1, 2022
Thanks Charles! 😄
Going to go ahead and close as the original issue has since been resolved. Though if other libraries want to follow this workflow for nightlies, hopefully now there is a good template to follow with the work done here.
Currently the
daskchannel has no storage limits and the packages themselves are quite small. That said, if this does become an issue, agree we should look into cleaning up old packages after some point in time. Though we can cross that bridge when we get there.