Skip to content

Commit 80321a0

Browse files
authored
Merge pull request #139 from njsmith/less-zenodo
Rework zenodo handling to make releasing simpler
2 parents e141c8a + c4df5c1 commit 80321a0

3 files changed

Lines changed: 20 additions & 26 deletions

File tree

README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@ Patsy is a Python library for describing statistical models
33
building design matrices. Patsy brings the convenience of `R
44
<http://www.r-project.org/>`_ "formulas" to Python.
55

6+
.. image:: https://img.shields.io/badge/docs-read%20now-blue.svg
7+
:target: https://patsy.readthedocs.io/
8+
:alt: Documentation
69
.. image:: https://travis-ci.org/pydata/patsy.png?branch=master
710
:target: https://travis-ci.org/pydata/patsy
11+
:alt: Build status
812
.. image:: https://coveralls.io/repos/pydata/patsy/badge.png?branch=master
913
:target: https://coveralls.io/r/pydata/patsy?branch=master
14+
:alt: Coverage
15+
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.592075.svg
16+
:target: https://doi.org/10.5281/zenodo.592075
17+
:alt: Zenodo
1018

1119
Documentation:
1220
https://patsy.readthedocs.io/

doc/changes.rst

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ Changes
33

44
.. currentmodule:: patsy
55

6+
All Patsy releases are archived at Zenodo:
7+
8+
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.592075.svg
9+
:target: https://doi.org/10.5281/zenodo.592075
10+
11+
612
v0.5.1
713
------
814

@@ -15,22 +21,17 @@ v0.5.1
1521
v0.5.0
1622
------
1723

18-
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1211053.svg
19-
:target: https://doi.org/10.5281/zenodo.1211053
20-
2124
* Dropped support for Python 2.6 and 3.3.
2225
* Update to keep up with ``pandas`` API changes
2326
* More consistent handling of degenerate linear constraints in
2427
:meth:`DesignInfo.linear_constraint` (`#89
2528
<https://github.com/pydata/patsy/issues/89>`__)
2629
* Fix a crash in ``DesignMatrix.__repr__`` when ``shape[0] == 0``
2730

31+
2832
v0.4.1
2933
------
3034

31-
.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.33471.svg
32-
:target: https://doi.org/10.5281/zenodo.33471
33-
3435
New features:
3536

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

5051
* Fix deprecation warnings encountered with numpy 1.10
5152

53+
5254
v0.4.0
5355
------
5456

55-
.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.20981.svg
56-
:target: https://doi.org/10.5281/zenodo.20981
57-
5857
Incompatible changes:
5958

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

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

110+
111111
v0.3.0
112112
------
113113

114-
.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.11444.svg
115-
:target: https://doi.org/10.5281/zenodo.11444
116-
117114
* New stateful transforms for computing natural and cylic cubic
118115
splines with constraints, and tensor spline bases with
119116
constraints. (Thanks to `@broessli <https://github.com/broessli>`_
@@ -147,12 +144,10 @@ v0.3.0
147144

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

147+
150148
v0.2.1
151149
------
152150

153-
.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.11447.png
154-
:target: https://doi.org/10.5281/zenodo.11447
155-
156151
* Fixed a nasty bug in missing value handling where, if missing values
157152
were present, ``dmatrix(..., result_type="dataframe")`` would always
158153
crash, and ``dmatrices("y ~ 1")`` would produce left- and right-hand
@@ -165,12 +160,10 @@ v0.2.1
165160
* Modified ``patsy/__init__.py`` to work around limitations in
166161
py2exe/py2app/etc.
167162

163+
168164
v0.2.0
169165
------
170166

171-
.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.11448.png
172-
:target: https://doi.org/10.5281/zenodo.11448
173-
174167
Warnings:
175168

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

202195
Other: miscellaneous doc improvements and bug fixes.
203196

197+
204198
v0.1.0
205199
------
206200

207-
.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.11449.png
208-
:target: https://doi.org/10.5281/zenodo.11449
209-
210201
First public release.

release-checklist.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* in original directory: git tag v<version> && git push --tags
1515
* in clean clone: python setup.py sdist --formats=zip && python setup.py bdist_wheel
1616
* twine upload dist/*.zip dist/*.whl
17-
* Go to http://readthedocs.org/dashboard/patsy/versions/, set the new
18-
version to build and update the default.
1917
* announce release on:
2018
pydata@googlegroups.com
2119
pystatsmodels@googlegroups.com
@@ -25,6 +23,3 @@
2523
* go to https://github.com/pydata/patsy/releases/new and type the tag
2624
name and give it some text. (This will trigger Zenodo archiving the
2725
tag.)
28-
* go to
29-
https://zenodo.org/search?f=author&p=Nathaniel%20J.%20Smith&ln=en
30-
to find the new archive and add the DOI image to changes.rst.

0 commit comments

Comments
 (0)