forked from pool/python-attrs
- 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/package/show/devel:languages:python/python-attrs?expand=0&rev=55
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5cfb1b9148b5b086569baec03f20d7b6bf3bcacc9a42bebf87ffaaca362f6346
|
||||
size 792678
|
||||
BIN
attrs-24.3.0.tar.gz
LFS
Normal file
BIN
attrs-24.3.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -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>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user