Skip to content

Commit

Permalink
Merge pull request #139 from njsmith/less-zenodo
Browse files Browse the repository at this point in the history
Rework zenodo handling to make releasing simpler
  • Loading branch information
njsmith authored Oct 31, 2018
2 parents e141c8a + c4df5c1 commit 80321a0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 26 deletions.
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@ Patsy is a Python library for describing statistical models
building design matrices. Patsy brings the convenience of `R
<http://www.r-project.org/>`_ "formulas" to Python.

.. image:: https://img.shields.io/badge/docs-read%20now-blue.svg
:target: https://patsy.readthedocs.io/
:alt: Documentation
.. image:: https://travis-ci.org/pydata/patsy.png?branch=master
:target: https://travis-ci.org/pydata/patsy
:alt: Build status
.. image:: https://coveralls.io/repos/pydata/patsy/badge.png?branch=master
:target: https://coveralls.io/r/pydata/patsy?branch=master
:alt: Coverage
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.592075.svg
:target: https://doi.org/10.5281/zenodo.592075
:alt: Zenodo

Documentation:
https://patsy.readthedocs.io/
Expand Down
33 changes: 12 additions & 21 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Changes

.. currentmodule:: patsy

All Patsy releases are archived at Zenodo:

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.592075.svg
:target: https://doi.org/10.5281/zenodo.592075


v0.5.1
------

Expand All @@ -15,22 +21,17 @@ v0.5.1
v0.5.0
------

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1211053.svg
:target: https://doi.org/10.5281/zenodo.1211053

* Dropped support for Python 2.6 and 3.3.
* Update to keep up with ``pandas`` API changes
* More consistent handling of degenerate linear constraints in
:meth:`DesignInfo.linear_constraint` (`#89
<https://github.com/pydata/patsy/issues/89>`__)
* Fix a crash in ``DesignMatrix.__repr__`` when ``shape[0] == 0``


v0.4.1
------

.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.33471.svg
:target: https://doi.org/10.5281/zenodo.33471

New features:

* On Python 2, accept ``unicode`` strings containing only ASCII
Expand All @@ -49,12 +50,10 @@ Bug fixes:

* Fix deprecation warnings encountered with numpy 1.10


v0.4.0
------

.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.20981.svg
:target: https://doi.org/10.5281/zenodo.20981

Incompatible changes:

* :class:`EvalFactor` and :meth:`ModelDesc.from_formula` no longer
Expand Down Expand Up @@ -108,12 +107,10 @@ Other changes:

* Fixed a bug when running under ``python -OO``.


v0.3.0
------

.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.11444.svg
:target: https://doi.org/10.5281/zenodo.11444

* New stateful transforms for computing natural and cylic cubic
splines with constraints, and tensor spline bases with
constraints. (Thanks to `@broessli <https://github.com/broessli>`_
Expand Down Expand Up @@ -147,12 +144,10 @@ v0.3.0

* Worked around some more limitations in py2exe/py2app and friends.


v0.2.1
------

.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.11447.png
:target: https://doi.org/10.5281/zenodo.11447

* Fixed a nasty bug in missing value handling where, if missing values
were present, ``dmatrix(..., result_type="dataframe")`` would always
crash, and ``dmatrices("y ~ 1")`` would produce left- and right-hand
Expand All @@ -165,12 +160,10 @@ v0.2.1
* Modified ``patsy/__init__.py`` to work around limitations in
py2exe/py2app/etc.


v0.2.0
------

.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.11448.png
:target: https://doi.org/10.5281/zenodo.11448

Warnings:

* The lowest officially supported Python version is now 2.5. So far as
Expand Down Expand Up @@ -201,10 +194,8 @@ New features:

Other: miscellaneous doc improvements and bug fixes.


v0.1.0
------

.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.11449.png
:target: https://doi.org/10.5281/zenodo.11449

First public release.
5 changes: 0 additions & 5 deletions release-checklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* in original directory: git tag v<version> && git push --tags
* in clean clone: python setup.py sdist --formats=zip && python setup.py bdist_wheel
* twine upload dist/*.zip dist/*.whl
* Go to http://readthedocs.org/dashboard/patsy/versions/, set the new
version to build and update the default.
* announce release on:
[email protected]
[email protected]
Expand All @@ -25,6 +23,3 @@
* go to https://github.com/pydata/patsy/releases/new and type the tag
name and give it some text. (This will trigger Zenodo archiving the
tag.)
* go to
https://zenodo.org/search?f=author&p=Nathaniel%20J.%20Smith&ln=en
to find the new archive and add the DOI image to changes.rst.

0 comments on commit 80321a0

Please sign in to comment.