Skip to content

Commit e471e86

Browse files
committed
Updates for 5.1 release
1 parent 9141e90 commit e471e86

File tree

6 files changed

+54
-37
lines changed

6 files changed

+54
-37
lines changed

CHANGES

+29-17
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,39 @@ For a complete changelog, see:
44
* https://github.com/yaml/pyyaml/commits/
55
* https://bitbucket.org/xi/pyyaml/commits/
66

7-
4.1 (2018-06-26)
7+
5.1 (2019-03-13)
88
----------------
99

10-
* https://github.com/yaml/pyyaml/pull/35 -- Some modernization of the test running
11-
* https://github.com/yaml/pyyaml/pull/42 -- Install tox in a virtualenv
12-
* https://github.com/yaml/pyyaml/pull/45 -- Allow colon in a plain scalar in a flow context
13-
* https://github.com/yaml/pyyaml/pull/48 -- Fix typos
14-
* https://github.com/yaml/pyyaml/pull/55 -- Improve RepresenterError creation
15-
* https://github.com/yaml/pyyaml/pull/59 -- Resolves #57, update readme issues link
16-
* https://github.com/yaml/pyyaml/pull/60 -- Document and test Python 3.6 support
17-
* https://github.com/yaml/pyyaml/pull/61 -- Use Travis CI built in pip cache support
18-
* https://github.com/yaml/pyyaml/pull/62 -- Remove tox workaround for Travis CI
19-
* https://github.com/yaml/pyyaml/pull/63 -- Adding support to Unicode characters over codepoint 0xffff
20-
* https://github.com/yaml/pyyaml/pull/65 -- Support unicode literals over codepoint 0xffff
21-
* https://github.com/yaml/pyyaml/pull/74 -- Make pyyaml safe by default.
22-
* https://github.com/yaml/pyyaml/pull/75 -- add 3.12 changelog
23-
* https://github.com/yaml/pyyaml/pull/76 -- Fallback to Pure Python if Compilation fails
24-
* https://github.com/yaml/pyyaml/pull/84 -- Drop unsupported Python 3.3
10+
* https://github.com/yaml/pyyaml/pull/35 -- Some modernization of the test running
11+
* https://github.com/yaml/pyyaml/pull/42 -- Install tox in a virtualenv
12+
* https://github.com/yaml/pyyaml/pull/45 -- Allow colon in a plain scalar in a flow context
13+
* https://github.com/yaml/pyyaml/pull/48 -- Fix typos
14+
* https://github.com/yaml/pyyaml/pull/55 -- Improve RepresenterError creation
15+
* https://github.com/yaml/pyyaml/pull/59 -- Resolves #57, update readme issues link
16+
* https://github.com/yaml/pyyaml/pull/60 -- Document and test Python 3.6 support
17+
* https://github.com/yaml/pyyaml/pull/61 -- Use Travis CI built in pip cache support
18+
* https://github.com/yaml/pyyaml/pull/62 -- Remove tox workaround for Travis CI
19+
* https://github.com/yaml/pyyaml/pull/63 -- Adding support to Unicode characters over codepoint 0xffff
20+
* https://github.com/yaml/pyyaml/pull/65 -- Support unicode literals over codepoint 0xffff
21+
* https://github.com/yaml/pyyaml/pull/75 -- add 3.12 changelog
22+
* https://github.com/yaml/pyyaml/pull/76 -- Fallback to Pure Python if Compilation fails
23+
* https://github.com/yaml/pyyaml/pull/84 -- Drop unsupported Python 3.3
24+
* https://github.com/yaml/pyyaml/pull/102 -- Include license file in the generated wheel package
25+
* https://github.com/yaml/pyyaml/pull/105 -- Removed Python 2.6 & 3.3 support
2526
* https://github.com/yaml/pyyaml/pull/111 -- Remove commented out Psyco code
27+
* https://github.com/yaml/pyyaml/pull/129 -- Remove call to `ord` in lib3 emitter code
28+
* https://github.com/yaml/pyyaml/pull/143 -- Allow to turn off sorting keys in Dumper
2629
* https://github.com/yaml/pyyaml/pull/149 -- Test on Python 3.7-dev
2730
* https://github.com/yaml/pyyaml/pull/158 -- Support escaped slash in double quotes "\/"
31+
* https://github.com/yaml/pyyaml/pull/181 -- Import Hashable from collections.abc
32+
* https://github.com/yaml/pyyaml/pull/256 -- Make default_flow_style=False
33+
* https://github.com/yaml/pyyaml/pull/257 -- Deprecate yaml.load and add FullLoader and UnsafeLoader classes
34+
* https://github.com/yaml/pyyaml/pull/263 -- Windows Appveyor build
35+
36+
3.13 (2018-07-05)
37+
-----------------
38+
39+
* Resolved issues around PyYAML working in Python 3.7.
2840

2941
3.12 (2016-08-28)
3042
-----------------
@@ -175,5 +187,5 @@ For a complete changelog, see:
175187

176188
* Initial release. The version number reflects the codename
177189
of the project (PyYAML 3000) and differentiates it from
178-
the abandoned PyYaml module.
190+
the abandoned PyYaml module.
179191

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017-2018 Ingy döt Net
1+
Copyright (c) 2017-2019 Ingy döt Net
22
Copyright (c) 2006-2016 Kirill Simonov
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy of

announcement.msg

+21-16
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
From: Ingy döt Net <[email protected]>
22
3-
Subject: [ANN] PyYAML-4.1: YAML parser and emitter for Python
3+
Subject: [ANN] PyYAML-5.1: YAML parser and emitter for Python
44

