Commit Graph

684 Commits

Author SHA1 Message Date
Hynek Schlawack 8c00f755f9 Explain how to find out the next version 2020-01-25 12:27:44 +01:00
Paul Ganssle 9b5e988ccc Fixed frozen and cache_hash incompatibility (#612)
* Add xfailing test for frozen/cache_hash issue

This is a failing test for GH issue #611, with the xfail decorator to be
removed when the issue is fixed.

* Fix incompatibility between frozen and cache_hash

Fixes GH issue #611: serialization of a class with frozen=True and
cache_hash=True will now succeed rather than raising a
FrozenInstanceError.

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2020-01-13 08:46:11 +01:00
Hynek Schlawack ac541fbe55 Add version constraints for coverage 2020-01-09 12:34:38 +01:00
Hynek Schlawack 7edae2e070 Parallel is set by config 2020-01-08 22:02:39 +01:00
Hynek Schlawack b6bd8c8d2b Remove .coveragerc from MANIFEST.in 2020-01-06 15:53:51 +01:00
Hynek Schlawack 44289f2548 Add missing exception to API docs 2020-01-06 12:34:58 +01:00
Hynek Schlawack 495968281c
Officially drop Python 3.4 (#608) 2020-01-06 12:32:28 +01:00
Hynek Schlawack 8fc636dae3 Add missing optional dep 2020-01-06 11:41:01 +01:00
Hynek Schlawack 7063a9f922 Unpin coverage when reporting too 2020-01-06 11:36:50 +01:00
Hynek Schlawack e07503ff32 Remove 3.4 which is missing on AP 2020-01-06 09:17:23 +01:00
Hynek Schlawack 71cd8af3be Use AP's cached 3.8 2020-01-06 09:15:49 +01:00
Hynek Schlawack 6fcb759862 Put coverage config into pyproject.toml 2020-01-06 09:14:24 +01:00
Hynek Schlawack e67cc51930 Unpin coverage
The problem was fixed in coverage 5.0.2.
2020-01-06 08:45:50 +01:00
Hynek Schlawack 62a173edeb Limit coverage in CI too 2020-01-03 16:03:56 +01:00
Kyle Altendorf 3fff9ee352 Mention attr.fields() after __attrs_attrs__ in 'How does it work' (#605)
* Mention attr.fields() after __attrs_attrs__ in 'How does it work'

The mentioning of __attrs_attrs__ in a 'how does it work' document makes sense but it seems important to mention that there are good non-dunder ways to access the data.

* Correct how-does-it-work.rst change to use semantic newlines

* it's attr not attrs...

* Simplify attr.fields link
2020-01-03 15:37:39 +01:00
Hynek Schlawack aa55c68efd Pin coverage to <5.0 for now
Getting

```
Coverage.py warning: Module attr was previously imported, but not measured (module-not-measured)
```

and missing coverage for some reason. Google is not helpful.
2020-01-03 11:17:20 +01:00
Hynek Schlawack fff74ec6d2 There won't be a 19.4 2019-12-30 15:28:56 +01:00
Hynek Schlawack 43177cc99c pre-commit autoupdate 2019-12-30 14:01:39 +01:00
Hynek Schlawack b78720245a Simplify expression
Thanks, flake8-bugbear.
2019-12-05 15:00:09 +01:00
Tim Gates 311816bb80 Fix simple typo: passses -> passes (#601) 2019-11-19 15:13:45 +01:00
Hynek Schlawack 38d21a7ce6 Remove unnecessary newsfragment 2019-11-18 08:54:43 +01:00
Tim Gates ee44563094 Fix simple typo: developement -> development (#600)
* Fix simple typo: developement -> development

* Add towncrier file

* Fix PR number
2019-11-18 08:54:17 +01:00
Matt Bullock 179b1c4bf0 minor typo in attr.s docstring (#597)
* minor typo in attr.s docstring

* update wording to match intent
2019-11-05 08:55:42 -08:00
Philippe Ombredanne 5e028e9858 Fix minor docstring typo (#592)
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
2019-10-23 16:08:17 +02:00
Hlynur Freyr Jónsson 4a48b24988 Fix typo (#591)
one -> None
2019-10-23 05:00:04 +02:00
Hynek Schlawack 0023e5bdce Ah, why not. pytest & tox are related 2019-10-17 12:46:22 +02:00
Hynek Schlawack a9a32a21a1 Get rid of setup.cfg
I don't mind having a pytest.ini and I know I could fold it into tox.ini.
I just don't want to have two general purpose config files.
2019-10-17 10:31:11 +02:00
Hynek Schlawack b7814c6b1f Get rid of packaging sections in setup.cfg
License files are automatically collected by pep517.
2019-10-16 20:04:20 +02:00
Hynek Schlawack bb7b1f4650 Start 19.4.0 cycle 2019-10-15 07:55:29 +02:00
Hynek Schlawack 823c1c332c Prepare 19.3.0 2019-10-15 07:46:04 +02:00
Hynek Schlawack eec7e43d37 Fix links 2019-10-15 07:44:05 +02:00
Hynek Schlawack 6d2f127059 pre-commit autoupdate 2019-10-15 07:23:58 +02:00
Bruno Oliveira e2b02ec39e Fix default values that are not comparable with '==' (#586)
Fix #585
2019-10-15 06:56:12 +02:00
Hynek Schlawack 3432df5711 At least mention pytype 2019-10-14 16:44:23 +02:00
John Belmonte 8cd3054020 fix grammar in frozen docs (#583) 2019-10-09 07:50:07 -04:00
Hynek Schlawack 686ee940fd We totally support 3.8 2019-10-02 17:07:02 +02:00
Hynek Schlawack 7b49d375c7 Rename _version.py into _version_info.py
Makes a lot more sense.
2019-10-02 16:12:03 +02:00
Hynek Schlawack c0eda39363 Start 19.3 cycle 2019-10-01 17:13:44 +02:00
Hynek Schlawack 7fcd616aab Complete suffix handling coverage 2019-10-01 16:48:30 +02:00
Hynek Schlawack 8a98469616 fix changelog 2019-10-01 16:40:49 +02:00
Hynek Schlawack 9e15786967 Merge branch 'version-info' 2019-10-01 16:25:50 +02:00
Hynek Schlawack 528323040f Prepare 19.2.0 2019-10-01 16:21:36 +02:00
Hynek Schlawack 955d622493
Add attr.__version_info__ (#580)
* Add attr.__version_info__

This allows users to check for features and avoid deprecation warnings without
breaking backward compatibility.

* Add newsfragment

* Stay ASCII

* Typo

* Add stubs for _version.py

* Address David's feedback

* Handle PY2 better in comparability test

* drop the ing
2019-10-01 16:06:36 +02:00
Hynek Schlawack 735b3bef48 drop the ing 2019-10-01 16:00:33 +02:00
Hynek Schlawack 568aa33d56 Handle PY2 better in comparability test 2019-10-01 15:58:57 +02:00
Hynek Schlawack c1681f7b49
Merge branch 'master' into version-info 2019-10-01 15:49:21 +02:00
Hynek Schlawack 754fae0699 Clarify that unannotated attributes are ignored too
Ref #220
2019-10-01 15:47:52 +02:00
Hynek Schlawack 0614510159
Merge branch 'master' into version-info 2019-10-01 15:16:30 +02:00
Hynek Schlawack f083cd7b65 Clarify need for attr.ib for attr decorator validators
Ref #466
2019-10-01 14:38:22 +02:00
Hynek Schlawack 346024aa3f Address David's feedback 2019-09-26 07:38:04 +02:00