Accepting request 1234568 from devel:languages:python

- update to 24.3.0:
  * Python 3.7 has been dropped.
  * Introduce `attrs.NothingType`, for annotating types
    consistent with `attrs.NOTHING`.
  * Allow mutating `__suppress_context__` and `__notes__` on
    frozen exceptions.
  * `attrs.converters.optional()` works again when taking
    `attrs.converters.pipe()` or another Converter as its
    argument.
  * *attrs* instances now support `copy.replace()`.
  * `attrs.validators.instance_of()`'s type hints now allow for
    union types.
  * For example: `instance_of(str | int)`

OBS-URL: https://build.opensuse.org/request/show/1234568
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-attrs?expand=0&rev=26
This commit is contained in:
Ana Guerrero 2025-01-06 15:04:53 +00:00 committed by Git OBS Bridge
commit 00cbfa2860
4 changed files with 23 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346
size 792678

3
attrs-24.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f5c07333d543103541ba7be0e2ce16eeee8130cb0b3f9238ab904ce1e85baff
size 805984

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Jan 2 14:12:53 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 24.3.0:
* Python 3.7 has been dropped.
* Introduce `attrs.NothingType`, for annotating types
consistent with `attrs.NOTHING`.
* Allow mutating `__suppress_context__` and `__notes__` on
frozen exceptions.
* `attrs.converters.optional()` works again when taking
`attrs.converters.pipe()` or another Converter as its
argument.
* *attrs* instances now support `copy.replace()`.
* `attrs.validators.instance_of()`'s type hints now allow for
union types.
* For example: `instance_of(str | int)`
-------------------------------------------------------------------
Tue Nov 5 13:03:04 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-attrs
#
# 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
@ -26,13 +26,14 @@
%endif
%{?sle15_python_module_pythons}
Name: python-attrs%{psuffix}
Version: 24.2.0
Version: 24.3.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
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling}