Skip to content

Commit 0f64cbf

Browse files
committed
changes for 5.1.2 release
1 parent 5986257 commit 0f64cbf

File tree

8 files changed

+29
-21
lines changed

8 files changed

+29
-21
lines changed

.appveyor.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ version: '{build}'
44
image:
55
- Visual Studio 2015
66

7-
#cache:
8-
#- 'C:\Python38\'
9-
#- 'C:\Python38-x64'
7+
cache:
8+
- 'C:\Python38\'
9+
- 'C:\Python38-x64'
1010

1111
environment:
1212
libyaml_repo_url: https://github.com/yaml/libyaml.git

.travis.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ matrix:
1616
env: TOXENV=py35
1717
- python: 3.6
1818
env: TOXENV=py36
19-
- python: 3.7-dev
19+
- python: 3.7
2020
env: TOXENV=py37
21-
# This is broken on travis as of 2019/03/12
22-
# - python: pypy
23-
# env: TOXENV=pypy
21+
- python: 3.8-dev
22+
env: TOXENV=py38
23+
- python: pypy
24+
env: TOXENV=pypy
2425

2526
# build libyaml
2627
before_script:

CHANGES

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ For a complete changelog, see:
44
* https://github.com/yaml/pyyaml/commits/
55
* https://bitbucket.org/xi/pyyaml/commits/
66

7+
5.1.2 (2019-07-30)
8+
------------------
9+
10+
* Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8b2+
11+
712
5.1.1 (2019-06-05)
813
------------------
914

10-
* Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8
15+
* Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8b1
1116

1217
5.1 (2019-03-13)
1318
----------------

announcement.msg

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
From: Ingy döt Net <ingy@ingy.net>
22
To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net
3-
Subject: [ANN] PyYAML-5.1.1: YAML parser and emitter for Python
3+
Subject: [ANN] PyYAML-5.1.2: YAML parser and emitter for Python
44

55
=======================
6-
Announcing PyYAML-5.1.1
6+
Announcing PyYAML-5.1.2
77
=======================
88

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

1212
This is a maintenance re-release of PyYAML 5.1 with re-generated Cython
13-
bindings to allow the extension to build properly for Python 3.8. No code
13+
bindings to allow the extension to build properly for Python 3.8b2+. No code
1414
changes were made in the PyYAML sources.
1515

1616
Changes

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__ = '5.1.1'
11+
__version__ = '5.1.2'
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__ = '5.1.1'
11+
__version__ = '5.1.2'
1212
try:
1313
from .cyaml import *
1414
__with_libyaml__ = True

packaging/build/appveyor.ps1

+8-7
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
# Update-AppveyorBuild -Version $dynamic_version
77

88
Function Bootstrap() {
9-
# uncomment when we want to start testing on Python 3.8
109
# ensure py38 is present (current Appveyor VS2015 image doesn't include it)
11-
#If(-not $(Test-Path C:\Python38)) {
12-
# choco.exe install python3 --version=3.8.0-a2 --forcex86 --force #--install-arguments="TargetDir=C:\Python38 PrependPath=0" --no-progress
13-
#}
10+
If(-not $(Test-Path C:\Python38)) {
11+
choco.exe install python3 --version=3.8.0-b3 --forcex86 --force --params="/InstallDir:C:\Python38" --no-progress
12+
}
1413

15-
#If(-not $(Test-Path C:\Python38-x64)) {
16-
# choco.exe install python3 --version=3.8.0-a2 --force #--install-arguments="TargetDir=C:\Python38-x64 PrependPath=0" --no-progress
17-
#}
14+
If(-not $(Test-Path C:\Python38-x64)) {
15+
choco.exe install python3 --version=3.8.0-b3 --force --params="/InstallDir:C:\Python38-x64" --no-progress
16+
}
1817

1918
Write-Output "patching Windows SDK bits for distutils"
2019

@@ -123,6 +122,8 @@ $pythons = @(
123122
"C:\Python36-x64"
124123
"C:\Python37"
125124
"C:\Python37-x64"
125+
"C:\Python38"
126+
"C:\Python38-x64"
126127
)
127128

128129
#$pythons = @("C:\$($env:PYTHON_VER)")

setup.py

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

22
NAME = 'PyYAML'
3-
VERSION = '5.1.1'
3+
VERSION = '5.1.2'
44
DESCRIPTION = "YAML parser and emitter for Python"
55
LONG_DESCRIPTION = """\
66
YAML is a data serialization format designed for human readability
@@ -33,6 +33,7 @@
3333
"Programming Language :: Python :: 3.5",
3434
"Programming Language :: Python :: 3.6",
3535
"Programming Language :: Python :: 3.7",
36+
"Programming Language :: Python :: 3.8",
3637
"Programming Language :: Python :: Implementation :: CPython",
3738
"Programming Language :: Python :: Implementation :: PyPy",
3839
"Topic :: Software Development :: Libraries :: Python Modules",

0 commit comments

Comments
 (0)