Skip to content

Commit 2438122

Browse files
committed
Changelogs were not always sorted alphabetically... fixed!
1 parent 0898739 commit 2438122

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

changelogs/WinPython-2.7.5.0_History.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ New packages:
1717
Upgraded packages:
1818

1919
* [http://www.cython.org Cython] 0.19 → 0.19.1 (Cython is a language that makes writing C extensions for the Python language as easy as Python)
20-
* [http://packages.python.org/guiqwt guiqwt] 2.2.1 → 2.3.0 (Efficient curve/image plotting and other GUI tools for scientific data processing software development)
21-
* [http://pypi.python.org/pypi/distribute distribute] 0.6.38 → 0.6.40 (Download, build, install, upgrade, and uninstall Python packages - easily)
22-
* [http://www.pytables.org tables] 3.0.0b1 → 3.0.0rc2 (Package based on HDF5 library for managing hierarchical datasets (extremely large amounts of data))
23-
* [http://abel.ee.ucla.edu/cvxopt cvxopt] 1.1.5 → 1.1.6 (Convex optimization library)
24-
* [http://pypi.python.org/pypi/simplejson simplejson] 3.2.0 → 3.3.0 (Simple, fast, extensible JSON (JavaScript Object Notation) encoder/decoder)
25-
* [http://www.python.org/ Python] 2.7.4 → 2.7.5 (Python programming language with standard library)
2620
* [http://jinja.pocoo.org Jinja2] 2.6 → 2.7 (Sandboxed template engine (provides a Django-like non-XML syntax and compiles templates into executable python code))
27-
* [http://pypi.python.org/pypi/scikit-image scikit-image] 0.8.1 → 0.8.2 (Image processing toolbox for SciPy)
28-
* [http://pypi.python.org/pypi/mahotas mahotas] 0.99 → 1.0 (Computer Vision library)
21+
* [http://www.python.org/ Python] 2.7.4 → 2.7.5 (Python programming language with standard library)
22+
* [http://abel.ee.ucla.edu/cvxopt cvxopt] 1.1.5 → 1.1.6 (Convex optimization library)
23+
* [http://pypi.python.org/pypi/distribute distribute] 0.6.38 → 0.6.40 (Download, build, install, upgrade, and uninstall Python packages - easily)
2924
* [http://packages.python.org/guidata guidata] 1.5.1 → 1.6.1 (Automatically generated graphical user interfaces for easy data set edition and display)
25+
* [http://packages.python.org/guiqwt guiqwt] 2.2.1 → 2.3.0 (Efficient curve/image plotting and other GUI tools for scientific data processing software development)
26+
* [http://pypi.python.org/pypi/mahotas mahotas] 0.99 → 1.0 (Computer Vision library)
27+
* [http://pypi.python.org/pypi/scikit-image scikit-image] 0.8.1 → 0.8.2 (Image processing toolbox for SciPy)
28+
* [http://pypi.python.org/pypi/simplejson simplejson] 3.2.0 → 3.3.0 (Simple, fast, extensible JSON (JavaScript Object Notation) encoder/decoder)
29+
* [http://www.pytables.org tables] 3.0.0b1 → 3.0.0rc2 (Package based on HDF5 library for managing hierarchical datasets (extremely large amounts of data))
3030
* [http://code.google.com/p/winpython winpython] 0.13 → 0.14 (WinPython distribution tools, including WPPM (package manager))
3131

3232
----

diff.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def diff_package_dicts(dict1, dict2):
104104
text = ""
105105
set1, set2 = set(dict1.keys()), set(dict2.keys())
106106
# New packages
107-
new = set2 - set1
107+
new = sorted(set2 - set1)
108108
if new:
109109
text += "New packages:\r\n\r\n"
110110
for name in new:
@@ -113,15 +113,15 @@ def diff_package_dicts(dict1, dict2):
113113
text += '\r\n'
114114
# Upgraded packages
115115
upgraded_list = []
116-
for name in set1 & set2:
116+
for name in sorted(set1 & set2):
117117
package1 = dict1[name]
118118
package2 = dict2[name]
119119
if package1.version != package2.version:
120120
upgraded_list.append(package2.upgrade_wiki(package1))
121121
if upgraded_list:
122122
text += "Upgraded packages:\r\n\r\n%s\r\n" % "".join(upgraded_list)
123123
# Removed packages
124-
removed = set1 - set2
124+
removed = sorted(set1 - set2)
125125
if removed:
126126
text += "Removed packages:\r\n\r\n"
127127
for name in removed:

0 commit comments

Comments
 (0)