1
0

4 Commits

Author SHA256 Message Date
f3c69f08c5 Accepting request 1286851 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1286851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=38
2025-06-20 14:48:11 +00:00
e5f8af3a19 update to 0.18.14, convert to %pyproject_wheel / %pyproject_install
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=79
2025-06-19 07:59:15 +00:00
7d83398924 Accepting request 1248074 from devel:languages:python
- update to 0.18.10:
  * implemented changes to the setup.py for Python 3.14 as
    suggested by Miro Hrončok
  * fix issue with roundtripping 0 in YAML 1.1
  * added warning to README.md that PyPI might block updates due
    to breaking changes
  * fixes for README
  * fixes preserving anchor on scalar integer `0`
  * fix for formatting of README suggested by Michael R.
    Crusoe

OBS-URL: https://build.opensuse.org/request/show/1248074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ruamel.yaml?expand=0&rev=37
2025-02-25 15:39:29 +00:00
0ebd6e5ef9 - update to 0.18.10:
* implemented changes to the setup.py for Python 3.14 as
    suggested by Miro Hrončok
  * fix issue with roundtripping 0 in YAML 1.1
  * added warning to README.md that PyPI might block updates due
    to breaking changes
  * fixes for README
  * fixes preserving anchor on scalar integer `0`
  * fix for formatting of README suggested by Michael R.
    Crusoe

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=77
2025-02-24 10:17:10 +00:00
4 changed files with 65 additions and 10 deletions

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Wed Jun 18 04:35:24 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- converted to `%pyproject_wheel` / `%pyproject_install`
- update to 0.18.14:
* Fix issue with constructing dataclasses that have a default
factoryi attribute, but were missing a mapping value for that
attribute.
* the tagged release tar files can now also be downloaded from
https://yaml.dev/ruamel-dl-tagged-releases/ please adjust if
you use
https://sourceforge.net/projects/ruamel-dl-tagged-releases/files/
as that repository in sourceforge will no longer be updated
from some later date.
- update to 0.18.13:
* Fix line wrapping on plain scalars not observing width
correctly. Issue 529
* Fix sha256 and length in RECORD files.
- update to 0.18.12:
* fix additional issue with extra space in double quoted string.
* fix duplicate key url, now pointing to yaml.dev. Reported by
[Hugo](https://sourceforge.net/u/hugovk/profile/)
* fix broken RECORD file, which was a problem for uv, not pip.
- update to 0.18.11:
* function `load_yaml_guess_indent` now takes an option `yaml`
argument so you can provide an already created/configured
`YAML` instance
* Sequence item indicator with both comment/empty line before
indicator **and** comment before sequence item, could not move
comment and raise `NotImplementedError`.
* missing f for f-string
* fixed issue with extra space in double quoted dump
-------------------------------------------------------------------
Mon Feb 24 10:16:18 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 0.18.10:
* implemented changes to the setup.py for Python 3.14 as
suggested by Miro Hrončok
* fix issue with roundtripping 0 in YAML 1.1
* added warning to README.md that PyPI might block updates due
to breaking changes
* fixes for README
* fixes preserving anchor on scalar integer `0`
* fix for formatting of README suggested by Michael R.
Crusoe
-------------------------------------------------------------------
Sat Mar 16 16:33:40 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ruamel.yaml
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-ruamel.yaml
Version: 0.18.6
Version: 0.18.14
Release: 0
Summary: Python YAML parser
License: MIT
URL: https://sourceforge.net/p/ruamel-yaml
Source: https://files.pythonhosted.org/packages/source/r/ruamel.yaml/ruamel.yaml-%{version}.tar.gz
Patch0: 0000-fix-big-endian-issues.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-ruamel.yaml.clib >= 0.2.0
@@ -38,19 +40,25 @@ of comments, seq/map flow style, and map key order.
%prep
%autosetup -p1 -n ruamel.yaml-%{version}
rm -rf *egg-info
%build
%python_build
%pyproject_wheel
%install
%python_install --single-version-externally-managed
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# no tests in the upstream tarball
%files %{python_files}
%license LICENSE
%doc CHANGES README.md
%license LICENSE
%{python_sitelib}/ruamel
%{python_sitelib}/ruamel.yaml-%{version}*-info
%if 0%{?suse_version} >= 1600
%{python_sitelib}/ruamel_yaml-%{version}.dist-info
%else
%{python_sitelib}/ruamel.yaml-%{version}.dist-info
%endif
%pycache_only %{python_sitelib}/ruamel/yaml/__pycache__/
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7227b76aaec364df15936730efbf7d72b30c0b79b1d578bbb8e3dcb2d81f52b7
size 145511

Binary file not shown.