Hynek Schlawack
f116bfc6cc
Start new development cycle
2022-12-21 10:20:48 +01:00
Hynek Schlawack
a9960de98d
Prepare 22.2.0
2022-12-21 10:07:30 +01:00
Hynek Schlawack
566248a2d8
Don't linkcheck tree links
2022-12-21 09:59:37 +01:00
Hynek Schlawack
0f62805c7d
Make towncrier marker independent from warning
2022-12-21 09:31:13 +01:00
Hynek Schlawack
b9f35eb2f2
Fix minor stub issues ( #1072 )
2022-12-20 14:10:12 +00:00
Hynek Schlawack
4ad4ea073f
Use MyST-native include
2022-12-20 10:47:48 +01:00
Hynek Schlawack
519423d94a
Use MyST-native doctest blocks in all MD
2022-12-20 10:46:32 +01:00
Hynek Schlawack
403adaba51
Remove stray file
2022-12-20 10:21:21 +01:00
Hynek Schlawack
6957e4a356
Use new typographic branding in the last rst file, too
2022-12-20 10:17:48 +01:00
Hynek Schlawack
1bb2864824
Convert examples.rst to md
2022-12-20 10:14:46 +01:00
Hynek Schlawack
c1c24ccafb
Convert glossary.rst to md
2022-12-20 09:45:37 +01:00
Hynek Schlawack
9fd0f82ff0
Convert extending.rst to md
2022-12-20 09:28:31 +01:00
Hynek Schlawack
3473b4d3e2
Convert comparison.rst to md
2022-12-20 09:12:37 +01:00
Hynek Schlawack
a760574795
Convert init.rst to md
2022-12-20 08:22:51 +01:00
Hynek Schlawack
2aff38afc4
Convert types.rst to md
2022-12-20 07:49:00 +01:00
Hynek Schlawack
a09a6e7010
Convert how-does-it-work.rst to md
2022-12-20 07:34:58 +01:00
Hynek Schlawack
7fa9cd03d5
Convert overview.rst to md
2022-12-20 07:21:08 +01:00
Hynek Schlawack
dc1dc3b1e3
Convert names.rst to md
2022-12-20 07:06:32 +01:00
Hynek Schlawack
5c280b35c1
We can style links now!
2022-12-19 16:42:36 +01:00
Hynek Schlawack
08b200efac
Convert why chapter to markdown
2022-12-19 16:38:33 +01:00
Hynek Schlawack
ae4324df88
Streamline deployment workflow
2022-12-19 16:06:37 +01:00
Hynek Schlawack
d4090f4706
Revert "Increment dev version so we can upload again"
...
This reverts commit a633a7b13b
.
Local release tooling depends on it being dev0.
Test was successful: https://test.pypi.org/project/attrs/22.2.0.dev1/
2022-12-19 16:02:54 +01:00
Hynek Schlawack
a633a7b13b
Increment dev version so we can upload again
2022-12-19 15:57:10 +01:00
Hynek Schlawack
9fbfe52def
Replace the logo in the PyPI README
...
Looks like PyPI doesn't support the picture tag that we use for dark
mode on GitHub:
https://test.pypi.org/project/attrs/22.2.0.dev0/
2022-12-19 15:55:21 +01:00
Hynek Schlawack
bf66b34d23
Simplify pkg building
2022-12-19 15:40:41 +01:00
Hynek Schlawack
edb1fd23cc
Use correct block
2022-12-19 15:33:05 +01:00
Hynek Schlawack
f494c617dc
Check dist directory
2022-12-19 15:29:15 +01:00
Hynek Schlawack
d80cee82d1
Allow pypi.org for test uploads for installs
2022-12-19 15:22:42 +01:00
Hynek Schlawack
fcf5f343c1
Environments are protection enough
2022-12-19 14:57:10 +01:00
Hynek Schlawack
2b2074c824
Don't run PyPI on pushes / PRs
2022-12-19 14:56:15 +01:00
Hynek Schlawack
a74bb8e1bd
Automate PyPI releases ( #1071 )
...
* Automate PyPI releases
* Update .github/workflows/pypi-package.yml
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
* Update .github/workflows/pypi-package.yml
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
* Split uploads for more granular control
* Add fix for coverage 7
* Use environments
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
2022-12-19 14:55:18 +01:00
Hynek Schlawack
37e46c0761
Add fix for coverage 7
2022-12-19 12:12:43 +01:00
Sviatoslav Sydorenko
90f7590abf
Add unstable Python 3.12 to CI allowing failures ( #1033 )
...
* Add unstable Python 3.12 to CI allowing failures
* 🔧 Add a toxenv for 🐍 Python 3.12
* Account for 3.12 abc error @ test_remain_abstract
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-12-18 10:46:08 +00:00
Hynek Schlawack
59a445e584
Purge stale Python 2/3 mentions
2022-12-18 10:54:37 +01:00
Hynek Schlawack
afe211143d
Switch changelog to markdown ( #1067 )
...
* Switch changelog to markdown
* Add changelog except back to long description
* Fix MANIFEST.in
* Re-add towncrier draft entries
* Write the title outselves
* Add warning box
* Make changelog format more KeepAChangelog-ish
* Link latest changes to main tree
* Move link into warning
* KAC has no empty lines between entries
* There's no more .rst in the root dir
2022-12-07 09:15:46 +01:00
pre-commit-ci[bot]
14008b4f35
[pre-commit.ci] pre-commit autoupdate ( #1069 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.2.0 → v3.3.0](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.3.0 )
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...6.0.0 )
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0 )
* Pacify flake8
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-12-06 06:38:02 +01:00
Hynek Schlawack
0f6a9b4753
Add unsafe_hash alias for class-wide hash ( #1065 )
...
* Add unsafe_hash alias for class-wide hash
Fixes #1003
* Add news fragment
* Add type hints / type examples
* Complete attr.s's api string in api.rst
* Address feedback
* Clarify
* Shuffle around
2022-12-02 07:45:13 +01:00
Hynek Schlawack
67dc8cc261
Improve news fragments
2022-12-01 17:00:20 +01:00
Hynek Schlawack
2812fab78f
Ignore local helper Justfile
2022-12-01 10:22:41 +01:00
dependabot[bot]
6316892316
Bump step-security/harden-runner from 1 to 2 ( #1064 )
2022-12-01 06:39:17 +01:00
Hynek Schlawack
e458448ee4
pyright: add aliasing test ( #1063 )
2022-11-30 16:04:57 +01:00
Alex Ford
ee3ecb112f
Add Attribute.alias ( #950 )
...
* Spike `alias` implementation.
* Move default alias init to after field_transformer.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixup docs.
* Update docs/extending.rst
* Pre-commit fixes
* Partially fix doctest
* Add test docstrings.
* Add typing_example tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Tidy typing_example
* Add note in init.rst on private aliases
* Add alias example to examples.rst
* Assert to comment
* Add changelog entry
* Fixup doc error
* Tidy dataclass_transform docs
* Lil' spice for the changelog.
* Fix doctest
* Update extending.rst
* Make alias introspection more explicit
* Update src/attr/_make.py
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2022-11-30 14:39:57 +00:00
Hynek Schlawack
69aca6c130
Make logo call for action more timeless
2022-11-30 15:03:25 +01:00
Hynek Schlawack
6c46bb19a0
Start building Dash/Zeal docsets for docs ( #1056 )
2022-11-25 08:30:34 +01:00
Hynek Schlawack
287c6cedc2
Pin test CI image to ubuntu 20.04 for one more release ( #1057 )
2022-11-25 08:18:41 +01:00
Hynek Schlawack
b82c89f702
Update sponsors
2022-11-16 19:15:53 +01:00
Hynek Schlawack
71bfef0abc
Move SVGs to .github & refer by raw URLs
2022-11-16 15:53:26 +01:00
Hynek Schlawack
59ff4da98c
Better wording
2022-11-16 15:34:19 +01:00
Hynek Schlawack
36bb1f182e
Small doesn't do anything on GitHub
2022-11-16 15:17:25 +01:00
Hynek Schlawack
f36b6069fa
Update sponsors
2022-11-16 15:10:31 +01:00