File tree Expand file tree Collapse file tree 7 files changed +162
-80
lines changed Expand file tree Collapse file tree 7 files changed +162
-80
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ For a complete changelog, see:
3
3
4
4
* https://github.com/yaml/pyyaml/commits/
5
5
6
+ 6.0.3 (2025-09-25)
7
+
8
+ * https://github.com/yaml/pyyaml/pull/864 -- Support for Python 3.14 and free-threading (experimental)
9
+
6
10
6.0.2 (2024-08-06)
7
11
8
12
* https://github.com/yaml/pyyaml/pull/808 -- Support for Cython 3.x and Python 3.13
Original file line number Diff line number Diff line change 8
8
from .loader import *
9
9
from .dumper import *
10
10
11
- __version__ = '6.0.2 '
11
+ __version__ = '6.0.3 '
12
12
try :
13
13
from .cyaml import *
14
14
__with_libyaml__ = True
Original file line number Diff line number Diff line change 2
2
3
3
set -eux
4
4
5
+ # build the requested version of libyaml locally
6
+ echo " ::group::fetch libyaml ${LIBYAML_REF} "
7
+ git config --global advice.detachedHead false
8
+ git clone --branch " $LIBYAML_REF " " $LIBYAML_REPO " libyaml
9
+ pushd libyaml
10
+ git reset --hard " $LIBYAML_REF "
11
+ echo " ::endgroup::"
12
+
5
13
# ensure the prove testing tool is available
6
14
echo " ::group::ensure build/test prerequisites"
7
15
if ! command -v prove; then
@@ -12,14 +20,14 @@ if ! command -v prove; then
12
20
exit 1
13
21
fi
14
22
fi
15
- echo " ::endgroup::"
16
23
17
- # build the requested version of libyaml locally
18
- echo " ::group::fetch libyaml ${LIBYAML_REF} "
19
- git config --global advice.detachedHead false
20
- git clone --branch " $LIBYAML_REF " " $LIBYAML_REPO " libyaml
21
- pushd libyaml
22
- git reset --hard " $LIBYAML_REF "
24
+ # hack to fix up locally musl1.2 libtool macros
25
+ if grep -m 1 alpine /etc/os-release; then
26
+ if ! grep -E ' AC_CONFIG_MACRO_DIRS\(\[m4])' configure.ac; then
27
+ echo ' AC_CONFIG_MACRO_DIRS([m4])' >> configure.ac
28
+ ACLOCAL_PATH=/usr/local/share/libtool/ libtoolize
29
+ fi
30
+ fi
23
31
echo " ::endgroup::"
24
32
25
33
echo " ::group::autoconf libyaml w/ static only"
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
requires = [
3
3
" setuptools" , # FIXME: declare min/max setuptools versions?
4
- " wheel" ,
5
4
" Cython; python_version < '3.13'" ,
6
5
" Cython>=3.0; python_version >= '3.13'"
7
6
]
Original file line number Diff line number Diff line change 1
1
2
2
NAME = 'PyYAML'
3
- VERSION = '6.0.2 '
3
+ VERSION = '6.0.3 '
4
4
DESCRIPTION = "YAML parser and emitter for Python"
5
5
LONG_DESCRIPTION = """\
6
6
YAML is a data serialization format designed for human readability
34
34
"Programming Language :: Python :: 3.11" ,
35
35
"Programming Language :: Python :: 3.12" ,
36
36
"Programming Language :: Python :: 3.13" ,
37
+ "Programming Language :: Python :: 3.14" ,
37
38
"Programming Language :: Python :: Implementation :: CPython" ,
38
39
"Programming Language :: Python :: Implementation :: PyPy" ,
39
40
"Topic :: Software Development :: Libraries :: Python Modules" ,
Original file line number Diff line number Diff line change
1
+ # cython: freethreading_compatible = True
1
2
2
3
import yaml
3
4
You can’t perform that action at this time.
0 commit comments