55
=======================
6-
Announcing PyYAML-4.1
6+
Announcing PyYAML-5.1
77
=======================
88

99
A new MAJOR RELEASE of PyYAML is now available:
1010
https://pypi.org/project/PyYAML/
1111

12-
This is the first release of PyYAML under a new maintenance team. In August
13-
2016, maintenance of PyYAML and LibYAML was turned over from the original
14-
author, Kirill Simonov, to Ian Cordasco and Ingy döt Net.
12+
This is the first major release of PyYAML under the new maintenance team.
1513

16-
The canonical source repo moved:
14+
Among the many changes listed below, this release specifically addresses the
15+
arbitrary code execution issue raised by:
1716

18-
from: https://bitbucket.org/xi/pyyaml/
19-
to: https://github.com/yaml/pyyaml
17+
https://nvd.nist.gov/vuln/detail/CVE-2017-18342
18+
19+
(See https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
20+
for complete details).
2021

2122
The PyYAML project is now maintained by the YAML and Python communities.
2223
Planning happens on the #yaml-dev, #pyyaml and #libyaml IRC channels on
@@ -37,13 +38,20 @@ Changes
3738
* https://github.com/yaml/pyyaml/pull/62 -- Remove tox workaround for Travis CI
3839
* https://github.com/yaml/pyyaml/pull/63 -- Adding support to Unicode characters over codepoint 0xffff
3940
* https://github.com/yaml/pyyaml/pull/65 -- Support unicode literals over codepoint 0xffff
40-
* https://github.com/yaml/pyyaml/pull/74 -- Make pyyaml safe by default.
4141
* https://github.com/yaml/pyyaml/pull/75 -- add 3.12 changelog
4242
* https://github.com/yaml/pyyaml/pull/76 -- Fallback to Pure Python if Compilation fails
4343
* https://github.com/yaml/pyyaml/pull/84 -- Drop unsupported Python 3.3
44+
* https://github.com/yaml/pyyaml/pull/102 -- Include license file in the generated wheel package
45+
* https://github.com/yaml/pyyaml/pull/105 -- Removed Python 2.6 & 3.3 support
4446
* https://github.com/yaml/pyyaml/pull/111 -- Remove commented out Psyco code
47+
* https://github.com/yaml/pyyaml/pull/129 -- Remove call to `ord` in lib3 emitter code
48+
* https://github.com/yaml/pyyaml/pull/143 -- Allow to turn off sorting keys in Dumper
4549
* https://github.com/yaml/pyyaml/pull/149 -- Test on Python 3.7-dev
4650
* https://github.com/yaml/pyyaml/pull/158 -- Support escaped slash in double quotes "\/"
51+
* https://github.com/yaml/pyyaml/pull/181 -- Import Hashable from collections.abc
52+
* https://github.com/yaml/pyyaml/pull/256 -- Make default_flow_style=False
53+
* https://github.com/yaml/pyyaml/pull/257 -- Deprecate yaml.load and add FullLoader and UnsafeLoader classes
54+
* https://github.com/yaml/pyyaml/pull/263 -- Windows Appveyor build
4755

4856

4957
Resources
@@ -81,7 +89,7 @@ Example
8189

8290
>>> import yaml
8391

84-
>>> yaml.load("""
92+
>>> yaml.full_load("""
8593
... name: PyYAML
8694
... description: YAML parser and emitter for Python
8795
... homepage: https://github.com/yaml/pyyaml
@@ -91,7 +99,7 @@ Example
9199
'pickle'], 'homepage': 'https://github.com/yaml/pyyaml', 'description':
92100
'YAML parser and emitter for Python', 'name': 'PyYAML'}
93101

94-
>>> print yaml.dump(_)
102+
>>> print(yaml.dump(_))
95103
name: PyYAML
96104
homepage: https://github.com/yaml/pyyaml
97105
description: YAML parser and emitter for Python
@@ -101,13 +109,10 @@ keywords: [YAML, serialization, configuration, persistence, pickle]
101109
Maintainers
102110
===========
103111

104-
The following people are responsible for maintaining PyYAML:
112+
The following people are currently responsible for maintaining PyYAML:
105113

106114
* Ingy döt Net
107-
* Ian Cordasco
108115
* Tina Mueller
109-
* Alex Gaynor
110-
* Donald Stufft
111116
* Matt Davis
112117

113118
and many thanks to all who have contribributed!
@@ -117,7 +122,7 @@ See: https://github.com/yaml/pyyaml/pulls
117122
Copyright
118123
=========
119124

120-
Copyright (c) 2017-2018 Ingy döt Net <[email protected]>
125+
Copyright (c) 2017-2019 Ingy döt Net <[email protected]>
121126
Copyright (c) 2006-2016 Kirill Simonov <[email protected]>
122127

123128
The PyYAML module was written by Kirill Simonov <[email protected]>.

lib/yaml/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from loader import *
99
from dumper import *
1010

11-
__version__ = '3.13'
11+
__version__ = '5.1'
1212

1313
try:
1414
from cyaml import *

lib3/yaml/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .loader import *
99
from .dumper import *
1010

11-
__version__ = '3.13'
11+
__version__ = '5.1'
1212
try:
1313
from .cyaml import *
1414
__with_libyaml__ = True

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
NAME = 'PyYAML'
3-
VERSION = '3.13'
3+
VERSION = '5.1'
44
DESCRIPTION = "YAML parser and emitter for Python"
55
LONG_DESCRIPTION = """\
66
YAML is a data serialization format designed for human readability

0 commit comments

Comments
 (0)