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
Document release process #1300
Comments
Also, how are the API docs (http://api.h5py.org/) updated? I've just noticed that they don't yet have the H5PL module added in 2.10? |
We can and should add this to our rever configuration. It just wasn't fully clear to me how to do this. Is this commit basically all that needs to happen? (CC @tacaswell)
Yeah, not sure about that either. If we know how I can add it to rever too. |
I think in principle it's that, then wait for the wheels to be created, download them from http://wheels.scipy.org/ (or the https equivalent to be safe), and upload them to PyPI. Presumably with some changes to the MacPython repository, it could upload directly to PyPI - maybe using one of the new API tokens. It looks like it needs other changes not infrequently, but if the build/upload fails we can always do those manually and get a wheel once it's fixed. It's only a problem if it succeeds in uploading a bad wheel. |
OK! We can definitely have rever push a change into that repo, or open up a PR to it. Which do we want to happen? |
I vote for push directly (to a new branch named for the minor series). Either it builds or it doesn't! If we are going to automate this with rever, I would prefer it pushes the commit and then downloads the built wheels to be pushed later. If you push the sdist and the wheels to pypi in one shot you avoid the windows where you get weird build issues. I have asked Andrew about the API docs over email, I will dig that out... Just to dump this someplace, the helper I use to collect the wheels (because I once missed a wheel doing it by clicking!): from bs4 import BeautifulSoup
import requests
html_doc = requests.get('http://wheels.scipy.org')
soup = BeautifulSoup(html_doc.text, 'html.parser')
from pathlib import Path
url = 'http://wheels.scipy.org'
out_dir = Path('/tmp')
for link in soup.find_all('a'):
if 'h5py' in link.get('href'):
whl = link.get('href')
_, ver, *_ = whl.split('-')
if ver == '2.10.0':
print(whl)
with open(out_dir / whl, 'wb') as fout:
r = requests.get(f'{url}/{whl}')
fout.write(r.content)
|
While this isn't a good first issue, we should look at doing this as part of the sprint/3.0 release. |
#1290 added release automation with Rever, but this doesn't (yet?) include building wheels, which is done from this repository for Linux & Mac, and by Christoph Gohlke for Windows.
@tacaswell also mentioned that the release process is based on https://matplotlib.org/devdocs/devel/release_guide.html#all-releases
The text was updated successfully, but these errors were encountered: