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:
commit
00cbfa2860
@ -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
3
attrs-24.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8f5c07333d543103541ba7be0e2ce16eeee8130cb0b3f9238ab904ce1e85baff
|
||||||
|
size 805984
|
@ -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>
|
Tue Nov 5 13:03:04 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-attrs
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,13 +26,14 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-attrs%{psuffix}
|
Name: python-attrs%{psuffix}
|
||||||
Version: 24.2.0
|
Version: 24.3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Attributes without boilerplate
|
Summary: Attributes without boilerplate
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/hynek/attrs/
|
URL: https://github.com/hynek/attrs/
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/attrs/attrs-%{version}.tar.gz
|
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-fancy-pypi-readme}
|
||||||
BuildRequires: %{python_module hatch-vcs}
|
BuildRequires: %{python_module hatch-vcs}
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling}
|
||||||
|
Loading…
Reference in New Issue
Block a user