-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
document where nightly wheels are published #9994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Actually, we're already doing this:
Any interest in putting a PR to the install instructions? |
Oh, great news! Is that URL stable? Happy to send a PR. |
Yes, the URL is stable (I know it doesn't look like it)... |
Is there any plan to cull those over time? |
No plan - but we could do that ... |
Is it possible to have a more legible/canonical redirect somewhere? |
It's canonical, but not legible I agree. I don't personally know of any free services that provide https redirects - anyone have any good ideas? It has to be https in order for pip to use the URL without cumbersome extra flags. |
We use cloudflare for https on matplotlib.org ( @jkseppan took care of setting that up ). I wonder if we can use that? https://nightly.matplotlib.org ? I am not sure if that is possible given the way that we are using a custom domain with github pages... |
That would be very good - if someone could configure that. |
I set up a CNAME record at nightly.matplotlib.org pointing to 7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com (@tcaswell may have received a security warning about that) but that doesn't seem to be enough. I couldn't enable Cloudflare's proxying for that address (I suspect they blacklist other CDNs) but the CNAME should work anyway. Perhaps there is some additional step to take on the Rackspace side by whoever has the credentials to do that? Rackspace instructions indicate that SSL is not going to work with CNAME records. It seems to me that the requirements of a custom domain and SSL support are not compatible with the free-of-charge solution of just adding DNS records at Cloudflare. This would probably need a very small Heroku app (or similar) to return "302 Redirect" responses at a custom domain, pointing to the rackcdn address. But at least on Heroku the SSL support is only available on paid plans. |
The error message at http://nightly.matplotlib.org seems to be an Akamai message, so if anyone has access to the Akamai (or possibly Rackspace) account used to configure the rackcdn.com subdomain, it probably needs to be set up to allow the CNAME redirection. But, again, that will not work with SSL. |
Would it be possible to publish the wheel to pypi under a different name such as |
I do not think that I would much rather work with in the system (here using non-canonical repositories and the '--pre' flag) rather than work around the system (by creating a package with a slightly different name). |
I realized that the redirection can be done with Cloudflare's page rules, which we can use in a limited way on the free tier. https://nightly.matplotlib.org/ now redirects to https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com/ and
|
There could be some danger in using Cloudflare's services for something that could get used in automated scripts. I think Cloudflare is mainly intended for serving web pages to humans efficiently, and if they detect what looks like a distributed attack they could start serving CAPTCHA challenges or otherwise limiting the usage. |
Sweet! Somewhat fortuitously, I will be having a chat with someone from cloudflare in the near future anyway (we push enough data every month they noticed us). I'll be sure to bring this up. |
Where are we on nightly wheels? Anything I can do to help? |
We have moved to building the wheels via github actions (see https://github.com/matplotlib/matplotlib/actions/workflows/cibuildwheel.yml). There is a download link, but I am not sure if that is something you can easily point pip at. |
Sorry - I am sure I'm being dumb but I couldn't see how to get the wheels from that interface. But - if we can't point pip at the results - is there a way to upload them them somewhere pip can see? I think the desire is to have something we can test our individual CIs against - certainly I would like to do that. |
If you click on the PR tittle you get to https://github.com/matplotlib/matplotlib/actions/runs/695524406 which has a download link at the bottom (sorry, typed this 5 hours ago and failed to hit 'comment' 🤦 ). |
Aha - thanks - Firefox deceived me and I couldn't see or easily get to the bottom of the page. So, the individual jobs generate a .zip file containing the wheels. Could we make a cron job or similar to download the zip file, unpack and upload somewhere like Anaconda.org? |
Just a quick note that we would be very interested in nightly wheels of Matplotlib over at sunpy too - currently we test against the Matplotlib master branch. |
It would be great to have a nightly pip package as provided by tensorflow such that users can easily experiment with the most recent code without having to build from source, e.g. publish a package
matplotlib-nightly
topypi
as part of builds onmaster
.I came across this document from 2015 discussing a similar idea, but couldn't find anything on a nightly package in the installation instructions.
The text was updated successfully, but these errors were encountered: