• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From: Ingy döt Net <ingy@ingy.net>
2To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net
3Subject: [ANN] PyYAML-6.0 Released
4
5=====================
6Announcing PyYAML-6.0
7=====================
8
9A new release of PyYAML is now available:
10https://github.com/yaml/pyyaml/releases/tag/6.0
11
12The previously-deprecated default loader selection in `yaml.load()` has
13been removed; `Loader` is now a required argument.
14
15Support for Python 2.7 and 3.5 has been dropped, and support for Python 3.10
16added. It now includes libyaml 0.2.5 extension wheels for MacOS M1
17(Apple Silicon/arm64), Linux s390x and Linux aarch64.
18
19Numerous other bugfixes and code cleanups are included in this release.
20
21
22Changes
23=======
24
25* https://github.com/yaml/pyyaml/pull/327 -- Change README format to Markdown
26* https://github.com/yaml/pyyaml/pull/483 -- Add a test for YAML 1.1 types
27* https://github.com/yaml/pyyaml/pull/497 -- fix float resolver to ignore `.` and `._`
28* https://github.com/yaml/pyyaml/pull/550 -- drop Python 2.7
29* https://github.com/yaml/pyyaml/pull/553 -- Fix spelling of “hexadecimal”
30* https://github.com/yaml/pyyaml/pull/556 -- fix representation of Enum subclasses
31* https://github.com/yaml/pyyaml/pull/557 -- fix libyaml extension compiler warnings
32* https://github.com/yaml/pyyaml/pull/560 -- fix ResourceWarning on leaked file descriptors
33* https://github.com/yaml/pyyaml/pull/561 -- always require `Loader` arg to `yaml.load()`
34* https://github.com/yaml/pyyaml/pull/564 -- remove remaining direct distutils usage
35
36
37Resources
38=========
39
40PyYAML Matrix: https://matrix.to/#/#pyyaml:yaml.io
41PyYAML IRC Channel: #pyyaml on irc.libera.chat
42PyYAML homepage: https://github.com/yaml/pyyaml
43PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation
44Source and binary installers: https://pypi.org/project/PyYAML/
45GitHub repository: https://github.com/yaml/pyyaml/
46Bug tracking: https://github.com/yaml/pyyaml/issues
47
48YAML homepage: http://yaml.org/
49YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-core
50
51
52About PyYAML
53============
54
55YAML is a data serialization format designed for human readability and
56interaction with scripting languages. PyYAML is a YAML parser and emitter for
57Python.
58
59PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support,
60capable extension API, and sensible error messages. PyYAML supports standard
61YAML tags and provides Python-specific tags that allow to represent an
62arbitrary Python object.
63
64PyYAML is applicable for a broad range of tasks from complex configuration
65files to object serialization and persistence.
66
67
68Example
69=======
70
71```
72>>> import yaml
73
74>>> yaml.full_load("""
75... name: PyYAML
76... description: YAML parser and emitter for Python
77... homepage: https://github.com/yaml/pyyaml
78... keywords: [YAML, serialization, configuration, persistence, pickle]
79... """)
80{'keywords': ['YAML', 'serialization', 'configuration', 'persistence',
81'pickle'], 'homepage': 'https://github.com/yaml/pyyaml', 'description':
82'YAML parser and emitter for Python', 'name': 'PyYAML'}
83
84>>> print(yaml.dump(_))
85name: PyYAML
86homepage: https://github.com/yaml/pyyaml
87description: YAML parser and emitter for Python
88keywords: [YAML, serialization, configuration, persistence, pickle]
89```
90
91Maintainers
92===========
93
94The following people are currently responsible for maintaining PyYAML:
95
96* Ingy döt Net
97* Matt Davis
98
99and many thanks to all who have contributed!
100See: https://github.com/yaml/pyyaml/pulls
101
102
103Copyright
104=========
105
106Copyright (c) 2017-2021 Ingy döt Net <ingy@ingy.net>
107Copyright (c) 2006-2016 Kirill Simonov <xi@resolvent.net>
108
109The PyYAML module was written by Kirill Simonov <xi@resolvent.net>.
110It is currently maintained by the YAML and Python communities.
111
112PyYAML is released under the MIT license.
113See the file LICENSE for more details.
114