Well, pretty annoying, but that's because I had to write the code to
upload to the GitHub releases.

But now that that is done, from now on, it should be pretty painless.
There are now several dependencies for releasing, but I created a
conda package for all of them
https://binstar.org/asmeurer/sympy-release (only available for OS X
for now, but for Linux you just need to build the recipes in the
conda-recipes repo). The requests package in particular required some
patching from upstream urllib3 to make the release uploading work
correctly with SNI. The one thing that isn't included there is
vagrant.

I still need to make sure the code that uploads to PyPI works (I only
plan to do that for the final release), but at that point, it's only a
few commands to download and prepare the virtual machine (if you
haven't already), create a release branch, create the release tarball
and docs, and test everything, tag the release, and upload them to
GitHub and PyPI.  The whole process takes about an hour, a big chunk
of which is spent downloading the virtual machine updates (if you
haven't done that yet), and another big chunk of which is spent
building the pdf docs.  There are a few more things that I can/should
automate, like updating the docs website, and possibly even updating
the main website.

In order to make the release process even smoother in the future, I
would make the following recommendations:

- Test the release process with Travis. The reason is that there are
two tests run by the release process that are never run otherwise, so
they always get out of date: testing the .mailmap and AUTHORS are
up-to-date, and testing that no files from git were missed in the
install tarball. This second one is particularly important because
people always forget to add tests for new modules to setup.py to be
installed, which means that they are never tested at all, since Travis
installs first before testing.

- As a community, make sure that the release notes for the next
release are always up-to-date, so that we can release at any time.
This has been discussed before. We need to recognize what kinds of
changes are release notes-worthy, and ask the author of the pull
request to update them, even before the PR is merged. If you have any
suggestions on how to do this better, let me know.

Aaron Meurer



On Wed, Dec 4, 2013 at 11:13 AM, Matthew Rocklin <[email protected]> wrote:
> How annoying was the release process this time around?
>
>
> On Mon, Dec 2, 2013 at 11:33 AM, Ondřej Čertík <[email protected]>
> wrote:
>>
>> On Sun, Dec 1, 2013 at 11:34 PM, Aaron Meurer <[email protected]> wrote:
>> > I've released the first release candidate of SymPy 0.7.4. You can
>> > download it at
>> > https://github.com/sympy/sympy/releases/tag/sympy-0.7.4.rc1.
>> >
>> > Please download and test this release. If all goes smoothly, I'll do
>> > the final release in a week.
>>
>> I tested on 64bit Ubuntu 12.04, all tests pass:
>>
>> Python 2.7: https://gist.github.com/certik/7755808
>> Python 3.2: https://gist.github.com/certik/7755871
>>
>> Ondrej
>>
>> P.S. I noticed some tests are Xpassing in both 2.7 and 3.3, so maybe
>> we can enable them in master.
>> I wouldn't worry about this for the release.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/sympy.
>> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to