Commit Graph

6 Commits

Author SHA1 Message Date
xuyong
2ecaf6cedb Upgrade verion of PyYAML from 5.4.1 to 6.0
Signed-off-by: xuyong <xuyong59@huawei.com>
2022-06-17 16:30:40 +08:00
xuyong
3b30a99471 backup pyyaml from 6.0 to 5.4.1
Signed-off-by: xuyong <xuyong59@huawei.com>
2022-03-16 17:10:07 +08:00
Pantelis Antoniou
a31a4fb189 Remove Python 2 support and simplify
It's time to stop pretending this is anymore compatible to version 2
by using macros to hide the fact that on 3 objects are bytes and not
string.

Removing the support for version 2 makes things clearer.

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
2021-09-23 14:42:00 -07:00
Pantelis Antoniou
fecae105d7 Define PyString_GetExact as Bytes
Puzzling, but this is the expected behaviour

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
2021-09-23 14:42:00 -07:00
Pantelis Antoniou
82db283558 Fix warning errors of the libyaml binding
Make the build work without any warnings.
The cython and C yaml types were differing in definition and that's
no good.

Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
2021-09-23 14:42:00 -07:00
Brad Solomon
89f608599d Build modernization (GHA, wheels, setuptools) (#407)
* Move most CI to GitHub Actions
* Build sdist
* Build manylinux1 wheels with libyaml ext (also tested with 2010 and 2014)
* Build MacOS x86_64 wheels with libyaml ext
* Windows wheel builds remain on AppVeyor until we drop 2.7 support in 6.0
* Smoke tests of all post-build artifacts
* Add PEP517/518 build declaration (pyproject.toml with setuptools backend)
* Fully move build to setuptools
* Drop Python 3.5 support
* Declare Python 3.9 support
* Update PyPI metadata now that setuptools lets it flow through

Co-authored-by: Matt Davis <mrd@redhat.com>
2021-01-13 16:58:40 -05:00