15
0
forked from pool/python-attrs

- Upgrade to 24.2.0:

- Big releases always carry the risk of regressions, but never
    did I expect to break Python 3.14’s CI! On the plus side,
    attrs runs on 3.14 now.
- Upgrade to 24.1.0:
  - The most notable is probably the possibility to receive self
    and field definitions in your converters by wrapping them
    into a attrs.Converter.
  - The other big thing is our own replacement
    for __init_subclass__ called (you guessed it)
    __attrs_init_subclass__. Check out the docs, if you're not
    sure what this is good for.
  - Finally, we've made more important steps to promote our "new"
    APIs (can you believe they're 4 years old!?) in the docs. If
    we missed anything, please let us know.
- Remove upstreamed patch:
  - pytest8.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-attrs?expand=0&rev=52
This commit is contained in:
2024-11-05 13:09:50 +00:00
committed by Git OBS Bridge
parent 7314f0533c
commit e429b0427a
5 changed files with 25 additions and 47 deletions

View File

@@ -26,15 +26,13 @@
%endif
%{?sle15_python_module_pythons}
Name: python-attrs%{psuffix}
Version: 23.2.0
Version: 24.2.0
Release: 0
Summary: Attributes without boilerplate
License: MIT
Group: Development/Languages/Python
URL: https://github.com/hynek/attrs/
Source: https://files.pythonhosted.org/packages/source/a/attrs/attrs-%{version}.tar.gz
#PATCH-FIX-UPSTREAM https://github.com/python-attrs/attrs/pull/1249 Remove pytest.deprecated_call() in TestAssoc::test_unknown
Patch: pytest8.patch
BuildRequires: %{python_module hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling}