Skip to content

Commit 6f47239

Browse files
committed
changelog tweak for pypi
1 parent a0fcef5 commit 6f47239

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed

CHANGELOG.rst

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,26 @@ spyne-2.13.0
1515
subclasses should fix the problem.
1616

1717
See 2fee1435c30dc50f7503f0915b5e56220dff34d0 for the change.
18+
1819
* EXPERIMENTAL library-wide Python 3 Support! Yay!
19-
* MessagePack uses backwards-compatible raws with a hard-coded UTF-8 encoding
20-
for Unicode (non-ByteArray) types. Please open an issue if not happy with
21-
this.
22-
* It's the transports' job to decide on a codec. Use UTF-8 when in doubt, as
23-
that's what we're doing.
24-
* Float rounding behaviour seems to have changed in Python 3. In Python 2,
25-
``round(2.5) = 3`` and ``round(3.5) = 4`` whereas in Python 3,
26-
``round(2.5) = 2`` and ``round(3.5) = 4``. This is called half-to-even
27-
rounding and while being counterintuitive, it seems to make better sense from
28-
a statistical standpoint.
29-
30-
You will have to live with this or use ``decimal.Decimal``.
31-
32-
This changes the way datetime and time microseconds are rounded. See
33-
``test_datetime_usec`` and ``test_time_usec`` in
34-
``spyne.test.model.test_primitive``.
20+
21+
* MessagePack uses backwards-compatible raws with a hard-coded UTF-8 encoding
22+
for Unicode (non-ByteArray) types. Please open an issue if not happy with
23+
this.
24+
* It's the transports' job to decide on a codec. Use UTF-8 when in doubt, as
25+
that's what we're doing.
26+
* Avoid the async keyword for Python 3.7.
27+
* Float rounding behaviour seems to have changed in Python 3. In Python 2,
28+
``round(2.5) = 3`` and ``round(3.5) = 4`` whereas in Python 3,
29+
``round(2.5) = 2`` and ``round(3.5) = 4``. This is called half-to-even
30+
rounding and while being counterintuitive, it seems to make better sense from
31+
a statistical standpoint.
32+
33+
You will have to live with this or use ``decimal.Decimal``.
34+
35+
This changes the way datetime and time microseconds are rounded. See
36+
``test_datetime_usec`` and ``test_time_usec`` in
37+
``spyne.test.model.test_primitive``.
3538

3639
* ``spyne.model.Unicode`` used to tolerate (i.e. implicitly but not-so-silenty
3740
casted to ``str``) int values. This is no longer the case. If you want to

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
v = open(os.path.join(os.path.dirname(__file__), 'spyne', '__init__.py'), 'r')
3737
VERSION = re.match(r".*__version__ = '(.*?)'", v.read(), re.S).group(1)
3838

39-
SHORT_DESC="""A transport and architecture agnostic rpc library that focuses on
40-
exposing public services with a well-defined API."""
39+
SHORT_DESC="A transport and architecture agnostic rpc library that focuses on" \
40+
" exposing public services with a well-defined API."
4141

4242
LONG_DESC = """Homepage: http://spyne.io
4343
@@ -50,6 +50,7 @@
5050
try:
5151
os.stat('CHANGELOG.rst')
5252
LONG_DESC += u"\n\n" + open('CHANGELOG.rst', 'rb').read().decode('utf8')
53+
print(LONG_DESC.encode('utf8'))
5354
except OSError:
5455
pass
5556

0 commit comments

Comments
 (0)