funkwhale merge requestshttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests2024-02-01T01:55:51Zhttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2723chore(api): update dependency django-filter to v23 (develop)2024-02-01T01:55:51ZRenovateBotchore(api): update dependency django-filter to v23 (develop)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-filter](https://github.com/carltongibson/django-filter) ([changelog](https://github.com/carltongibson/django-filter/blob/main/CHANG...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-filter](https://github.com/carltongibson/django-filter) ([changelog](https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst)) | dependencies | major | `==22.1` -> `==23.5` |
---
### Release Notes
<details>
<summary>carltongibson/django-filter (django-filter)</summary>
### [`v23.5`](https://github.com/carltongibson/django-filter/blob/HEAD/CHANGES.rst#Version-235-2023-12-05)
[Compare Source](https://github.com/carltongibson/django-filter/compare/23.4...23.5)
- Fixed OrderingFilter handling of empty values. ([#​1628](https://github.com/carltongibson/django-filter/issues/1628))
Thanks to Matt Munns.
### [`v23.4`](https://github.com/carltongibson/django-filter/blob/HEAD/CHANGES.rst#Version-234-2023-11-20)
[Compare Source](https://github.com/carltongibson/django-filter/compare/23.3...23.4)
- Official support for Django 5.0 and Python 3.12.
- Fix DeprecationWarning for pkgutil.find_loader.
Thanks to `wmorrell`.
- Adopted Furo theme for docs.
### [`v23.3`](https://github.com/carltongibson/django-filter/blob/HEAD/CHANGES.rst#Version-233-2023-9-17)
[Compare Source](https://github.com/carltongibson/django-filter/compare/23.2...23.3)
- Adds initial compatibility with Django 5.0, prior to Django 5.0a1.
- Updates packaging to use pyproject.toml and Flit.
### [`v23.2`](https://github.com/carltongibson/django-filter/blob/HEAD/CHANGES.rst#Version-232-2023-4-30)
[Compare Source](https://github.com/carltongibson/django-filter/compare/23.1...23.2)
- Deprecated the schema generation methods of the DRF related `DjangoFilterBackend`.
These will be removed in version 25.1.
You should use `drf-spectacular <https://drf-spectacular.readthedocs.io/en/latest/>`\_
for generating OpenAPI schemas with DRF.
- In addition, stopped testing against the (very old now) `coreapi` schema generation.
These methods should continue to work if you're using them until v25.1, but
`coreapi` is no longer maintained, and is raising warnings against the current
versions of Python. To workaround this is not worth the effort at this point.
- Updated Polish translations.
### [`v23.1`](https://github.com/carltongibson/django-filter/blob/HEAD/CHANGES.rst#Version-231-2023-3-26)
[Compare Source](https://github.com/carltongibson/django-filter/compare/22.1...23.1)
- Declared support for Django 4.2.
- Various updated and new translations. Thanks to all who contributed, and
Weblate for hosting.
- Fixed QueryArrayWidget.value_from_datadict() to not mutate input data. ([#​1540](https://github.com/carltongibson/django-filter/issues/1540))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2722chore(api): update dependency django-debug-toolbar to v4 (develop)2024-02-01T00:49:44ZRenovateBotchore(api): update dependency django-debug-toolbar to v4 (develop)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) ([changelog](https://django-debug-toolbar.readthedocs.io/en/latest...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) ([changelog](https://django-debug-toolbar.readthedocs.io/en/latest/changes.html)) | dev | major | `==3.8.1` -> `==4.2.0` |
---
### Release Notes
<details>
<summary>jazzband/django-debug-toolbar (django-debug-toolbar)</summary>
### [`v4.2.0`](https://github.com/jazzband/django-debug-toolbar/compare/4.1...4.2)
[Compare Source](https://github.com/jazzband/django-debug-toolbar/compare/4.1...4.2)
### [`v4.1.0`](https://github.com/jazzband/django-debug-toolbar/compare/4.0.0...4.1)
[Compare Source](https://github.com/jazzband/django-debug-toolbar/compare/4.0.0...4.1)
### [`v4.0.0`](https://github.com/jazzband/django-debug-toolbar/releases/tag/4.0.0)
[Compare Source](https://github.com/jazzband/django-debug-toolbar/compare/3.8.1...4.0.0)
- Added Django 4.2a1 to the CI.
- Dropped support for Python 3.7.
- Fixed PostgreSQL raw query with a tuple parameter during on explain.
- Use `TOOLBAR_LANGUAGE` setting when rendering individual panels
that are loaded via AJAX.
- Add decorator for rendering toolbar views with `TOOLBAR_LANGUAGE`.
- Removed the logging panel. The panel's implementation was too complex, caused
memory leaks and sometimes very verbose and hard to silence output in some
environments (but not others). The maintainers judged that time and effort is
better invested elsewhere.
- Added support for psycopg3.
- When `ENABLE_STACKTRACE_LOCALS` is `True`, the stack frames' locals dicts
will be converted to strings when the stack trace is captured rather when it
is rendered, so that the correct values will be displayed in the rendered
stack trace, as they may have changed between the time the stack trace was
captured and when it is rendered.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2721chore(api): update dependency django-cors-headers to v4 (develop)2024-01-31T23:41:53ZRenovateBotchore(api): update dependency django-cors-headers to v4 (develop)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-cors-headers](https://github.com/adamchainz/django-cors-headers) ([changelog](https://github.com/adamchainz/django-cors-headers/blo...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-cors-headers](https://github.com/adamchainz/django-cors-headers) ([changelog](https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst)) | dependencies | major | `==3.13.0` -> `==4.3.1` |
---
### Release Notes
<details>
<summary>adamchainz/django-cors-headers (django-cors-headers)</summary>
### [`v4.3.1`](https://github.com/adamchainz/django-cors-headers/blob/HEAD/CHANGELOG.rst#431-2023-11-14)
[Compare Source](https://github.com/adamchainz/django-cors-headers/compare/4.3.0...4.3.1)
- Fixed ASGI compatibility on Python 3.12.
Thanks to Adrian Capitanu for the report in `Issue #​908 <https://github.com/adamchainz/django-cors-headers/issues/908>`\__ and Rooyal in `MR #​911 <https://github.com/adamchainz/django-cors-headers/pull/911>`\__.
### [`v4.3.0`](https://github.com/adamchainz/django-cors-headers/blob/HEAD/CHANGELOG.rst#430-2023-10-11)
[Compare Source](https://github.com/adamchainz/django-cors-headers/compare/4.2.0...4.3.0)
- Avoid adding the `access-control-allow-credentials` header to unallowed responses.
Thanks to Adam Romanek in `MR #​888 <https://github.com/adamchainz/django-cors-headers/pull/888>`\__.
- Support Django 5.0.
### [`v4.2.0`](https://github.com/adamchainz/django-cors-headers/blob/HEAD/CHANGELOG.rst#420-2023-07-10)
[Compare Source](https://github.com/adamchainz/django-cors-headers/compare/4.1.0...4.2.0)
- Drop Python 3.7 support.
### [`v4.1.0`](https://github.com/adamchainz/django-cors-headers/blob/HEAD/CHANGELOG.rst#410-2023-06-14)
[Compare Source](https://github.com/adamchainz/django-cors-headers/compare/4.0.0...4.1.0)
- Support Python 3.12.
### [`v4.0.0`](https://github.com/adamchainz/django-cors-headers/blob/HEAD/CHANGELOG.rst#400-2023-05-12)
[Compare Source](https://github.com/adamchainz/django-cors-headers/compare/3.14.0...4.0.0)
- Add `CORS_ALLOW_PRIVATE_NETWORK` setting, which enables support for the Local Network Access draft specification.
Thanks to Issac Kelly in `MR #​745 <https://github.com/adamchainz/django-cors-headers/pull/745>`\__ and jjurgens0 in `MR #​833 <https://github.com/adamchainz/django-cors-headers/pull/833>`\__.
- Remove three headers from the default "accept list": `accept-encoding`, `dnt`, and `origin`.
These are `Forbidden header names <https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name>`\__, which means requests JavaScript can never set them.
Consequently, allowing them via CORS has no effect.
Thanks to jub0bs for the report in `Issue #​842 <https://github.com/adamchainz/django-cors-headers/issues/842>`\__.
- Drop the `CORS_REPLACE_HTTPS_REFERER` setting and `CorsPostCsrfMiddleware`.
Since Django 1.9, the `CSRF_TRUSTED_ORIGINS` setting has been the preferred solution to making CSRF checks pass for CORS requests.
The removed setting and middleware only existed as a workaround for Django versions before 1.9.
- Add async support to the middleware, reducing overhead on async views.
### [`v3.14.0`](https://github.com/adamchainz/django-cors-headers/blob/HEAD/CHANGELOG.rst#3140-2023-02-25)
[Compare Source](https://github.com/adamchainz/django-cors-headers/compare/3.13.0...3.14.0)
- Support Django 4.2.
- Switch from `urlparse()` to `urlsplit()` for URL parsing, reducing the middleware runtime up to 5%.
This changes the type passed to `origin_found_in_white_lists()`, so if you have subclassed the middleware to override this method, you should check it is compatible (it most likely is).
Thanks to Thibaut Decombe in `MR #​793 <https://github.com/adamchainz/django-cors-headers/pull/793>`\__.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2720chore(api): update dependency django-cleanup to v8 (develop)2024-01-31T22:46:22ZRenovateBotchore(api): update dependency django-cleanup to v8 (develop)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-cleanup](https://github.com/un1t/django-cleanup) | dependencies | major | `==6.0.0` -> `==8.1.0` |
---
### Release Notes
<detail...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-cleanup](https://github.com/un1t/django-cleanup) | dependencies | major | `==6.0.0` -> `==8.1.0` |
---
### Release Notes
<details>
<summary>un1t/django-cleanup (django-cleanup)</summary>
### [`v8.1.0`](https://github.com/un1t/django-cleanup/blob/HEAD/CHANGELOG.md#810---2024-01-28)
[Compare Source](https://github.com/un1t/django-cleanup/compare/8.0.0...8.1.0)
##### Added
- Run tests for django 5.0 and python 3.12.
### [`v8.0.0`](https://github.com/un1t/django-cleanup/blob/HEAD/CHANGELOG.md#800---2023-06-14)
[Compare Source](https://github.com/un1t/django-cleanup/compare/7.0.0...8.0.0)
##### Added
- Run tests for django 4.2. MR \[[#​100](https://github.com/un1t/django-cleanup/issues/100)] from [@​johnthagen](https://github.com/johnthagen).
##### Removed
- Dropped support for django 4.0.
### [`v7.0.0`](https://github.com/un1t/django-cleanup/blob/HEAD/CHANGELOG.md#700---2023-02-11)
[Compare Source](https://github.com/un1t/django-cleanup/compare/6.0.0...7.0.0)
##### Added
- Run tests for django 4.1.
- Run tests on python 3.11 with django 4.1.
- Select mode, with the ability to only cleanup selected models using a `select` decorator. Resolves issue \[[#​75](https://github.com/un1t/django-cleanup/issues/75)] for [@​daviddavis](https://github.com/daviddavis).
- Documentation on the known limitations of referencing a file by multiple model instances. Resolves issue \[[#​98](https://github.com/un1t/django-cleanup/issues/98)] for [@​Grosskopf](https://github.com/Grosskopf)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2719chore(api): update dependency django-cacheops to v7 (develop)2024-01-31T21:57:39ZRenovateBotchore(api): update dependency django-cacheops to v7 (develop)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-cacheops](https://github.com/Suor/django-cacheops) | dependencies | major | `==6.1` -> `==7.0.2` |
---
### Release Notes
<detail...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [django-cacheops](https://github.com/Suor/django-cacheops) | dependencies | major | `==6.1` -> `==7.0.2` |
---
### Release Notes
<details>
<summary>Suor/django-cacheops (django-cacheops)</summary>
### [`v7.0.2`](https://github.com/Suor/django-cacheops/compare/7.0.1...7.0.2)
[Compare Source](https://github.com/Suor/django-cacheops/compare/7.0.1...7.0.2)
### [`v7.0.1`](https://github.com/Suor/django-cacheops/compare/7.0...7.0.1)
[Compare Source](https://github.com/Suor/django-cacheops/compare/7.0...7.0.1)
### [`v7.0`](https://github.com/Suor/django-cacheops/compare/6.2...7.0)
[Compare Source](https://github.com/Suor/django-cacheops/compare/6.2...7.0)
### [`v6.2`](https://github.com/Suor/django-cacheops/compare/6.1...6.2)
[Compare Source](https://github.com/Suor/django-cacheops/compare/6.1...6.2)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2718chore(front): update dependency standardized-audio-context to v25.3.63 (stable)2024-01-31T21:20:36ZRenovateBotchore(front): update dependency standardized-audio-context to v25.3.63 (stable)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [standardized-audio-context](https://github.com/chrisguttandin/standardized-audio-context) | dependencies | patch | [`25.3.60` -> `25.3.63`...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [standardized-audio-context](https://github.com/chrisguttandin/standardized-audio-context) | dependencies | patch | [`25.3.60` -> `25.3.63`](https://renovatebot.com/diffs/npm/standardized-audio-context/25.3.60/25.3.63) |
---
### Release Notes
<details>
<summary>chrisguttandin/standardized-audio-context (standardized-audio-context)</summary>
### [`v25.3.63`](https://github.com/chrisguttandin/standardized-audio-context/releases/tag/v25.3.63)
[Compare Source](https://github.com/chrisguttandin/standardized-audio-context/compare/v25.3.62...v25.3.63)
[all commits](https://github.com/chrisguttandin/standardized-audio-context/compare/v25.3.62...v25.3.63)
### [`v25.3.62`](https://github.com/chrisguttandin/standardized-audio-context/releases/tag/v25.3.62)
[Compare Source](https://github.com/chrisguttandin/standardized-audio-context/compare/v25.3.61...v25.3.62)
[all commits](https://github.com/chrisguttandin/standardized-audio-context/compare/v25.3.61...v25.3.62)
### [`v25.3.61`](https://github.com/chrisguttandin/standardized-audio-context/releases/tag/v25.3.61)
[Compare Source](https://github.com/chrisguttandin/standardized-audio-context/compare/v25.3.60...v25.3.61)
[all commits](https://github.com/chrisguttandin/standardized-audio-context/compare/v25.3.60...v25.3.61)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4xIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlIn0=-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2717chore(api): update dependency unidecode to v1.3.8 (stable)2024-01-31T20:40:26ZRenovateBotchore(api): update dependency unidecode to v1.3.8 (stable)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| unidecode | dependencies | patch | `==1.3.7` -> `==1.3.8` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no sche...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| unidecode | dependencies | patch | `==1.3.7` -> `==1.3.8` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4xIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlIn0=-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2716chore(api): update dependency pytest to v7.4.4 (stable)2024-01-31T19:51:53ZRenovateBotchore(api): update dependency pytest to v7.4.4 (stable)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pytest](https://docs.pytest.org/en/latest/) ([source](https://github.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pytest](https://docs.pytest.org/en/latest/) ([source](https://github.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | dev | patch | `==7.4.3` -> `==7.4.4` |
---
### Release Notes
<details>
<summary>pytest-dev/pytest (pytest)</summary>
### [`v7.4.4`](https://github.com/pytest-dev/pytest/releases/tag/7.4.4): pytest 7.4.4 (2023-12-31)
[Compare Source](https://github.com/pytest-dev/pytest/compare/7.4.3...7.4.4)
#### Bug Fixes
- [#​11140](https://github.com/pytest-dev/pytest/issues/11140): Fix non-string constants at the top of file being detected as docstrings on Python>=3.8.
- [#​11572](https://github.com/pytest-dev/pytest/issues/11572): Handle an edge case where `sys.stderr`{.interpreted-text role="data"} and `sys.__stderr__`{.interpreted-text role="data"} might already be closed when `faulthandler`{.interpreted-text role="ref"} is tearing down.
- [#​11710](https://github.com/pytest-dev/pytest/issues/11710): Fixed tracebacks from collection errors not getting pruned.
- [#​7966](https://github.com/pytest-dev/pytest/issues/7966): Removed unhelpful error message from assertion rewrite mechanism when exceptions are raised in `__iter__` methods. Now they are treated un-iterable instead.
#### Improved Documentation
- [#​11091](https://github.com/pytest-dev/pytest/issues/11091): Updated documentation to refer to hyphenated options: replaced `--junitxml` with `--junit-xml` and `--collectonly` with `--collect-only`.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4xIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlIn0=-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2715chore(api): update dependency prompt-toolkit to v3.0.43 (stable)2024-01-31T18:30:09ZRenovateBotchore(api): update dependency prompt-toolkit to v3.0.43 (stable)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) | dev | patch | `==3.0.41` -> `==3.0.43` |
---
### Release Note...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) | dev | patch | `==3.0.41` -> `==3.0.43` |
---
### Release Notes
<details>
<summary>prompt-toolkit/python-prompt-toolkit (prompt-toolkit)</summary>
### [`v3.0.43`](https://github.com/prompt-toolkit/python-prompt-toolkit/blob/HEAD/CHANGELOG#3043-2023-12-13)
[Compare Source](https://github.com/prompt-toolkit/python-prompt-toolkit/compare/3.0.42...3.0.43)
Fixes:
- Fix regression on Pypy: Don't use `ctypes.pythonapi` to restore SIGINT if not
available.
### [`v3.0.42`](https://github.com/prompt-toolkit/python-prompt-toolkit/blob/HEAD/CHANGELOG#3042-2023-12-12)
[Compare Source](https://github.com/prompt-toolkit/python-prompt-toolkit/compare/3.0.41...3.0.42)
Fixes:
- Fix line wrapping in `patch_stdout` on Windows.
- Make `formatted_text.split_lines()` accept an iterable instead of lists only.
- Disable the IPython workaround (from 3.0.41) for IPython >= 8.18.
- Restore signal.SIGINT handler between prompts.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4wIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlIn0=-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2714chore(api): update dependency feedparser to v6.0.11 (stable)2024-01-31T16:50:51ZRenovateBotchore(api): update dependency feedparser to v6.0.11 (stable)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [feedparser](https://github.com/kurtmckee/feedparser) | dependencies | patch | `==6.0.10` -> `==6.0.11` |
---
### Release Notes
<details...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [feedparser](https://github.com/kurtmckee/feedparser) | dependencies | patch | `==6.0.10` -> `==6.0.11` |
---
### Release Notes
<details>
<summary>kurtmckee/feedparser (feedparser)</summary>
### [`v6.0.11`](https://github.com/kurtmckee/feedparser/blob/HEAD/CHANGELOG.rst#6011---2023-12-10)
[Compare Source](https://github.com/kurtmckee/feedparser/compare/6.0.10...6.0.11)
\===================
- Resolve `cgi` module deprecation warnings. ([#​330](https://github.com/kurtmckee/feedparser/issues/330))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4wIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlIn0=-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2713chore: pin dependency poetry-core to ==1.8.1 (stable)2024-01-31T15:40:23ZRenovateBotchore: pin dependency poetry-core to ==1.8.1 (stable)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [poetry-core](https://github.com/python-poetry/poetry-core) | build-system.requires | pin | `>=1.0.0` -> `==1.8.1` |
Add the preset `:pres...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [poetry-core](https://github.com/python-poetry/poetry-core) | build-system.requires | pin | `>=1.0.0` -> `==1.8.1` |
Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4wIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlIn0=-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2712chore(docs): pin dependency poetry-core to ==1.8.1 (stable)2024-01-31T14:48:51ZRenovateBotchore(docs): pin dependency poetry-core to ==1.8.1 (stable)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [poetry-core](https://github.com/python-poetry/poetry-core) | build-system.requires | pin | `>=1.0.0` -> `==1.8.1` |
Add the preset `:pres...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [poetry-core](https://github.com/python-poetry/poetry-core) | build-system.requires | pin | `>=1.0.0` -> `==1.8.1` |
Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4wIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlIn0=-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2711chore(api): pin dependency poetry-core to ==1.8.1 (stable)2024-01-31T14:31:10ZRenovateBotchore(api): pin dependency poetry-core to ==1.8.1 (stable)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [poetry-core](https://github.com/python-poetry/poetry-core) | build-system.requires | pin | `>=1.0.0` -> `==1.8.1` |
Add the preset `:pres...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [poetry-core](https://github.com/python-poetry/poetry-core) | build-system.requires | pin | `>=1.0.0` -> `==1.8.1` |
Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE2My4wIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlIn0=-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2709chore(api): Update dependency django to v42024-02-26T07:56:21ZGeorg Krausechore(api): Update dependency django to v41.5.0Georg KrauseMargeGeorg Krausehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2706make typesense task conditionnal NOCHANGELOG2024-01-30T13:18:59Zpetitminionmake typesense task conditionnal NOCHANGELOGCloses #2279Closes #2279petitminionMargepetitminionhttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2704chore(api): update dependency coverage to v7 (develop)2024-01-29T16:25:07ZRenovateBotchore(api): update dependency coverage to v7 (develop)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [coverage](https://github.com/nedbat/coveragepy) | dev | major | `==6.5.0` -> `==7.4.1` |
---
### Release Notes
<details>
<summary>nedba...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [coverage](https://github.com/nedbat/coveragepy) | dev | major | `==6.5.0` -> `==7.4.1` |
---
### Release Notes
<details>
<summary>nedbat/coveragepy (coverage)</summary>
### [`v7.4.1`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-741--2024-01-26)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.4.0...7.4.1)
- Python 3.13.0a3 is supported.
- Fix: the JSON report now includes an explicit format version number, closing
`issue 1732`\_.
.. \_issue 1732: https://github.com/nedbat/coveragepy/issues/1732
.. \_changes\_7-4-0:
### [`v7.4.0`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-740--2023-12-27)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.3.4...7.4.0)
- In Python 3.12 and above, you can try an experimental core based on the new
:mod:`sys.monitoring <python:sys.monitoring>` module by defining a
`COVERAGE_CORE=sysmon` environment variable. This should be faster for
line coverage, but not for branch coverage, and plugins and dynamic contexts
are not yet supported with it. I am very interested to hear how it works (or
doesn't!) for you.
.. \_changes\_7-3-4:
### [`v7.3.4`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-734--2023-12-20)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.3.3...7.3.4)
- Fix: the change for multi-line signature exclusions in 7.3.3 broke other
forms of nested clauses being excluded properly. This is now fixed, closing
`issue 1713`\_.
- Fix: in the HTML report, selecting code for copying won't select the line
numbers also. Thanks, `Robert Harris <pull 1717_>`\_.
.. \_issue 1713: https://github.com/nedbat/coveragepy/issues/1713
.. \_pull 1717: https://github.com/nedbat/coveragepy/pull/1717
.. \_changes\_7-3-3:
### [`v7.3.3`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-733--2023-12-14)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.3.2...7.3.3)
- Fix: function definitions with multi-line signatures can now be excluded by
matching any of the lines, closing `issue 684`*. Thanks, `Jan Rusak,
Maciej Kowalczyk and Joanna Ejzel <pull 1705_>`*.
- Fix: XML reports could fail with a TypeError if files had numeric components
that were duplicates except for leading zeroes, like `file1.py` and
`file001.py`. Fixes `issue 1709`\_.
- The `coverage annotate` command used to announce that it would be removed
in a future version. Enough people got in touch to say that they use it, so
it will stay. Don't expect it to keep up with other new features though.
- Added new :ref:`debug options <cmd_run_debug>`:
- `pytest` writes the pytest test name into the debug output.
- `dataop2` writes the full data being added to CoverageData objects.
.. \_issue 684: https://github.com/nedbat/coveragepy/issues/684
.. \_pull 1705: https://github.com/nedbat/coveragepy/pull/1705
.. \_issue 1709: https://github.com/nedbat/coveragepy/issues/1709
.. \_changes\_7-3-2:
### [`v7.3.2`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-732--2023-10-02)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.3.1...7.3.2)
- The `coverage lcov` command ignored the `[report] exclude_lines` and
`[report] exclude_also` settings (`issue 1684`*). This is now fixed,
thanks `Jacqueline Lee <pull 1685_>`*.
- Sometimes SQLite will create journal files alongside the coverage.py database
files. These are ephemeral, but could be mistakenly included when combining
data files. Now they are always ignored, fixing `issue 1605`\_. Thanks to
Brad Smith for suggesting fixes and providing detailed debugging.
- On Python 3.12+, we now disable SQLite writing journal files, which should be
a little faster.
- The new 3.12 soft keyword `type` is properly bolded in HTML reports.
- Removed the "fullcoverage" feature used by CPython to measure the coverage of
early-imported standard library modules. CPython `stopped using it
<88054_>`\_ in 2021, and it stopped working completely in Python 3.13.
.. \_issue 1605: https://github.com/nedbat/coveragepy/issues/1605
.. \_issue 1684: https://github.com/nedbat/coveragepy/issues/1684
.. \_pull 1685: https://github.com/nedbat/coveragepy/pull/1685
.. \_88054: https://github.com/python/cpython/issues/88054
.. \_changes\_7-3-1:
### [`v7.3.1`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-731--2023-09-06)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.3.0...7.3.1)
- The semantics of stars in file patterns has been clarified in the docs. A
leading or trailing star matches any number of path components, like a double
star would. This is different than the behavior of a star in the middle of a
pattern. This discrepancy was `identified by Sviatoslav Sydorenko <starbad_>`*, who `provided patient detailed diagnosis <pull 1650_>`* and
graciously agreed to a pragmatic resolution.
- The API docs were missing from the last version. They are now `restored <apidocs_>`\_.
.. \_apidocs: https://coverage.readthedocs.io/en/latest/api_coverage.html
.. \_starbad: https://github.com/nedbat/coveragepy/issues/1407#issuecomment-1631085209
.. \_pull 1650: https://github.com/nedbat/coveragepy/pull/1650
.. \_changes\_7-3-0:
### [`v7.3.0`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-730--2023-08-12)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.7...7.3.0)
- Added a :meth:`.Coverage.collect` context manager to start and stop coverage
data collection.
- Dropped support for Python 3.7.
- Fix: in unusual circumstances, SQLite cannot be set to asynchronous mode.
Coverage.py would fail with the error `Safety level may not be changed
inside a transaction.` This is now avoided, closing `issue 1646`\_. Thanks
to Michael Bell for the detailed bug report.
- Docs: examples of configuration files now include separate examples for the
different syntaxes: .coveragerc, pyproject.toml, setup.cfg, and tox.ini.
- Fix: added `nosemgrep` comments to our JavaScript code so that
semgrep-based SAST security checks won't raise false alarms about security
problems that aren't problems.
- Added a CITATION.cff file, thanks to `Ken Schackart <pull 1641_>`\_.
.. \_pull 1641: https://github.com/nedbat/coveragepy/pull/1641
.. \_issue 1646: https://github.com/nedbat/coveragepy/issues/1646
.. \_changes\_7-2-7:
### [`v7.2.7`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-727--2023-05-29)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.6...7.2.7)
- Fix: reverted a `change from 6.4.3 <pull 1347b_>`\_ that helped Cython, but
also increased the size of data files when using dynamic contexts, as
described in the now-fixed `issue 1586`*. The problem is now avoided due to a
recent change (`issue 1538 <issue 1538b_>`*). Thanks to `Anders Kaseorg <pull 1629_>`\_ and David Szotten for persisting with problem reports and
detailed diagnoses.
- Wheels are now provided for CPython 3.12.
.. \_pull 1347b: https://github.com/nedbat/coveragepy/pull/1347
.. \_issue 1538b: https://github.com/nedbat/coveragepy/issues/1538
.. \_issue 1586: https://github.com/nedbat/coveragepy/issues/1586
.. \_pull 1629: https://github.com/nedbat/coveragepy/pull/1629
.. \_changes\_7-2-6:
### [`v7.2.6`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-726--2023-05-23)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.5...7.2.6)
- Fix: the `lcov` command could raise an IndexError exception if a file is
translated to Python but then executed under its own name. Jinja2 does this
when rendering templates. Fixes `issue 1553`\_.
- Python 3.12 beta 1 now inlines comprehensions. Previously they were compiled
as invisible functions and coverage.py would warn you if they weren't
completely executed. This no longer happens under Python 3.12.
- Fix: the `coverage debug sys` command includes some environment variables
in its output. This could have included sensitive data. Those values are
now hidden with asterisks, closing `issue 1628`\_.
.. \_issue 1553: https://github.com/nedbat/coveragepy/issues/1553
.. \_issue 1628: https://github.com/nedbat/coveragepy/issues/1628
.. \_changes\_7-2-5:
### [`v7.2.5`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-725--2023-04-30)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.4...7.2.5)
- Fix: `html_report()` could fail with an AttributeError on `isatty` if run
in an unusual environment where sys.stdout had been replaced. This is now
fixed.
.. \_changes\_7-2-4:
### [`v7.2.4`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-724--2023-04-28)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.3...7.2.4)
PyCon 2023 sprint fixes!
- Fix: with `relative_files = true`, specifying a specific file to include or
omit wouldn't work correctly (`issue 1604`*). This is now fixed, with
testing help by `Marc Gibbons <pull 1608_>`*.
- Fix: the XML report would have an incorrect `<source>` element when using
relative files and the source option ended with a slash (`issue 1541`*).
This is now fixed, thanks to `Kevin Brown-Silva <pull 1608_>`*.
- When the HTML report location is printed to the terminal, it's now a
terminal-compatible URL, so that you can click the location to open the HTML
file in your browser. Finishes `issue 1523`\_ thanks to `Ricardo Newbery <pull 1613_>`\_.
- Docs: a new :ref:`Migrating page <migrating>` with details about how to
migrate between major versions of coverage.py. It currently covers the
wildcard changes in 7.x. Thanks, `Brian Grohe <pull 1610_>`\_.
.. \_issue 1523: https://github.com/nedbat/coveragepy/issues/1523
.. \_issue 1541: https://github.com/nedbat/coveragepy/issues/1541
.. \_issue 1604: https://github.com/nedbat/coveragepy/issues/1604
.. \_pull 1608: https://github.com/nedbat/coveragepy/pull/1608
.. \_pull 1609: https://github.com/nedbat/coveragepy/pull/1609
.. \_pull 1610: https://github.com/nedbat/coveragepy/pull/1610
.. \_pull 1613: https://github.com/nedbat/coveragepy/pull/1613
.. \_changes\_7-2-3:
### [`v7.2.3`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-723--2023-04-06)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.2...7.2.3)
- Fix: the :ref:`config_run_sigterm` setting was meant to capture data if a
process was terminated with a SIGTERM signal, but it didn't always. This was
fixed thanks to `Lewis Gaul <pull 1600_>`*, closing `issue 1599`*.
- Performance: HTML reports with context information are now much more compact.
File sizes are typically as small as one-third the previous size, but can be
dramatically smaller. This closes `issue 1584`\_ thanks to `Oleh Krehel <pull 1587_>`\_.
- Development dependencies no longer use hashed pins, closing `issue 1592`\_.
.. \_issue 1584: https://github.com/nedbat/coveragepy/issues/1584
.. \_pull 1587: https://github.com/nedbat/coveragepy/pull/1587
.. \_issue 1592: https://github.com/nedbat/coveragepy/issues/1592
.. \_issue 1599: https://github.com/nedbat/coveragepy/issues/1599
.. \_pull 1600: https://github.com/nedbat/coveragepy/pull/1600
.. \_changes\_7-2-2:
### [`v7.2.2`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-722--2023-03-16)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.1...7.2.2)
- Fix: if a virtualenv was created inside a source directory, and a sourced
package was installed inside the virtualenv, then all of the third-party
packages inside the virtualenv would be measured. This was incorrect, but
has now been fixed: only the specified packages will be measured, thanks to
`Manuel Jacob <pull 1560_>`\_.
- Fix: the `coverage lcov` command could create a .lcov file with incorrect
LF (lines found) and LH (lines hit) totals. This is now fixed, thanks to
`Ian Moore <pull 1583_>`\_.
- Fix: the `coverage xml` command on Windows could create a .xml file with
duplicate `<package>` elements. This is now fixed, thanks to `Benjamin
Parzella <pull 1574_>`*, closing `issue 1573`*.
.. \_pull 1560: https://github.com/nedbat/coveragepy/pull/1560
.. \_issue 1573: https://github.com/nedbat/coveragepy/issues/1573
.. \_pull 1574: https://github.com/nedbat/coveragepy/pull/1574
.. \_pull 1583: https://github.com/nedbat/coveragepy/pull/1583
.. \_changes\_7-2-1:
### [`v7.2.1`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-721--2023-02-26)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.2.0...7.2.1)
- Fix: the PyPI page had broken links to documentation pages, but no longer
does, closing `issue 1566`\_.
- Fix: public members of the coverage module are now properly indicated so that
mypy will find them, fixing `issue 1564`\_.
.. \_issue 1564: https://github.com/nedbat/coveragepy/issues/1564
.. \_issue 1566: https://github.com/nedbat/coveragepy/issues/1566
.. \_changes\_7-2-0:
### [`v7.2.0`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-720--2023-02-22)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.1.0...7.2.0)
- Added a new setting `[report] exclude_also` to let you add more exclusions
without overwriting the defaults. Thanks, `Alpha Chen <pull 1557_>`*,
closing `issue 1391`*.
- Added a :meth:`.CoverageData.purge_files` method to remove recorded data for
a particular file. Contributed by `Stephan Deibel <pull 1547_>`\_.
- Fix: when reporting commands fail, they will no longer congratulate
themselves with messages like "Wrote XML report to file.xml" before spewing a
traceback about their failure.
- Fix: arguments in the public API that name file paths now accept pathlib.Path
objects. This includes the `data_file` and `config_file` arguments to
the Coverage constructor and the `basename` argument to CoverageData.
Closes `issue 1552`\_.
- Fix: In some embedded environments, an IndexError could occur on stop() when
the originating thread exits before completion. This is now fixed, thanks to
`Russell Keith-Magee <pull 1543_>`*, closing `issue 1542`*.
- Added a `py.typed` file to announce our type-hintedness. Thanks,
`KotlinIsland <pull 1550_>`\_.
.. \_issue 1391: https://github.com/nedbat/coveragepy/issues/1391
.. \_issue 1542: https://github.com/nedbat/coveragepy/issues/1542
.. \_pull 1543: https://github.com/nedbat/coveragepy/pull/1543
.. \_pull 1547: https://github.com/nedbat/coveragepy/pull/1547
.. \_pull 1550: https://github.com/nedbat/coveragepy/pull/1550
.. \_issue 1552: https://github.com/nedbat/coveragepy/issues/1552
.. \_pull 1557: https://github.com/nedbat/coveragepy/pull/1557
.. \_changes\_7-1-0:
### [`v7.1.0`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-710--2023-01-24)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.0.5...7.1.0)
- Added: the debug output file can now be specified with `[run] debug_file`
in the configuration file. Closes `issue 1319`\_.
- Performance: fixed a slowdown with dynamic contexts that's been around since
6.4.3. The fix closes `issue 1538`*. Thankfully this doesn't break the
`Cython change`* that fixed `issue 972`\_. Thanks to Mathieu Kniewallner for
the deep investigative work and comprehensive issue report.
- Typing: all product and test code has type annotations.
.. \_Cython change: https://github.com/nedbat/coveragepy/pull/1347
.. \_issue 972: https://github.com/nedbat/coveragepy/issues/972
.. \_issue 1319: https://github.com/nedbat/coveragepy/issues/1319
.. \_issue 1538: https://github.com/nedbat/coveragepy/issues/1538
.. \_changes\_7-0-5:
### [`v7.0.5`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-705--2023-01-10)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.0.4...7.0.5)
- Fix: On Python 3.7, a file with type annotations but no `from __future__
import annotations` would be missing statements in the coverage report. This
is now fixed, closing `issue 1524`\_.
.. \_issue 1524: https://github.com/nedbat/coveragepy/issues/1524
.. \_changes\_7-0-4:
### [`v7.0.4`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-704--2023-01-07)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.0.3...7.0.4)
- Performance: an internal cache of file names was accidentally disabled,
resulting in sometimes drastic reductions in performance. This is now fixed,
closing `issue 1527`\_. Thanks to Ivan Ciuvalschii for the reproducible test
case.
.. \_issue 1527: https://github.com/nedbat/coveragepy/issues/1527
.. \_changes\_7-0-3:
### [`v7.0.3`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-703--2023-01-03)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.0.2...7.0.3)
- Fix: when using pytest-cov or pytest-xdist, or perhaps both, the combining
step could fail with `assert row is not None` using 7.0.2. This was due to
a race condition that has always been possible and is still possible. In
7.0.1 and before, the error was silently swallowed by the combining code.
Now it will produce a message "Couldn't combine data file" and ignore the
data file as it used to do before 7.0.2. Closes `issue 1522`\_.
.. \_issue 1522: https://github.com/nedbat/coveragepy/issues/1522
.. \_changes\_7-0-2:
### [`v7.0.2`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-702--2023-01-02)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.0.1...7.0.2)
- Fix: when using the `[run] relative_files = True` setting, a relative
`[paths]` pattern was still being made absolute. This is now fixed,
closing `issue 1519`\_.
- Fix: if Python doesn't provide tomllib, then TOML configuration files can
only be read if coverage.py is installed with the `[toml]` extra.
Coverage.py will raise an error if TOML support is not installed when it sees
your settings are in a .toml file. But it didn't understand that
`[tools.coverage]` was a valid section header, so the error wasn't reported
if you used that header, and settings were silently ignored. This is now
fixed, closing `issue 1516`\_.
- Fix: adjusted how decorators are traced on PyPy 7.3.10, fixing `issue 1515`\_.
- Fix: the `coverage lcov` report did not properly implement the
`--fail-under=MIN` option. This has been fixed.
- Refactor: added many type annotations, including a number of refactorings.
This should not affect outward behavior, but they were a bit invasive in some
places, so keep your eyes peeled for oddities.
- Refactor: removed the vestigial and long untested support for Jython and
IronPython.
.. \_issue 1515: https://github.com/nedbat/coveragepy/issues/1515
.. \_issue 1516: https://github.com/nedbat/coveragepy/issues/1516
.. \_issue 1519: https://github.com/nedbat/coveragepy/issues/1519
.. \_changes\_7-0-1:
### [`v7.0.1`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-701--2022-12-23)
[Compare Source](https://github.com/nedbat/coveragepy/compare/7.0.0...7.0.1)
- When checking if a file mapping resolved to a file that exists, we weren't
considering files in .whl files. This is now fixed, closing `issue 1511`\_.
- File pattern rules were too strict, forbidding plus signs and curly braces in
directory and file names. This is now fixed, closing `issue 1513`\_.
- Unusual Unicode or control characters in source files could prevent
reporting. This is now fixed, closing `issue 1512`\_.
- The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing `issue 1510`\_.
.. \_issue 1510: https://github.com/nedbat/coveragepy/issues/1510
.. \_issue 1511: https://github.com/nedbat/coveragepy/issues/1511
.. \_issue 1512: https://github.com/nedbat/coveragepy/issues/1512
.. \_issue 1513: https://github.com/nedbat/coveragepy/issues/1513
.. \_changes\_7-0-0:
### [`v7.0.0`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-700--2022-12-18)
[Compare Source](https://github.com/nedbat/coveragepy/compare/6.5.0...7.0.0)
Nothing new beyond 7.0.0b1.
.. \_changes\_7-0-0b1:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE1Ni4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->RenovateBotMargeRenovateBothttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2703chore(api): update dependency bleach to v6 (develop)2024-01-30T10:30:18ZRenovateBotchore(api): update dependency bleach to v6 (develop)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [bleach](https://github.com/mozilla/bleach) | dependencies | major | `==5.0.1` -> `==6.1.0` |
---
### Release Notes
<details>
<summary>m...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [bleach](https://github.com/mozilla/bleach) | dependencies | major | `==5.0.1` -> `==6.1.0` |
---
### Release Notes
<details>
<summary>mozilla/bleach (bleach)</summary>
### [`v6.1.0`](https://github.com/mozilla/bleach/blob/HEAD/CHANGES#Version-610-October-6th-2023)
[Compare Source](https://github.com/mozilla/bleach/compare/v6.0.0...v6.1.0)
**Backwards incompatible changes**
- Dropped support for Python 3.7. ([#​709](https://github.com/mozilla/bleach/issues/709))
**Security fixes**
None
**Bug fixes**
- Add support for Python 3.12. ([#​710](https://github.com/mozilla/bleach/issues/710))
- Fix linkify with arrays in querystring ([#​436](https://github.com/mozilla/bleach/issues/436))
- Handle more cases with < followed by character data ([#​705](https://github.com/mozilla/bleach/issues/705))
- Fix entities inside a tags in linkification ([#​704](https://github.com/mozilla/bleach/issues/704))
- Update cap for tinycss2 to <1.3 ([#​702](https://github.com/mozilla/bleach/issues/702))
- Updated Sphinx requirement
- Add dependabot for github actions and update github actions
### [`v6.0.0`](https://github.com/mozilla/bleach/blob/HEAD/CHANGES#Version-600-January-23rd-2023)
[Compare Source](https://github.com/mozilla/bleach/compare/v5.0.1...v6.0.0)
**Backwards incompatible changes**
- `bleach.clean`, `bleach.sanitizer.Cleaner`,
`bleach.html5lib_shim.BleachHTMLParser`: the `tags` and `protocols`
arguments were changed from lists to sets.
Old pre-6.0.0:
.. code-block:: python
bleach.clean(
"some text",
tags=\["a", "p", "img"],
### ^ ^ list
protocols=["http", "https"],
### ^ ^ list
)
New 6.0.0 and later:
.. code-block:: python
bleach.clean(
"some text",
tags={"a", "p", "img"},
### ^ ^ set
protocols={"http", "https"},
### ^ ^ set
)
- `bleach.linkify`, `bleach.linkifier.Linker`: the `skip_tags` and
`recognized_tags` arguments were changed from lists to sets.
Old pre-6.0.0:
.. code-block:: python
bleach.linkify(
"some text",
skip_tags=\["pre"],
### ^ ^ list
)
linker = Linker(
skip_tags=["pre"],
### ^ ^ list
recognized_tags=html5lib_shim.HTML_TAGS + ["custom-element"],
### ^ ^ ^ list
### |
### | list concatenation
)
New 6.0.0 and later:
.. code-block:: python
bleach.linkify(
"some text",
skip_tags={"pre"},
### ^ ^ set
)
linker = Linker(
skip_tags={"pre"},
### ^ ^ set
recognized_tags=html5lib_shim.HTML_TAGS | {"custom-element"},
### ^ ^ ^ set
### |
### | union operator
)
- `bleach.sanitizer.BleachSanitizerFilter`: `strip_allowed_elements` is now
`strip_allowed_tags`. We now use "tags" everywhere rather than a mishmash
of "tags" in some places and "elements" in others.
**Security fixes**
None
**Bug fixes**
- Add support for Python 3.11. ([#​675](https://github.com/mozilla/bleach/issues/675))
- Fix API weirness in `BleachSanitizerFilter`. ([#​649](https://github.com/mozilla/bleach/issues/649))
We're using "tags" instead of "elements" everywhere--no more weird
overloading of "elements" anymore.
Also, it no longer calls the superclass constructor.
- Add warning when `css_sanitizer` isn't set, but the `style`
attribute is allowed. ([#​676](https://github.com/mozilla/bleach/issues/676))
- Fix linkify handling of character entities. ([#​501](https://github.com/mozilla/bleach/issues/501))
- Rework dev dependencies to use `requirements-dev.txt` and
`requirements-flake8.txt` instead of extras.
- Fix project infrastructure to be tox-based so it's easier to have CI
run the same things we're running in development and with flake8
in an isolated environment.
- Update action versions in CI.
- Switch to f-strings where possible. Make tests parametrized to be
easier to read/maintain.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->Georg KrauseRenovateBotMargeGeorg Krausehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2702chore(api): update dependency black to v24 (develop)2024-01-29T09:37:07ZRenovateBotchore(api): update dependency black to v24 (develop)This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | dev | major | `==23.3.0` -> `==24....This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | dev | major | `==23.3.0` -> `==24.1.1` |
---
### Release Notes
<details>
<summary>psf/black (black)</summary>
### [`v24.1.1`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2411)
[Compare Source](https://github.com/psf/black/compare/24.1.0...24.1.1)
Bugfix release to fix a bug that made Black unusable on certain file systems with strict
limits on path length.
##### Preview style
- Consistently add trailing comma on typed parameters ([#​4164](https://github.com/psf/black/issues/4164))
##### Configuration
- Shorten the length of the name of the cache file to fix crashes on file systems that
do not support long paths ([#​4176](https://github.com/psf/black/issues/4176))
### [`v24.1.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2410)
[Compare Source](https://github.com/psf/black/compare/23.12.1...24.1.0)
##### Highlights
This release introduces the new 2024 stable style ([#​4106](https://github.com/psf/black/issues/4106)), stabilizing the following
changes:
- Add parentheses around `if`-`else` expressions ([#​2278](https://github.com/psf/black/issues/2278))
- Dummy class and function implementations consisting only of `...` are formatted more
compactly ([#​3796](https://github.com/psf/black/issues/3796))
- If an assignment statement is too long, we now prefer splitting on the right-hand side
([#​3368](https://github.com/psf/black/issues/3368))
- Hex codes in Unicode escape sequences are now standardized to lowercase ([#​2916](https://github.com/psf/black/issues/2916))
- Allow empty first lines at the beginning of most blocks ([#​3967](https://github.com/psf/black/issues/3967), [#​4061](https://github.com/psf/black/issues/4061))
- Add parentheses around long type annotations ([#​3899](https://github.com/psf/black/issues/3899))
- Enforce newline after module docstrings ([#​3932](https://github.com/psf/black/issues/3932), [#​4028](https://github.com/psf/black/issues/4028))
- Fix incorrect magic trailing comma handling in return types ([#​3916](https://github.com/psf/black/issues/3916))
- Remove blank lines before class docstrings ([#​3692](https://github.com/psf/black/issues/3692))
- Wrap multiple context managers in parentheses if combined in a single `with` statement
([#​3489](https://github.com/psf/black/issues/3489))
- Fix bug in line length calculations for power operations ([#​3942](https://github.com/psf/black/issues/3942))
- Add trailing commas to collection literals even if there's a comment after the last
entry ([#​3393](https://github.com/psf/black/issues/3393))
- When using `--skip-magic-trailing-comma` or `-C`, trailing commas are stripped from
subscript expressions with more than 1 element ([#​3209](https://github.com/psf/black/issues/3209))
- Add extra blank lines in stubs in a few cases ([#​3564](https://github.com/psf/black/issues/3564), [#​3862](https://github.com/psf/black/issues/3862))
- Accept raw strings as docstrings ([#​3947](https://github.com/psf/black/issues/3947))
- Split long lines in case blocks ([#​4024](https://github.com/psf/black/issues/4024))
- Stop removing spaces from walrus operators within subscripts ([#​3823](https://github.com/psf/black/issues/3823))
- Fix incorrect formatting of certain async statements ([#​3609](https://github.com/psf/black/issues/3609))
- Allow combining `# fmt: skip` with other comments ([#​3959](https://github.com/psf/black/issues/3959))
There are already a few improvements in the `--preview` style, which are slated for the
2025 stable style. Try them out and
[share your feedback](https://github.com/psf/black/issues). In the past, the preview
style has included some features that we were not able to stabilize. This year, we're
adding a separate `--unstable` style for features with known problems. Now, the
`--preview` style only includes features that we actually expect to make it into next
year's stable style.
##### Stable style
Several bug fixes were made in features that are moved to the stable style in this
release:
- Fix comment handling when parenthesising conditional expressions ([#​4134](https://github.com/psf/black/issues/4134))
- Fix bug where spaces were not added around parenthesized walruses in subscripts,
unlike other binary operators ([#​4109](https://github.com/psf/black/issues/4109))
- Remove empty lines before docstrings in async functions ([#​4132](https://github.com/psf/black/issues/4132))
- Address a missing case in the change to allow empty lines at the beginning of all
blocks, except immediately before a docstring ([#​4130](https://github.com/psf/black/issues/4130))
- For stubs, fix logic to enforce empty line after nested classes with bodies ([#​4141](https://github.com/psf/black/issues/4141))
##### Preview style
- Add `--unstable` style, covering preview features that have known problems that would
block them from going into the stable style. Also add the `--enable-unstable-feature`
flag; for example, use
`--enable-unstable-feature hug_parens_with_braces_and_square_brackets` to apply this
preview feature throughout 2024, even if a later Black release downgrades the feature
to unstable ([#​4096](https://github.com/psf/black/issues/4096))
- Format module docstrings the same as class and function docstrings ([#​4095](https://github.com/psf/black/issues/4095))
- Fix crash when using a walrus in a dictionary ([#​4155](https://github.com/psf/black/issues/4155))
- Fix unnecessary parentheses when wrapping long dicts ([#​4135](https://github.com/psf/black/issues/4135))
- Stop normalizing spaces before `# fmt: skip` comments ([#​4146](https://github.com/psf/black/issues/4146))
##### Configuration
- Print warning when configuration in `pyproject.toml` contains an invalid key ([#​4165](https://github.com/psf/black/issues/4165))
- Fix symlink handling, properly ignoring symlinks that point outside of root ([#​4161](https://github.com/psf/black/issues/4161))
- Fix cache mtime logic that resulted in false positive cache hits ([#​4128](https://github.com/psf/black/issues/4128))
- Remove the long-deprecated `--experimental-string-processing` flag. This feature can
currently be enabled with `--preview --enable-unstable-feature string_processing`.
([#​4096](https://github.com/psf/black/issues/4096))
##### Integrations
- Revert the change to run Black's pre-commit integration only on specific git hooks
([#​3940](https://github.com/psf/black/issues/3940)) for better compatibility with older versions of pre-commit ([#​4137](https://github.com/psf/black/issues/4137))
### [`v23.12.1`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23121)
[Compare Source](https://github.com/psf/black/compare/23.12.0...23.12.1)
##### Packaging
- Fixed a bug that included dependencies from the `d` extra by default ([#​4108](https://github.com/psf/black/issues/4108))
### [`v23.12.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23120)
[Compare Source](https://github.com/psf/black/compare/23.11.0...23.12.0)
##### Highlights
It's almost 2024, which means it's time for a new edition of *Black*'s stable style!
Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft
2024 stable style, which we'll finalize in the January release. Please try it out and
[share your feedback](https://github.com/psf/black/issues/4042).
This release (23.12.0) will still produce the 2023 style. Most but not all of the
changes in `--preview` mode will be in the 2024 stable style.
##### Stable style
- Fix bug where `# fmt: off` automatically dedents when used with the `--line-ranges`
option, even when it is not within the specified line range. ([#​4084](https://github.com/psf/black/issues/4084))
- Fix feature detection for parenthesized context managers ([#​4104](https://github.com/psf/black/issues/4104))
##### Preview style
- Prefer more equal signs before a break when splitting chained assignments ([#​4010](https://github.com/psf/black/issues/4010))
- Standalone form feed characters at the module level are no longer removed ([#​4021](https://github.com/psf/black/issues/4021))
- Additional cases of immediately nested tuples, lists, and dictionaries are now
indented less ([#​4012](https://github.com/psf/black/issues/4012))
- Allow empty lines at the beginning of all blocks, except immediately before a
docstring ([#​4060](https://github.com/psf/black/issues/4060))
- Fix crash in preview mode when using a short `--line-length` ([#​4086](https://github.com/psf/black/issues/4086))
- Keep suites consisting of only an ellipsis on their own lines if they are not
functions or class definitions ([#​4066](https://github.com/psf/black/issues/4066)) ([#​4103](https://github.com/psf/black/issues/4103))
##### Configuration
- `--line-ranges` now skips *Black*'s internal stability check in `--safe` mode. This
avoids a crash on rare inputs that have many unformatted same-content lines. ([#​4034](https://github.com/psf/black/issues/4034))
##### Packaging
- Upgrade to mypy 1.7.1 ([#​4049](https://github.com/psf/black/issues/4049)) ([#​4069](https://github.com/psf/black/issues/4069))
- Faster compiled wheels are now available for CPython 3.12 ([#​4070](https://github.com/psf/black/issues/4070))
##### Integrations
- Enable 3.12 CI ([#​4035](https://github.com/psf/black/issues/4035))
- Build docker images in parallel ([#​4054](https://github.com/psf/black/issues/4054))
- Build docker images with 3.12 ([#​4055](https://github.com/psf/black/issues/4055))
### [`v23.11.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23110)
[Compare Source](https://github.com/psf/black/compare/23.10.1...23.11.0)
##### Highlights
- Support formatting ranges of lines with the new `--line-ranges` command-line option
([#​4020](https://github.com/psf/black/issues/4020))
##### Stable style
- Fix crash on formatting bytes strings that look like docstrings ([#​4003](https://github.com/psf/black/issues/4003))
- Fix crash when whitespace followed a backslash before newline in a docstring ([#​4008](https://github.com/psf/black/issues/4008))
- Fix standalone comments inside complex blocks crashing Black ([#​4016](https://github.com/psf/black/issues/4016))
- Fix crash on formatting code like `await (a ** b)` ([#​3994](https://github.com/psf/black/issues/3994))
- No longer treat leading f-strings as docstrings. This matches Python's behaviour and
fixes a crash ([#​4019](https://github.com/psf/black/issues/4019))
##### Preview style
- Multiline dicts and lists that are the sole argument to a function are now indented
less ([#​3964](https://github.com/psf/black/issues/3964))
- Multiline unpacked dicts and lists as the sole argument to a function are now also
indented less ([#​3992](https://github.com/psf/black/issues/3992))
- In f-string debug expressions, quote types that are visible in the final string are
now preserved ([#​4005](https://github.com/psf/black/issues/4005))
- Fix a bug where long `case` blocks were not split into multiple lines. Also enable
general trailing comma rules on `case` blocks ([#​4024](https://github.com/psf/black/issues/4024))
- Keep requiring two empty lines between module-level docstring and first function or
class definition ([#​4028](https://github.com/psf/black/issues/4028))
- Add support for single-line format skip with other comments on the same line ([#​3959](https://github.com/psf/black/issues/3959))
##### Configuration
- Consistently apply force exclusion logic before resolving symlinks ([#​4015](https://github.com/psf/black/issues/4015))
- Fix a bug in the matching of absolute path names in `--include` ([#​3976](https://github.com/psf/black/issues/3976))
##### Performance
- Fix mypyc builds on arm64 on macOS ([#​4017](https://github.com/psf/black/issues/4017))
##### Integrations
- Black's pre-commit integration will now run only on git hooks appropriate for a code
formatter ([#​3940](https://github.com/psf/black/issues/3940))
### [`v23.10.1`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23101)
[Compare Source](https://github.com/psf/black/compare/23.10.0...23.10.1)
##### Highlights
- Maintenance release to get a fix out for GitHub Action edge case ([#​3957](https://github.com/psf/black/issues/3957))
##### Preview style
- Fix merging implicit multiline strings that have inline comments ([#​3956](https://github.com/psf/black/issues/3956))
- Allow empty first line after block open before a comment or compound statement ([#​3967](https://github.com/psf/black/issues/3967))
##### Packaging
- Change Dockerfile to hatch + compile black ([#​3965](https://github.com/psf/black/issues/3965))
##### Integrations
- The summary output for GitHub workflows is now suppressible using the `summary`
parameter. ([#​3958](https://github.com/psf/black/issues/3958))
- Fix the action failing when Black check doesn't pass ([#​3957](https://github.com/psf/black/issues/3957))
##### Documentation
- It is known Windows documentation CI is broken
https://github.com/psf/black/issues/3968
### [`v23.10.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23100)
[Compare Source](https://github.com/psf/black/compare/23.9.1...23.10.0)
##### Stable style
- Fix comments getting removed from inside parenthesized strings ([#​3909](https://github.com/psf/black/issues/3909))
##### Preview style
- Fix long lines with power operators getting split before the line length ([#​3942](https://github.com/psf/black/issues/3942))
- Long type hints are now wrapped in parentheses and properly indented when split across
multiple lines ([#​3899](https://github.com/psf/black/issues/3899))
- Magic trailing commas are now respected in return types. ([#​3916](https://github.com/psf/black/issues/3916))
- Require one empty line after module-level docstrings. ([#​3932](https://github.com/psf/black/issues/3932))
- Treat raw triple-quoted strings as docstrings ([#​3947](https://github.com/psf/black/issues/3947))
##### Configuration
- Fix cache versioning logic when `BLACK_CACHE_DIR` is set ([#​3937](https://github.com/psf/black/issues/3937))
##### Parser
- Fix bug where attributes named `type` were not accepted inside `match` statements
([#​3950](https://github.com/psf/black/issues/3950))
- Add support for PEP 695 type aliases containing lambdas and other unusual expressions
([#​3949](https://github.com/psf/black/issues/3949))
##### Output
- Black no longer attempts to provide special errors for attempting to format Python 2
code ([#​3933](https://github.com/psf/black/issues/3933))
- Black will more consistently print stacktraces on internal errors in verbose mode
([#​3938](https://github.com/psf/black/issues/3938))
##### Integrations
- The action output displayed in the job summary is now wrapped in Markdown ([#​3914](https://github.com/psf/black/issues/3914))
### [`v23.9.1`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2391)
[Compare Source](https://github.com/psf/black/compare/23.9.0...23.9.1)
Due to various issues, the previous release (23.9.0) did not include compiled mypyc
wheels, which make Black significantly faster. These issues have now been fixed, and
this release should come with compiled wheels once again.
There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12
wheels in a future release as soon as the mypyc bug is fixed.
##### Packaging
- Upgrade to mypy 1.5.1 ([#​3864](https://github.com/psf/black/issues/3864))
##### Performance
- Store raw tuples instead of NamedTuples in Black's cache, improving performance and
decreasing the size of the cache ([#​3877](https://github.com/psf/black/issues/3877))
### [`v23.9.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2390)
[Compare Source](https://github.com/psf/black/compare/23.7.0...23.9.0)
##### Preview style
- More concise formatting for dummy implementations ([#​3796](https://github.com/psf/black/issues/3796))
- In stub files, add a blank line between a statement with a body (e.g an
`if sys.version_info > (3, x):`) and a function definition on the same level ([#​3862](https://github.com/psf/black/issues/3862))
- Fix a bug whereby spaces were removed from walrus operators within subscript([#​3823](https://github.com/psf/black/issues/3823))
##### Configuration
- Black now applies exclusion and ignore logic before resolving symlinks ([#​3846](https://github.com/psf/black/issues/3846))
##### Performance
- Avoid importing `IPython` if notebook cells do not contain magics ([#​3782](https://github.com/psf/black/issues/3782))
- Improve caching by comparing file hashes as fallback for mtime and size ([#​3821](https://github.com/psf/black/issues/3821))
##### *Blackd*
- Fix an issue in `blackd` with single character input ([#​3558](https://github.com/psf/black/issues/3558))
##### Integrations
- Black now has an
[official pre-commit mirror](https://github.com/psf/black-pre-commit-mirror). Swapping
`https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in
your `.pre-commit-config.yaml` will make Black about 2x faster ([#​3828](https://github.com/psf/black/issues/3828))
- The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion
of the GitHub Action ([#​3759](https://github.com/psf/black/issues/3759))
### [`v23.7.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2370)
[Compare Source](https://github.com/psf/black/compare/23.3.0...23.7.0)
##### Highlights
- Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be
supported until further notice ([#​3765](https://github.com/psf/black/issues/3765))
##### Stable style
- Fix a bug where an illegal trailing comma was added to return type annotations using
PEP 604 unions ([#​3735](https://github.com/psf/black/issues/3735))
- Fix several bugs and crashes where comments in stub files were removed or mishandled
under some circumstances ([#​3745](https://github.com/psf/black/issues/3745))
- Fix a crash with multi-line magic comments like `type: ignore` within parentheses
([#​3740](https://github.com/psf/black/issues/3740))
- Fix error in AST validation when *Black* removes trailing whitespace in a type comment
([#​3773](https://github.com/psf/black/issues/3773))
##### Preview style
- Implicitly concatenated strings used as function args are no longer wrapped inside
parentheses ([#​3640](https://github.com/psf/black/issues/3640))
- Remove blank lines between a class definition and its docstring ([#​3692](https://github.com/psf/black/issues/3692))
##### Configuration
- The `--workers` argument to *Black* can now be specified via the `BLACK_NUM_WORKERS`
environment variable ([#​3743](https://github.com/psf/black/issues/3743))
- `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default ([#​3691](https://github.com/psf/black/issues/3691))
- Fix *Black* not honouring `pyproject.toml` settings when running `--stdin-filename`
and the `pyproject.toml` found isn't in the current working directory ([#​3719](https://github.com/psf/black/issues/3719))
- *Black* will now error if `exclude` and `extend-exclude` have invalid data types in
`pyproject.toml`, instead of silently doing the wrong thing ([#​3764](https://github.com/psf/black/issues/3764))
##### Packaging
- Upgrade mypyc from 0.991 to 1.3 ([#​3697](https://github.com/psf/black/issues/3697))
- Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` ([#​3768](https://github.com/psf/black/issues/3768))
##### Parser
- Add support for the new PEP 695 syntax in Python 3.12 ([#​3703](https://github.com/psf/black/issues/3703))
##### Performance
- Speed up *Black* significantly when the cache is full ([#​3751](https://github.com/psf/black/issues/3751))
- Avoid importing `IPython` in a case where we wouldn't need it ([#​3748](https://github.com/psf/black/issues/3748))
##### Output
- Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 ([#​3728](https://github.com/psf/black/issues/3728))
- Change verbose logging to exactly mirror *Black*'s logic for source discovery ([#​3749](https://github.com/psf/black/issues/3749))
##### *Blackd*
- The `blackd` argument parser now shows the default values for options in their help
text ([#​3712](https://github.com/psf/black/issues/3712))
##### Integrations
- Black is now tested with
[`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning)
([#​3763](https://github.com/psf/black/issues/3763))
- Update GitHub Action to display black output in the job summary ([#​3688](https://github.com/psf/black/issues/3688))
##### Documentation
- Add a CITATION.cff file to the root of the repository, containing metadata on how to
cite this software ([#​3723](https://github.com/psf/black/issues/3723))
- Update the *classes* and *exceptions* documentation in Developer reference to match
the latest code base ([#​3755](https://github.com/psf/black/issues/3755))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2701feat: add tauri2024-02-21T15:23:08ZKasper Sewerynwvffle@funkwhale.audiofeat: add tauriCloses #2164, #2276
Prerequisites: https://beta.tauri.app/guides/prerequisites/Closes #2164, #2276
Prerequisites: https://beta.tauri.app/guides/prerequisites/1.5.0Kasper Sewerynwvffle@funkwhale.audioMargeKasper Sewerynwvffle@funkwhale.audiohttps://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2699Fix Apache configuration2024-01-11T10:00:21ZBaudouin FeildelFix Apache configurationBuilt assets are fetched using path like this: `/assets/foo-a1b2c3.js`. Apache failed to serve those, as it was missing disabling the proxy pass for the static assets folder. This commit adds the necessary configuration for properly serv...Built assets are fetched using path like this: `/assets/foo-a1b2c3.js`. Apache failed to serve those, as it was missing disabling the proxy pass for the static assets folder. This commit adds the necessary configuration for properly serving the static assets.
Maybe other stuff could be cleaned-up, and in general the sample configuration seems over-complicated, but I don't know about the various paths that funkwhale is using, so I can't improve easily.
Possibly related issues:
- #2158
- #21681.4.1MargeMarge