Hynek Schlawack
3e868366ad
Update index.md
2024-01-15 18:52:56 +01:00
Hynek Schlawack
deb0133f63
docs: compound adjective
2024-01-13 07:26:19 +01:00
richardsheridan
f070a21a3e
correct reference in Setters section of api.rst ( #1224 )
2024-01-12 08:38:07 +00:00
Hynek Schlawack
2bddbdb704
Add codespell
2024-01-08 07:37:20 +01:00
Hynek Schlawack
0ae484c6a2
Write out CalVer
2024-01-08 07:32:37 +01:00
Hynek Schlawack
ab66628216
Stack Overflow is two words
2024-01-08 07:30:16 +01:00
Hynek Schlawack
e8508a6b92
Update README.md
2024-01-07 08:17:00 +01:00
Hynek Schlawack
6a9ccdd04d
Update CHANGELOG.md
2024-01-07 08:14:40 +01:00
Hynek Schlawack
6bdc41ce0b
Update 1221.change.md
2024-01-07 08:13:27 +01:00
Tim D. Smith
b5e936df55
Point to data class transform PEP ( #1223 )
...
PEP 689 is the unstable C API tier; PEP 681 is data class transforms.
2024-01-05 09:03:24 +00:00
diabolo-dan
26d8dd7957
Slotted cached property reference ( #1221 )
...
* Remove undesirable original class reference when using slotted cached_property
* Update closure cells for slotted cached property functions
* Changelog
* fixup py 3.7 test
2024-01-04 10:52:49 +00:00
Hynek Schlawack
5b0a4e6ab8
Update upload/download-artifact
2024-01-02 16:35:50 +01:00
dependabot[bot]
3927653f9d
Bump actions/setup-python from 4 to 5 ( #1218 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 13:54:46 +00:00
dependabot[bot]
bf7b33504e
Bump github/codeql-action from 2 to 3 ( #1215 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 13:36:00 +00:00
Hynek Schlawack
cee6192bd1
No periods in headings
2023-12-31 12:12:51 +01:00
Hynek Schlawack
bfd70c9eeb
docs: make it a link
2023-12-31 11:36:01 +01:00
Hynek Schlawack
bfbea3a901
docs: wordsmith
2023-12-31 11:34:25 +01:00
Hynek Schlawack
341839a517
Run CI on PRs to any branch
2023-12-31 08:26:04 +01:00
Hynek Schlawack
cbfc9d6672
Use upload@v4 for docset
2023-12-31 07:34:23 +01:00
Hynek Schlawack
bb45938ab9
Start new development cycle
2023-12-31 07:23:42 +01:00
Hynek Schlawack
9e443b1852
Prepare 23.2.0
2023-12-31 07:20:03 +01:00
Hynek Schlawack
41df262f2d
Fix links
2023-12-31 07:19:11 +01:00
Hynek Schlawack
5688711bd8
Add social card
2023-12-31 07:04:02 +01:00
Hynek Schlawack
2047e566bf
Update baipp & download artifacts
2023-12-31 06:43:57 +01:00
Hynek Schlawack
86af08c8d4
Rewrite sponsor logo links to release versions
...
This should allow us to not keep the logos around forever in our repo.
I won't work in-dev on test PyPI, but that trade off should be worth it.
2023-12-31 06:39:56 +01:00
Hynek Schlawack
249044cbaf
Run 3.12 under coverage instead of 3.11
2023-12-30 13:06:22 +01:00
Hynek Schlawack
c365b3e9a6
update contributing
2023-12-30 13:05:53 +01:00
Hynek Schlawack
c2ff96f554
Move sponsor logo hosting to docs
...
So we don't have to keep expired sponsors in the repo forever.
2023-12-30 11:55:50 +01:00
Brian Pugh
5aea24125a
Move conditional clause to beginning for validator/converter docs. ( #1213 )
...
Move conditional clause to beginning for validator/converter docs. Provide converter example.
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2023-12-29 15:48:42 +00:00
Hynek Schlawack
4c2b9e31bc
docs: add two warning about no-types mode
...
Fixes #1161
2023-12-29 16:30:21 +01:00
Hynek Schlawack
363ccf4821
docs: clean up index
2023-12-29 16:12:11 +01:00
Hynek Schlawack
84274fdecc
docs: add another slots caveat
...
Fixes #1211
2023-12-29 16:02:55 +01:00
Hynek Schlawack
9204fd925e
docs: avoid link artifacts
2023-12-29 09:38:33 +01:00
diabolo-dan
597c3a8adb
Add support for cached_properties to slotted attrs classes. ( #1200 )
...
* Add support for cached_properties to slotted attrs classes.
* Remove locking from implementation
* Add test for multiple cached properties and fix bug
* Add changelog file
* Document slotted cached properties
* Add cached_property hypothesis check.
* Only run cached_property imports on python 3.8+
* Use cached _obj_setattr instead of `object.__setattr__`
* Correctly resolve mro for __getattr__ in cached properties
* Use _get_annotations rather than branching on class dict entry
* Optimise __getattr__ code by front loading branching, and injecting locasl variables
* Remove unnecessary `__attrs_original_getattr__` from class dictionary.
---------
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2023-12-08 18:24:25 +00:00
Çağlar Kutlu
01413df3db
Fix for a tiny typo in `_MinLengthValidator` ( #1209 )
...
* tiny typo fix for min length validator's error string
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-30 05:14:07 +00:00
Hynek Schlawack
0d1be891df
Build docs on 3.12
2023-11-28 13:26:27 +01:00
Aaron Pham
1fcd29f864
Add optional namespace arguments for `make_class` ( #1203 )
...
* feat(make_class): add optional namespace arguments to pass through to
`make_class`
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* chore: add changelog
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* Rename `namespaces` to `class_body`
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* Fix versionchanged for correct features
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* Correctly name test case
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* Update changelog
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
* Adjust changelog
---------
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2023-11-28 12:05:46 +00:00
Hynek Schlawack
d40d9f3c97
Unbreak docs frontpage
2023-11-23 08:33:37 +01:00
Hynek Schlawack
c800d58f42
docs: typo
2023-11-23 08:29:37 +01:00
Hynek Schlawack
a3a7b76b5b
pre-commit update
2023-11-23 08:28:46 +01:00
Hynek Schlawack
bf357d6e67
Let's stand out
2023-11-23 08:28:31 +01:00
Hynek Schlawack
53d9d07357
All good things come to an end
2023-11-20 09:24:17 +01:00
Eugene Toder
079954ef40
Remove work-arounds for setting cell_contents ( #1201 )
...
* Remove work-arounds for setting cell_contents
Simple assignment to cell_contents works starting from Python 3.7[1].
This is also the minimum supported version of Python according to
pyproject.toml. It follows that we don't need complex work-arounds that
were needed in the past.
Also tested on pypy 3.8.
[1] https://bugs.python.org/issue30486
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2023-11-11 10:54:24 +00:00
Eugene Toder
ea1037cc14
Fix mypy and pyright tests in CI ( #1202 )
...
Some error messages changed in mypy 1.7.0 and pyright 1.1.335.
Also, test_mypy sometimes fails with xdist (-n auto). A failure I can
reliably reproduce locally is due to changes in type variables numbering.
There may be other issues.
2023-11-11 10:45:04 +00:00
pre-commit-ci[bot]
1955f72507
[pre-commit.ci] pre-commit autoupdate ( #1199 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.3...v0.1.4 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-07 05:44:17 +00:00
Hynek Schlawack
671c53c96f
Avoid paragraphs in checklist
...
They render weird.
2023-11-01 08:37:41 +01:00
Hynek Schlawack
77172be386
Use Python 3.12 in dev ( #1198 )
2023-11-01 07:38:39 +01:00
Hynek Schlawack
52c1cd97d7
Update contributing guide ( #1196 )
2023-10-30 14:57:07 +00:00
Sviatoslav Sydorenko
996672df79
Enable testing merge queues @ GitHub Actions CI/CD ( #1195 )
...
This allows org-hosted projects to start enabling merge queues in the
repository settings. With that, GitHub would trigger a separate event
against a merge commit derived from merging several pull requests with
the target branch.
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2023-10-27 10:58:51 +02:00
Hynek Schlawack
ede7e5c622
pre-commit autoupdate
2023-10-27 09:47:38 +02:00