Skip to content

Commit

Permalink
Merge pull request #271 from msfschaffner/attrs-19.2.0
Browse files Browse the repository at this point in the history
MAINT: Fix deprecated attribute 'convert' to comply with attrs 19.2.0
  • Loading branch information
itziakos authored Oct 3, 2019
2 parents b7587fa + 9a82b0d commit cdbd338
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
Changes since 0.7.0
===================

* Fix deprecated `convert` attribute in `constraint_modifiers.py` to
comply with attrs package release 19.2.0 (see also
https://www.attrs.org/en/stable/changelog.html).

Version 0.7.0
=============

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


INSTALL_REQUIRES = [
"attrs >= 16.1.0",
"attrs >= 17.4.0",
"okonomiyaki >= 0.16.6",
"six >= 1.10.0"
]
Expand Down
2 changes: 1 addition & 1 deletion simplesat/constraints/constraint_modifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def as_set(container):
return set(container)


_coerced_set = dict(default=(), convert=as_set,
_coerced_set = dict(default=(), converter=as_set,
validator=instance_of(set))


Expand Down

0 comments on commit cdbd338

Please sign in to comment.