pyyaml
pyyaml copied to clipboard
Canonical source repository for PyYAML
* 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 All build targets...
Hello pyyaml team! This pull request resolves #722 by adding `represent_str()` representer to `enum.StrEnum` type, targeting python>=3.11. Though this line can be refactored as: https://github.com/yaml/pyyaml/blob/69c141adcf805c5ebdc9ba519927642ee5c7f639/lib/yaml/representer.py#L47 ```python for representer in self.yaml_representers:...
#857 This would add a windows arm64 build for libyaml as well as arm64 wheel builds.
main 192,792,792ns this PR 168,216,041ns ``` Benchmark Results ┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━┓ ┃ Benchmark ┃ Time (best) ┃ Rel. StdDev ┃ Run time ┃ Iters ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━┩ │ test_large_parse_yaml │ 192,792,792ns │ 0.9%...
I have been trying to install the requirements but i keep getting this error below despite all my effort. Is there any solution to this? error: subprocess-exited-with-error × Getting requirements...
The below code results in a `TypeError: ord() expected string of length 1, but int found` when `yaml.emit` is called. This occurs in the function `prepare_tag_prefix` at line 575 in...
The below code results in a `ValueError` when `yaml.load` is called. I wanted to report this since it seems that when data is malformed, `ConstructorErrors` are typically raised. This occurs...
``` >>> import yaml >>> yaml.dump("1E6") '1E6\n...\n' ``` This is assumed to be a string, but some libraries (most notably Go) interprets this as a number in scientific notation. Would...
Warning whilst building https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license ``` Executing (host): python3 -m build -n -w -x * Building wheel... /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/lib/python3.13/site-packages/setuptools/ dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following...
Now that github actions has added [windows arm64 runner support](https://github.blog/changelog/2025-04-14-windows-arm64-hosted-runners-now-available-in-public-preview/) for public repos (`windows-11-arm`) would there be any appetite for generating windows arm64 wheels?