Commit graph

24 commits

Author SHA1 Message Date
Matt Davis
d51d8a138f
Update CI and Build Targets for Python 3.14 and Windows/arm64 (#864)
* Update CI and Build Targets

* Add Python 3.14 pre-release support
* Add Windows/arm64 builds
* Update to current GHA runner versions
* Native aarch64 Linux runners
* Fix musllinux 1.2 builds

* musl libyaml build fixes

* add 3.14t wheels w/ freethreading directive, misc CI/build cleanup

* include package version in merged dist artifact filename
2025-09-25 11:13:58 -07:00
Matt Davis
a2d19c0234
Conditional support for Cython3.x, CI updates (#808)
* Cython 3.x support needed for Python 3.13
* Move CI to a dynamic matrix
* Use GHA-hosted Apple Silicon runners
* Move Windows builds to cibuildwheel
* Implement rudimentary PEP517 config-settings passthru to setuptools with
  custom in-tree setuptools build backend shim (blocked Windows build
  being moved to cibuildwheel).
* Use build_config.toml to smuggle JSON to cibuildwheel, since it
  trashes JSON via CLI when doing containerized builds.
2024-06-10 15:24:15 -07:00
Matt Davis
48838a3c76
restore windows x86_64 3.8 Python job (#765)
* mistakenly partially removed in a previous PR
2023-11-14 08:25:37 -08:00
Matt Davis
a98fd6088e
Move tests to pytest
* custom pytest collector and item to surface pyyaml data-driven tests as individual pytest unit tests
* moved some true unit tests to pytest-native tests
* deprecated `setup.py test` custom command
* updated Makefile to use pytest
* align test matrix with planned 7.x Python support
2023-11-10 11:37:15 -08:00
Matt Davis
155ec463f6
disable CI trigger on PR edits 2023-08-29 15:07:06 -07:00
Matt Davis
e9bf819da6
Python 3.12 + musllinux_1_1_x86_64 wheel support
* misc CI updates

(cherry picked from commit b4d80a7421)
2023-08-28 15:29:42 -07:00
Matt Davis
27f9a99306
block Cython 3.0+ as a build dep (#702)
* keeps libyaml extension build functional once Cython 3.0 releases; stopgap measure until we can rewrite the extension build to eliminate all the ancient deprecated distutils magic

(cherry picked from commit ae08bdc82b)
2023-08-28 15:29:14 -07:00
Matthieu Darbois
957ae4d495
Add python 3.11 support (#663)
* Add python 3.11 support

* ci: use `windows-2019` runners

`windows-2016` runners have been removed

* ci: use CPython 3.11.0-rc.2 for Windows builds

Co-authored-by: Matt Davis <mrd@redhat.com>
2022-09-13 15:22:16 -07:00
Matt Davis
0abad85a17
security disclosure docs 2022-07-11 17:31:22 -07:00
Matt Davis
a4fb55e943 Update Python 3.10 versions for Windows build 2021-10-13 12:12:44 -07:00
Matt Davis
d5aba406ed Omnibus CI/artifact build update
* Adds support for private GHA runner to build for MacOS/arm64
* Split CI/artifact build workflows (hopefully temporarily) since GHA can't do dynamic/conditional matrix
* Moves Windows builds to GHA
2021-09-29 13:53:30 -07:00
Thom Smith
f5bd5607ef Remove 2.7 from CI 2021-09-22 15:52:05 +02:00
Matt Davis
7f35bb5bf2 Explode multiarch matrix for ML2014/aarch64/s390x 2021-09-22 15:52:05 +02:00
Matt Davis
ee98abd7d7 Run CI on PR base branch changes 2021-01-13 16:58:40 -05:00
Ingy döt Net
0b6b7d6171 Start sentences and phrases for capital letters
End sentences with periods.
2021-01-13 16:58:40 -05:00
Ingy döt Net
c97691596e Shell code improvements 2021-01-13 16:58:40 -05:00
Ingy döt Net
d6572c3a80 Remove unneeded quotes 2021-01-13 16:58:40 -05:00
Ingy döt Net
c5fb909798 Use long forms for docker run options 2021-01-13 16:58:40 -05:00
Ingy döt Net
492bcbaa13 Better (non)use of literal form scalars 2021-01-13 16:58:40 -05:00
Ingy döt Net
c851ff7ead Replace ${{ x }} with ${{x}}
Spaces in the syntax make it harder to reason if there will be spaces in
the rendering or not.
2021-01-13 16:58:40 -05:00
Ingy döt Net
13c7aec48d Reduce long lines and adjust blank lines for clarity 2021-01-13 16:58:40 -05:00
Ingy döt Net
219fe65b66 Don't overindent sequences in maps 2021-01-13 16:58:40 -05:00
Ingy döt Net
6a19fd77a0 Rename ci.yml to YAML preferred ci.yaml 2021-01-13 16:58:40 -05: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