SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for python38-attrs-22.1.0-qubes.2.1.noarch.rpm :

* Thu Aug 04 2022 Otto Hollmann - Update to 22.1.0:
* Backwards-incompatible Changes
* Python 2.7 is not supported anymore.
* Dealing with Python 2.7 tooling has become too difficult for a volunteer-run project.
* We have supported Python 2 more than 2 years after it was officially discontinued and feel that we have paid our dues. All version up to 21.4.0 from December 2021 remain fully functional, of course. #936
* The deprecated cmp attribute of attrs.Attribute has been removed. This does not affect the cmp argument to attr.s that can be used as a shortcut to set eq and order at the same time. #939
* Changes
* Instantiation of frozen slotted classes is now faster. #898
* If an eq key is defined, it is also used before hashing the attribute. #909
* Added attrs.validators.min_len(). #916
* attrs.validators.deep_iterable()\'s member_validator argument now also accepts a list of validators and wraps them in an attrs.validators.and_(). #925
* Added missing type stub re-imports for attrs.converters and attrs.filters. #931
* Added missing stub for attr(s).cmp_using(). #949
* attrs.validators._in()\'s ValueError is not missing the attribute, expected options, and the value it got anymore. #951
* Python 3.11 is now officially supported. #969
* Tue Jan 04 2022 Dirk Müller - update to 21.4.0:
* Fixed the test suite on PyPy3.8 where ``cloudpickle`` does not work.
* Fixed ``coverage report`` for projects that use ``attrs`` and don\'t set a ``--source``.
* When using ``AATTdefine``, converters are now run by default when setting an attribute on an instance -- additionally to validators.
* ``import attrs`` has finally landed!
* ``attr.asdict(retain_collection_types=False)`` (default) dumps collection-esque keys as tuples.
* ``__match_args__`` are now generated to support Python 3.10\'s
* If the class-level
*on_setattr
* is set to ``attrs.setters.validate`` (default in ``AATTdefine`` and ``AATTmutable``) but no field defines a validator, pretend that it\'s not set.
* The generated ``__repr__`` is significantly faster on Pythons with f-strings.
* Attributes transformed via ``field_transformer`` are wrapped with ``AttrsClass`` again.
* Generated source code is now cached more efficiently for identical classes.
* Added ``attrs.converters.to_bool()``.
* ``attrs.resolve_types()`` now resolves types of subclasses after the parents are resolved.
* Added new validators: ``lt(val)`` (< val), ``le(va)`` (≤ val), ``ge(val)`` (≥ val), ``gt(val)`` (> val), and ``maxlen(n)``.
* ``attrs`` classes are now fully compatible with cloudpickle
* Added new context manager ``attrs.validators.disabled()`` and functions ``attrs.validators.(set|get)_disabled()``. They deprecate ``attrs.(set|get)_run_validators()``. All functions are interoperable and modify the same internal state. They are not – and never were – thread-safe, though.
* Thu May 27 2021 Dirk Müller - update to 21.2.0:
* We had to revert the recursive feature for ``attr.evolve()`` because it broke some use-cases -- sorry!
* Python 3.4 is now blocked using packaging metadata because ``attrs`` can\'t be imported on it anymore.
* The long-awaited, much-talked-about, little-delivered ``import attrs`` is finally upon us!
* The
*cmp
* argument to ``attr.s()`` and `attr.ib()` has been
*
*undeprecated
*
* It will continue to be supported as syntactic sugar to set
*eq
* and
*order
* in one go.
* Further smaller changes, see included Changelog.md
* Thu Nov 26 2020 Dirk Mueller - update to 20.3.0: - ``attr.define()``, ``attr.frozen()``, ``attr.mutable()``, and ``attr.field()`` remain
*
*provisional
*
*.
* Thu Sep 17 2020 Dirk Mueller - update to 20.2.0: - Python 3.4 is not supported anymore. - ``attr.define()``, ``attr.frozen()``, ``attr.mutable()``, and ``attr.field()`` remain
*
*provisional
*
*. This release fixes a bunch of bugs and ergonomics but they remain mostly unchanged. Further changes see included CHANGELOG.rst
* Thu May 14 2020 Tomáš Chvátal - Do not restrict us to new setuptools, we generate stuff even with the older variants
* Mon Oct 21 2019 Ondřej Súkup - update to 19.3.0
* Fixed auto_attribs usage when default values cannot be compared directly with ==, such as numpy arrays.
* Fri Oct 04 2019 Arun Persaud - update to version 19.2.0:
* Backward-incompatible Changes + Removed deprecated \"Attribute\" attribute \"convert\" per scheduled removal on 2019/1. This planned deprecation is tracked in issue `#307 `_. `#504 `_ + \"__lt__\", \"__le__\", \"__gt__\", and \"__ge__\" do not consider subclasses comparable anymore. This has been deprecated since 18.2.0 and was raising a \"DeprecationWarning\" for over a year. `#570 `_
* Deprecations + The \"cmp\" argument to \"attr.s()\" and \"attr.ib()\" is now deprecated. Please use \"eq\" to add equality methods (\"__eq__\" and \"__ne__\") and \"order\" to add ordering methods (\"__lt__\", \"__le__\", \"__gt__\", and \"__ge__\") instead – just like with `dataclasses `_. Both are effectively \"True\" by default but it\'s enough to set \"eq=False\" to disable both at once. Passing \"eq=False, order=True\" explicitly will raise a \"ValueError\" though. Since this is arguably a deeper backward-compatibility break, it will have an extended deprecation period until 2021-06-01. After that day, the \"cmp\" argument will be removed. \"attr.Attribute\" also isn\'t orderable anymore. `#574 `_
* Changes + Updated \"attr.validators.__all__\" to include new validators added in `#425`_. `#517 `_ + Slotted classes now use a pure Python mechanism to rewrite the \"__class__\" cell when rebuilding the class, so \"super()\" works even on environments where \"ctypes\" is not installed. `#522 `_ + When collecting attributes using \"AATTattr.s(auto_attribs=True)\", attributes with a default of \"None\" are now deleted too. `#523 `_, `#556 `_ + Fixed \"attr.validators.deep_iterable()\" and \"attr.validators.deep_mapping()\" type stubs. `#533 `_ + \"attr.validators.is_callable()\" validator now raises an exception \"attr.exceptions.NotCallableError\", a subclass of \"TypeError\", informing the received value. `#536 `_ + \"AATTattr.s(auto_exc=True)\" now generates classes that are hashable by ID, as the documentation always claimed it would. `#543 `_, `#563 `_ + Added \"attr.validators.matches_re()\" that checks string attributes whether they match a regular expression. `#552 `_ + Keyword-only attributes (\"kw_only=True\") and attributes that are excluded from the \"attrs\"\'s \"__init__\" (\"init=False\") now can appear before mandatory attributes. `#559 `_ + The fake filename for generated methods is now more stable. It won\'t change when you restart the process. `#560 `_ + The value passed to \"AATTattr.ib(repr=…)\" can now be either a boolean (as before) or a callable. That callable must return a string and is then used for formatting the attribute by the generated \"__repr__()\" method. `#568 `_ + Added \"attr.__version_info__\" that can be used to reliably check the version of \"attrs\" and write forward- and backward-compatible code. Please check out the `section on deprecated APIs `_ on how to use it. `#580 `_
* Mon Aug 12 2019 Tomáš Chvátal - Switch to multibuild to enable tests
* Mon Mar 04 2019 Ondřej Súkup - update to 19.1.0
* Fixed a bug where deserialized objects with cache_hash=True could have incorrect hash code values
* Add is_callable, deep_iterable, and deep_mapping validators.
* Fixed stub files to prevent errors raised by mypy\'s disallow_any_generics = True option.
* Attributes with init=False now can follow after kw_only=True attributes.
* attrs now has first class support for defining exception classes.
* Clarified documentation for hashing to warn that hashable objects should be deeply immutable
 
ICM