Hynek Schlawack
d4f33d9654
Use white logo in dark mode ( #1019 )
...
Switch to using the white-background logo in the readme
2022-08-23 07:52:23 +02:00
Hynek Schlawack
fab5a9289d
Deprecate Python 3.6 ( #1017 )
...
* Rename CI workflow to a more meaningful name
* News fragment
2022-08-22 16:43:28 +02:00
Hynek Schlawack
cd35505960
Fix typo
2022-08-22 16:39:08 +02:00
Sviatoslav Sydorenko
9169c49966
Add a preview for the "next release" change notes ( #1016 )
...
* Add a preview for the "next release" change notes
This change integrates `sphinxcontrib-towncrier` into the docs build.
It uses Towncrier and its configs to render a draft changelog as RST
and injects that into the `changelog.rst` document right above the
older changelog entries using `towncrier-draft-entries` directive.
* Drop the change note from PR #1016
This partially reverts commit 0165dc355d2eb475cf59894d1561efb9b1963a39.
* Use `Not yet released` in the changelog draft
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-08-22 14:27:40 +00:00
Hynek Schlawack
c9cb0ffd23
fix markup
2022-08-22 16:16:56 +02:00
Hynek Schlawack
09757569dc
Make link to contributing easier to find
2022-08-22 16:15:23 +02:00
Sviatoslav Sydorenko
fdf824211f
Fix pre-commit link syntax in contributing doc ( #1018 )
...
It was using RST but the doc is actually in Markdown.
2022-08-22 16:09:55 +02:00
Hynek Schlawack
c76062a733
Rename CI workflow to a more meaningful name
2022-08-22 11:08:03 +02:00
Hynek Schlawack
649b273c82
Make tests for simple-class actually run
2022-08-22 10:54:22 +02:00
Hynek Schlawack
e1fa525307
Use build-and-inspect-python-package
2022-08-21 09:42:10 +02:00
Hynek Schlawack
70b3cf16e1
Use pytest-xdist in tox / CI ( #1011 )
...
Co-authored-by: Thomas Grainger <413772+graingert@users.noreply.github.com>
Co-authored-by: Ionel Cristian Mărieș <129501+ionelmc@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko <578543+webknjaz@users.noreply.github.com>
2022-08-21 09:38:37 +02:00
Hynek Schlawack
a961e9a42f
Reflow GHA
2022-08-19 09:22:35 +02:00
Hynek Schlawack
307a6467d3
Minor docs fixes
2022-08-19 09:03:06 +02:00
Sviatoslav Sydorenko
6efae77bde
Build sdist from a wheel in CI ( #1012 )
2022-08-19 06:56:30 +02:00
Hynek Schlawack
1ce864475d
Paint the shed
...
Just to test if this works:
Co-authored-by: geofft <geofft@users.noreply.github.com>
2022-08-18 10:36:49 +02:00
Hynek Schlawack
49ec7317c8
Protect pyright against 3.7 & prepare for #999
...
Co-authored-by: layday <layday@protonmail.com>
2022-08-18 10:30:26 +02:00
Hynek Schlawack
cb047e1410
Parametrize pickle tests with frozen
2022-08-18 09:06:19 +02:00
Hynek Schlawack
d0b940c9b5
pre-commit autoupdate
2022-08-18 09:03:24 +02:00
Hynek Schlawack
19f41dda6f
Add news fragement for #1009
2022-08-18 09:01:32 +02:00
Nikola Dipanov
89a890a326
Change __getstate__ and __setstate__ to use a dict ( #1004 ) ( #1009 )
...
Co-authored-by: Nikola Dipanov <ndipanov@hudson-trading.com>
2022-08-18 08:59:50 +02:00
Hynek Schlawack
5ecc39749a
Rename typing to mypy since we also have pyright ( #1007 )
2022-08-16 12:15:10 +02:00
Hynek Schlawack
70b7f885f4
Add newsfragment for #997
2022-08-16 07:26:50 +02:00
layday
ca6ce8c00e
Use `TypeGuard` for `has` in Python 3.10 and above ( #997 )
...
* Use `TypeGuard` for `has` in Python 3.10 and above
* fixup! Use `TypeGuard` for `has` in Python 3.10 and above
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Test the negative case
* Add type guard example
Co-authored-by: Hynek Schlawack <hs@ox.cx>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-16 07:20:32 +02:00
Hynek Schlawack
006b31f46c
Update GHA setup-python action
2022-08-15 09:21:23 +02:00
gopackgo90
f7d64c0190
Remove universal wheel, python 2 is unsupported ( #1005 )
2022-08-15 08:24:32 +02:00
Hynek Schlawack
a2c1275d1b
Make tox's pre-commit output more helpful
2022-08-13 12:47:53 +02:00
Hynek Schlawack
c58ffd4e4c
Call abc.update_abstractmethods on 3.10+ ( #1001 )
2022-08-11 11:33:34 +00:00
Hynek Schlawack
536ddc57e2
Why not
2022-08-11 10:13:13 +02:00
Hynek Schlawack
0c19e1600e
Stop installing pre-commit in dev
...
It's not necessary thanks to tox & pre-commit ci and it's kinda overbearing
towards people who already have it installed.
2022-08-11 10:09:37 +02:00
Hynek Schlawack
80c61b79cf
Remove frogotten path fragment
2022-08-11 10:01:54 +02:00
Hynek Schlawack
714bf67a2f
Extend we-are-not-a-serialization-framework
2022-08-11 10:00:00 +02:00
Hynek Schlawack
3843452516
Replace omnipresent pytest.mark.parametrize("(slots|frozen)" w/ fixture ( #1002 )
...
Replace omnipresent pytest.mark.parametrize("(slots|frozen)", [True, False]) w/ fixture
2022-08-11 09:35:39 +02:00
Hynek Schlawack
92ef1421b6
Fix typo
2022-08-11 07:11:18 +02:00
Hynek Schlawack
351637400a
Polish newsfragments
2022-08-10 15:03:57 +02:00
Hynek Schlawack
4a281b04b4
Add warning re #993
2022-08-10 14:32:00 +02:00
Hynek Schlawack
1007eb1c49
Remove forgotten double pytest config
2022-08-10 14:18:27 +02:00
Hynek Schlawack
fbcae2a8b0
Switch to 1% static packaging configuration ( #998 )
...
* Switch to 1% static packaging configuration
* Add shim for @pganssle
* Not worth interpolation
* Kill extra line
2022-08-10 14:15:32 +02:00
Hynek Schlawack
6151683244
Eliminate most str.format() and %-formatting ( #995 )
...
* Eliminate most str.format() and %-formatting
* Add newsfragment
2022-08-10 12:41:46 +02:00
davfsa
a8191556c0
Speedup `_setattr` usage and fix slight performance regressions ( #991 )
...
* Speedup `_setattr` usage and fix performance regressions
* Add changelog file
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-08-07 07:52:28 +00:00
Hynek Schlawack
983c2c4293
Re-import AttrsInstance in attrs ns ( #994 )
2022-08-07 02:13:02 +02:00
Hynek Schlawack
a2a741097c
Don't need this word
2022-08-06 06:55:49 +02:00
Hynek Schlawack
daa654c62a
Expand supporters
2022-08-06 06:53:37 +02:00
Hynek Schlawack
08f8319efe
Drop Python 3.5 ( #988 )
...
* Drop Python 3.5
Less than 0.5% of our downloads are 3.5 and it allows us to simplify A LOT of code.
Fixes #965
Signed-off-by: Hynek Schlawack <hs@ox.cx>
* Run 3.6 under coverage
* Add newsfragment
* Probably don't need 3.7 for coverage
* Everything is ordered!
* pre-commit autoupdate, add yesqa
2022-08-05 09:48:00 +02:00
pre-commit-ci[bot]
107367d437
[pre-commit.ci] pre-commit autoupdate ( #990 )
2022-08-02 05:51:38 +02:00
Hynek Schlawack
06ce354594
pre-commit autoupdate, add yesqa
2022-08-01 10:09:13 +02:00
Hynek Schlawack
95e0c423ca
Update .gitignore
2022-07-30 13:23:03 +02:00
Hynek Schlawack
c428229aca
Refer to glossary explicitly so it's not in fixed font
2022-07-29 05:43:07 +02:00
Hynek Schlawack
0e9a101fc0
Add citation
2022-07-28 15:54:39 +02:00
Hynek Schlawack
430113c213
Add zenodo badge
2022-07-28 15:46:55 +02:00
Hynek Schlawack
a683bdb656
Start new development cycle
2022-07-28 15:22:12 +02:00