funkwhale.audio merge requestshttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests2024-03-27T15:02:31Zhttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/118chore(deps): update dependency requests-mock to v1.12.02024-03-27T15:02:31ZRenovateBotchore(deps): update dependency requests-mock to v1.12.0This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [requests-mock](https://requests-mock.readthedocs.io/) ([source](https://github.com/jamielennox/requests-mock)) | dev | minor | `1.11.0` ->...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [requests-mock](https://requests-mock.readthedocs.io/) ([source](https://github.com/jamielennox/requests-mock)) | dev | minor | `1.11.0` -> `1.12.0` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>jamielennox/requests-mock (requests-mock)</summary>
### [`v1.12.0`](https://github.com/jamielennox/requests-mock/releases/tag/1.12.0)
[Compare Source](https://github.com/jamielennox/requests-mock/compare/1.11.0...1.12.0)
#### What's Changed
- Update copyright year by [@​KrishanBhasin](https://github.com/KrishanBhasin) in https://github.com/jamielennox/requests-mock/pull/239
- Remove py2 by [@​jamielennox](https://github.com/jamielennox) in https://github.com/jamielennox/requests-mock/pull/248
- Allow `raw` parameter to accept callable like body elements by [@​jamielennox](https://github.com/jamielennox) in https://github.com/jamielennox/requests-mock/pull/249
- Improve type definition of `Mocker.__call__` by [@​Viicos](https://github.com/Viicos) in https://github.com/jamielennox/requests-mock/pull/244
- Drop PBR Support by [@​jamielennox](https://github.com/jamielennox) in https://github.com/jamielennox/requests-mock/pull/250
- fix(mocker.pyi): fix Mocker class type hints by [@​pavellos21](https://github.com/pavellos21) in https://github.com/jamielennox/requests-mock/pull/251
- Remove unused `six` dependency by [@​Viicos](https://github.com/Viicos) in https://github.com/jamielennox/requests-mock/pull/252
#### New Contributors
- [@​KrishanBhasin](https://github.com/KrishanBhasin) made their first contribution in https://github.com/jamielennox/requests-mock/pull/239
- [@​Viicos](https://github.com/Viicos) made their first contribution in https://github.com/jamielennox/requests-mock/pull/244
- [@​pavellos21](https://github.com/pavellos21) made their first contribution in https://github.com/jamielennox/requests-mock/pull/251
**Full Changelog**: https://github.com/jamielennox/requests-mock/compare/1.11.0...1.12.0
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNzIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI3Mi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->https://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/117chore(deps): update dependency pytest to v8.1.12024-03-09T12:02:34ZRenovateBotchore(deps): update dependency pytest to v8.1.1This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pytest](https://github.com/pytest-dev/pytest) ([changelog](https://docs.pytest.org/en/stable/changelog.html)) | dev | minor | `8.0.0` -> `...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pytest](https://github.com/pytest-dev/pytest) ([changelog](https://docs.pytest.org/en/stable/changelog.html)) | dev | minor | `8.0.0` -> `8.1.1` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>pytest-dev/pytest (pytest)</summary>
### [`v8.1.1`](https://github.com/pytest-dev/pytest/releases/tag/8.1.1)
[Compare Source](https://github.com/pytest-dev/pytest/compare/8.1.0...8.1.1)
# pytest 8.1.1 (2024-03-08)
::: {.note}
::: {.title}
Note
:::
This release is not a usual bug fix release -- it contains features and improvements, being a follow up
to `8.1.0`, which has been yanked from PyPI.
:::
## Features
- [#​11475](https://github.com/pytest-dev/pytest/issues/11475): Added the new `consider_namespace_packages`{.interpreted-text role="confval"} configuration option, defaulting to `False`.
If set to `True`, pytest will attempt to identify modules that are part of [namespace packages](https://packaging.python.org/en/latest/guides/packaging-namespace-packages) when importing modules.
- [#​11653](https://github.com/pytest-dev/pytest/issues/11653): Added the new `verbosity_test_cases`{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity.
See `Fine-grained verbosity <pytest.fine_grained_verbosity>`{.interpreted-text role="ref"} for more details.
## Improvements
- [#​10865](https://github.com/pytest-dev/pytest/issues/10865): `pytest.warns`{.interpreted-text role="func"} now validates that `warnings.warn`{.interpreted-text role="func"} was called with a \[str]{.title-ref} or a \[Warning]{.title-ref}.
Currently in Python it is possible to use other types, however this causes an exception when `warnings.filterwarnings`{.interpreted-text role="func"} is used to filter those warnings (see [CPython #​103577](https://github.com/python/cpython/issues/103577) for a discussion).
While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.
- [#​11311](https://github.com/pytest-dev/pytest/issues/11311): When using `--override-ini` for paths in invocations without a configuration file defined, the current working directory is used
as the relative directory.
Previoulsy this would raise an `AssertionError`{.interpreted-text role="class"}.
- [#​11475](https://github.com/pytest-dev/pytest/issues/11475): `--import-mode=importlib <import-mode-importlib>`{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py`sys.path`{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.
This means that installed packages will be imported under their canonical name if possible first, for example `app.core.models`, instead of having the module name always be derived from their path (for example `.env310.lib.site_packages.app.core.models`).
- [#​11801](https://github.com/pytest-dev/pytest/issues/11801): Added the `iter_parents() <_pytest.nodes.Node.iter_parents>`{.interpreted-text role="func"} helper method on nodes.
It is similar to `listchain <_pytest.nodes.Node.listchain>`{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.
- [#​11850](https://github.com/pytest-dev/pytest/issues/11850): Added support for `sys.last_exc`{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.
- [#​11962](https://github.com/pytest-dev/pytest/issues/11962): In case no other suitable candidates for configuration file are found, a `pyproject.toml` (even without a `[tool.pytest.ini_options]` table) will be considered as the configuration file and define the `rootdir`.
- [#​11978](https://github.com/pytest-dev/pytest/issues/11978): Add `--log-file-mode` option to the logging plugin, enabling appending to log-files. This option accepts either `"w"` or `"a"` and defaults to `"w"`.
Previously, the mode was hard-coded to be `"w"` which truncates the file before logging.
- [#​12047](https://github.com/pytest-dev/pytest/issues/12047): When multiple finalizers of a fixture raise an exception, now all exceptions are reported as an exception group.
Previously, only the first exception was reported.
## Bug Fixes
- [#​11475](https://github.com/pytest-dev/pytest/issues/11475): Fixed regression where `--importmode=importlib` would import non-test modules more than once.
- [#​11904](https://github.com/pytest-dev/pytest/issues/11904): Fixed a regression in pytest 8.0.0 that would cause test collection to fail due to permission errors when using `--pyargs`.
This change improves the collection tree for tests specified using `--pyargs`, see `12043`{.interpreted-text role="pull"} for a comparison with pytest 8.0 and <8.
- [#​12011](https://github.com/pytest-dev/pytest/issues/12011): Fixed a regression in 8.0.1 whereby `setup_module` xunit-style fixtures are not executed when `--doctest-modules` is passed.
- [#​12014](https://github.com/pytest-dev/pytest/issues/12014): Fix the `stacklevel` used when warning about marks used on fixtures.
- [#​12039](https://github.com/pytest-dev/pytest/issues/12039): Fixed a regression in `8.0.2` where tests created using `tmp_path`{.interpreted-text role="fixture"} have been collected multiple times in CI under Windows.
## Improved Documentation
- [#​11790](https://github.com/pytest-dev/pytest/issues/11790): Documented the retention of temporary directories created using the `tmp_path` fixture in more detail.
## Trivial/Internal Changes
- [#​11785](https://github.com/pytest-dev/pytest/issues/11785): Some changes were made to private functions which may affect plugins which access them:
- `FixtureManager._getautousenames()` now takes a `Node` itself instead of the nodeid.
- `FixtureManager.getfixturedefs()` now takes the `Node` itself instead of the nodeid.
- The `_pytest.nodes.iterparentnodeids()` function is removed without replacement.
Prefer to traverse the node hierarchy itself instead.
If you really need to, copy the function from the previous pytest release.
- [#​12069](https://github.com/pytest-dev/pytest/issues/12069): Delayed the deprecation of the following features to `9.0.0`:
- `node-ctor-fspath-deprecation`{.interpreted-text role="ref"}.
- `legacy-path-hooks-deprecated`{.interpreted-text role="ref"}.
It was discovered after `8.1.0` was released that the warnings about the impeding removal were not being displayed, so the team decided to revert the removal.
This is the reason for `8.1.0` being yanked.
# pytest 8.1.0 (YANKED)
::: {.note}
::: {.title}
Note
:::
This release has been **yanked**: it broke some plugins without the proper warning period, due to
some warnings not showing up as expected.
See [#​12069](https://github.com/pytest-dev/pytest/issues/12069).
:::
### [`v8.1.0`](https://github.com/pytest-dev/pytest/releases/tag/8.1.0)
[Compare Source](https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.0)
# pytest 8.1.0 (YANKED)
> \[!IMPORTANT]\
> This release has been **yanked**: it broke some plugins without the proper warning period, due to some warnings not showing up as expected. See [#​12069](https://github.com/pytest-dev/pytest/issues/12069).
## Features
- [#​11475](https://github.com/pytest-dev/pytest/issues/11475): Added the new `consider_namespace_packages`{.interpreted-text role="confval"} configuration option, defaulting to `False`.
If set to `True`, pytest will attempt to identify modules that are part of [namespace packages](https://packaging.python.org/en/latest/guides/packaging-namespace-packages) when importing modules.
- [#​11653](https://github.com/pytest-dev/pytest/issues/11653): Added the new `verbosity_test_cases`{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity.
See `Fine-grained verbosity <pytest.fine_grained_verbosity>`{.interpreted-text role="ref"} for more details.
## Improvements
- [#​10865](https://github.com/pytest-dev/pytest/issues/10865): `pytest.warns`{.interpreted-text role="func"} now validates that `warnings.warn`{.interpreted-text role="func"} was called with a \[str]{.title-ref} or a \[Warning]{.title-ref}.
Currently in Python it is possible to use other types, however this causes an exception when `warnings.filterwarnings`{.interpreted-text role="func"} is used to filter those warnings (see [CPython #​103577](https://github.com/python/cpython/issues/103577) for a discussion).
While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.
- [#​11311](https://github.com/pytest-dev/pytest/issues/11311): When using `--override-ini` for paths in invocations without a configuration file defined, the current working directory is used
as the relative directory.
Previoulsy this would raise an `AssertionError`{.interpreted-text role="class"}.
- [#​11475](https://github.com/pytest-dev/pytest/issues/11475): `--import-mode=importlib <import-mode-importlib>`{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py`sys.path`{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.
This means that installed packages will be imported under their canonical name if possible first, for example `app.core.models`, instead of having the module name always be derived from their path (for example `.env310.lib.site_packages.app.core.models`).
- [#​11801](https://github.com/pytest-dev/pytest/issues/11801): Added the `iter_parents() <_pytest.nodes.Node.iter_parents>`{.interpreted-text role="func"} helper method on nodes.
It is similar to `listchain <_pytest.nodes.Node.listchain>`{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.
- [#​11850](https://github.com/pytest-dev/pytest/issues/11850): Added support for `sys.last_exc`{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.
- [#​11962](https://github.com/pytest-dev/pytest/issues/11962): In case no other suitable candidates for configuration file are found, a `pyproject.toml` (even without a `[tool.pytest.ini_options]` table) will be considered as the configuration file and define the `rootdir`.
- [#​11978](https://github.com/pytest-dev/pytest/issues/11978): Add `--log-file-mode` option to the logging plugin, enabling appending to log-files. This option accepts either `"w"` or `"a"` and defaults to `"w"`.
Previously, the mode was hard-coded to be `"w"` which truncates the file before logging.
- [#​12047](https://github.com/pytest-dev/pytest/issues/12047): When multiple finalizers of a fixture raise an exception, now all exceptions are reported as an exception group.
Previously, only the first exception was reported.
## Bug Fixes
- [#​11904](https://github.com/pytest-dev/pytest/issues/11904): Fixed a regression in pytest 8.0.0 that would cause test collection to fail due to permission errors when using `--pyargs`.
This change improves the collection tree for tests specified using `--pyargs`, see `12043`{.interpreted-text role="pull"} for a comparison with pytest 8.0 and <8.
- [#​12011](https://github.com/pytest-dev/pytest/issues/12011): Fixed a regression in 8.0.1 whereby `setup_module` xunit-style fixtures are not executed when `--doctest-modules` is passed.
- [#​12014](https://github.com/pytest-dev/pytest/issues/12014): Fix the `stacklevel` used when warning about marks used on fixtures.
- [#​12039](https://github.com/pytest-dev/pytest/issues/12039): Fixed a regression in `8.0.2` where tests created using `tmp_path`{.interpreted-text role="fixture"} have been collected multiple times in CI under Windows.
## Improved Documentation
- [#​11790](https://github.com/pytest-dev/pytest/issues/11790): Documented the retention of temporary directories created using the `tmp_path` fixture in more detail.
## Trivial/Internal Changes
- [#​11785](https://github.com/pytest-dev/pytest/issues/11785): Some changes were made to private functions which may affect plugins which access them:
- `FixtureManager._getautousenames()` now takes a `Node` itself instead of the nodeid.
- `FixtureManager.getfixturedefs()` now takes the `Node` itself instead of the nodeid.
- The `_pytest.nodes.iterparentnodeids()` function is removed without replacement.
Prefer to traverse the node hierarchy itself instead.
If you really need to, copy the function from the previous pytest release.
### [`v8.0.2`](https://github.com/pytest-dev/pytest/releases/tag/8.0.2)
[Compare Source](https://github.com/pytest-dev/pytest/compare/8.0.1...8.0.2)
# pytest 8.0.2 (2024-02-24)
## Bug Fixes
- [#​11895](https://github.com/pytest-dev/pytest/issues/11895): Fix collection on Windows where initial paths contain the short version of a path (for example `c:\PROGRA~1\tests`).
- [#​11953](https://github.com/pytest-dev/pytest/issues/11953): Fix an `IndexError` crash raising from `getstatementrange_ast`.
- [#​12021](https://github.com/pytest-dev/pytest/issues/12021): Reverted a fix to \[--maxfail]{.title-ref} handling in pytest 8.0.0 because it caused a regression in pytest-xdist whereby session fixture teardowns may get executed multiple times when the max-fails is reached.
### [`v8.0.1`](https://github.com/pytest-dev/pytest/releases/tag/8.0.1)
[Compare Source](https://github.com/pytest-dev/pytest/compare/8.0.0...8.0.1)
# pytest 8.0.1 (2024-02-16)
## Bug Fixes
- [#​11875](https://github.com/pytest-dev/pytest/issues/11875): Correctly handle errors from `getpass.getuser`{.interpreted-text role="func"} in Python 3.13.
- [#​11879](https://github.com/pytest-dev/pytest/issues/11879): Fix an edge case where `ExceptionInfo._stringify_exception` could crash `pytest.raises`{.interpreted-text role="func"}.
- [#​11906](https://github.com/pytest-dev/pytest/issues/11906): Fix regression with `pytest.warns`{.interpreted-text role="func"} using custom warning subclasses which have more than one parameter in their \[\__init\_\_]{.title-ref}.
- [#​11907](https://github.com/pytest-dev/pytest/issues/11907): Fix a regression in pytest 8.0.0 whereby calling `pytest.skip`{.interpreted-text role="func"} and similar control-flow exceptions within a `pytest.warns()`{.interpreted-text role="func"} block would get suppressed instead of propagating.
- [#​11929](https://github.com/pytest-dev/pytest/issues/11929): Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module.
- [#​11937](https://github.com/pytest-dev/pytest/issues/11937): Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances.
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOTQuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->https://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/116chore(deps): update dependency black to v24.3.02024-03-15T21:01:53ZRenovateBotchore(deps): update dependency black to v24.3.0This 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 | minor | `24.1.0` -> `24.3.0`...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 | minor | `24.1.0` -> `24.3.0` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>psf/black (black)</summary>
### [`v24.3.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2430)
[Compare Source](https://github.com/psf/black/compare/24.2.0...24.3.0)
##### Highlights
This release is a milestone: it fixes Black's first CVE security vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
[CVE-2024-21503](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503).
This release also fixes a bug in Black's AST safety check that allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and higher.
##### Stable style
- Don't move comments along with delimiters, which could cause crashes ([#​4248](https://github.com/psf/black/issues/4248))
- Strengthen AST safety check to catch more unsafe changes to strings. Previous versions
of Black would incorrectly format the contents of certain unusual f-strings containing
nested strings with the same quote type. Now, Black will crash on such strings until
support for the new f-string syntax is implemented. ([#​4270](https://github.com/psf/black/issues/4270))
- Fix a bug where line-ranges exceeding the last code line would not work as expected
([#​4273](https://github.com/psf/black/issues/4273))
##### Performance
- Fix catastrophic performance on docstrings that contain large numbers of leading tab
characters. This fixes
[CVE-2024-21503](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503).
([#​4278](https://github.com/psf/black/issues/4278))
##### Documentation
- Note what happens when `--check` is used with `--quiet` ([#​4236](https://github.com/psf/black/issues/4236))
### [`v24.2.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2420)
[Compare Source](https://github.com/psf/black/compare/24.1.1...24.2.0)
##### Stable style
- Fixed a bug where comments where mistakenly removed along with redundant parentheses
([#​4218](https://github.com/psf/black/issues/4218))
##### Preview style
- Move the `hug_parens_with_braces_and_square_brackets` feature to the unstable style
due to an outstanding crash and proposed formatting tweaks ([#​4198](https://github.com/psf/black/issues/4198))
- Fixed a bug where base expressions caused inconsistent formatting of \*\* in tenary
expression ([#​4154](https://github.com/psf/black/issues/4154))
- Checking for newline before adding one on docstring that is almost at the line limit
([#​4185](https://github.com/psf/black/issues/4185))
- Remove redundant parentheses in `case` statement `if` guards ([#​4214](https://github.com/psf/black/issues/4214)).
##### Configuration
- Fix issue where *Black* would ignore input files in the presence of symlinks ([#​4222](https://github.com/psf/black/issues/4222))
- *Black* now ignores `pyproject.toml` that is missing a `tool.black` section when
discovering project root and configuration. Since *Black* continues to use version
control as an indicator of project root, this is expected to primarily change behavior
for users in a monorepo setup (desirably). If you wish to preserve previous behavior,
simply add an empty `[tool.black]` to the previously discovered `pyproject.toml`
([#​4204](https://github.com/psf/black/issues/4204))
##### Output
- Black will swallow any `SyntaxWarning`s or `DeprecationWarning`s produced by the `ast`
module when performing equivalence checks ([#​4189](https://github.com/psf/black/issues/4189))
##### Integrations
- Add a JSONSchema and provide a validate-pyproject entry-point ([#​4181](https://github.com/psf/black/issues/4181))
### [`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))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzUuMyIsInVwZGF0ZWRJblZlciI6IjM3LjI0OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->https://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/115chore(deps): update dependency pytest to v82024-02-08T11:55:16ZRenovateBotchore(deps): update dependency pytest to v8This 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 | major | `^7.2.2` -> `^8.0.0` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>pytest-dev/pytest (pytest)</summary>
### [`v8.0.0`](https://github.com/pytest-dev/pytest/releases/tag/8.0.0): pytest 8.0.0 (2024-01-27)
[Compare Source](https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.0)
See [8.0.0rc1](https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc1) and [8.0.0rc2](https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc2) for the full changes since pytest 7.4!
#### Bug Fixes
- [#​11842](https://github.com/pytest-dev/pytest/issues/11842): Properly escape the `reason` of a `skip <pytest.mark.skip ref>`{.interpreted-text role="ref"} mark when writing JUnit XML files.
- [#​11861](https://github.com/pytest-dev/pytest/issues/11861): Avoid microsecond exceeds `1_000_000` when using `log-date-format` with `%f` specifier, which might cause the test suite to crash.
### [`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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->RenovateBotMargeRenovateBothttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/114chore(deps): update dependency black to v242024-02-08T09:56:53ZRenovateBotchore(deps): update dependency black to v24This 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.0.0` -> `^24.0....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.0.0` -> `^24.0.0` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### 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))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/113chore(deps): update pelican-sitemap digest to 8b3d9e92024-02-08T12:04:59ZRenovateBotchore(deps): update pelican-sitemap digest to 8b3d9e9This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| pelican-sitemap | dependencies | digest | `0d25a33` -> `8b3d9e9` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Che...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| pelican-sitemap | dependencies | digest | `0d25a33` -> `8b3d9e9` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3NS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->https://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/112chore(deps): update dependency pytest to v7.4.4 - autoclosed2024-02-08T12:06:14ZRenovateBotchore(deps): update dependency pytest to v7.4.4 - autoclosedThis 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` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMTUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjExNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->https://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/111chore(deps): update dependency black to v23.12.1 - autoclosed2024-02-08T10:05:21ZRenovateBotchore(deps): update dependency black to v23.12.1 - autoclosedThis 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 | patch | `23.12.0` -> `23.12....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 | patch | `23.12.0` -> `23.12.1` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>psf/black (black)</summary>
### [`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))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->https://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/110chore(deps): update dependency djlint to v1.34.12024-02-08T12:06:13ZRenovateBotchore(deps): update dependency djlint to v1.34.1This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [djlint](https://github.com/Riverside-Healthcare/djlint) | dev | patch | `1.34.0` -> `1.34.1` |
---
> β **Warning**
>
> Some dependencie...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [djlint](https://github.com/Riverside-Healthcare/djlint) | dev | patch | `1.34.0` -> `1.34.1` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>Riverside-Healthcare/djlint (djlint)</summary>
### [`v1.34.1`](https://github.com/djlint/djLint/releases/tag/v1.34.1)
[Compare Source](https://github.com/Riverside-Healthcare/djlint/compare/v1.34.0...v1.34.1)
##### Bug Fixes
- **formatter:** Avoid rewriting the file if it has not been changed ([6965ba5](https://github.com/Riverside-Healthcare/djLint/commit/6965ba57f8849e2a4f09d83ab01bdddb84c5ed2f))
- **linter:** fix missed H025 for double closing ([cf52faf](https://github.com/Riverside-Healthcare/djLint/commit/cf52faf1887e54d55ae02dff6d937c9205f5e533)), closes [#​786](https://github.com/Riverside-Healthcare/djLint/issues/786)
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEwNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->https://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/109feat: Replace abandoned langcodes with iso639-lang2024-03-11T04:05:19ZGeorg Krausefeat: Replace abandoned langcodes with iso639-langGeorg KrauseGeorg Krausehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/108chore(deps): update dependency babel to v2.14.02023-12-14T11:58:03ZRenovateBotchore(deps): update dependency babel to v2.14.0This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [Babel](https://babel.pocoo.org/) ([source](https://github.com/python-babel/babel)) | dependencies | minor | `2.13.1` -> `2.14.0` |
---
>...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [Babel](https://babel.pocoo.org/) ([source](https://github.com/python-babel/babel)) | dependencies | minor | `2.13.1` -> `2.14.0` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>python-babel/babel (Babel)</summary>
### [`v2.14.0`](https://github.com/python-babel/babel/blob/HEAD/CHANGES.rst#Version-2140)
[Compare Source](https://github.com/python-babel/babel/compare/v2.13.1...v2.14.0)
Upcoming deprecation
```
* This version, Babel 2.14, is the last version of Babel to support Python 3.7.
Babel 2.15 will require Python 3.8 or newer.
* We had previously announced Babel 2.13 to have been the last version to support
Python 3.7, but being able to use CLDR 43 with Python 3.7 was deemed important
enough to keep supporting the EOL Python version for one more release.
Possibly backwards incompatible changes
```
- `Locale.number_symbols` will now have first-level keys for each numbering system.
Since the implicit default numbering system still is `"latn"`, what had previously
been e.g. `Locale.number_symbols['decimal']` is now `Locale.number_symbols['latn']['decimal']`.
- Babel no longer directly depends on either `distutils` or `setuptools`; if you had been
using the Babel setuptools command extensions, you would need to explicitly depend on `setuptools` β
though given you're running `setup.py` you probably already do.
Features
```
* CLDR/Numbers: Add support of local numbering systems for number symbols by @​kajte in :gh:`1036`
* CLDR: Upgrade to CLDR 43 by @​rix0rrr in :gh:`1043`
* Frontend: Allow last_translator to be passed as an option to extract_message by @​AivGitHub in :gh:`1044`
* Frontend: Decouple `pybabel` CLI frontend from distutils/setuptools by @​akx in :gh:`1041`
* Numbers: Improve parsing of malformed decimals by @​Olunusib and @​akx in :gh:`1042`
Infrastructure
```
- Enforce trailing commas (enable Ruff COM rule and autofix) by [@​akx](https://github.com/akx) in :gh:`1045`
- CI: use GitHub output formats by [@​akx](https://github.com/akx) in :gh:`1046`
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy45MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuOTEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/107chore(deps): update dependency black to v23.12.02023-12-14T11:54:31ZRenovateBotchore(deps): update dependency black to v23.12.0This 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 | minor | `23.11.0` -> `23.12....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 | minor | `23.11.0` -> `23.12.0` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>psf/black (black)</summary>
### [`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))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy45MS4wIiwidXBkYXRlZEluVmVyIjoiMzcuOTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/106chore(deps): update dependency feedparser to v6.0.112023-12-14T11:51:55ZRenovateBotchore(deps): update dependency feedparser to v6.0.11This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [feedparser](https://github.com/kurtmckee/feedparser) | dependencies | patch | `6.0.10` -> `6.0.11` |
---
> β **Warning**
>
> Some depen...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [feedparser](https://github.com/kurtmckee/feedparser) | dependencies | patch | `6.0.10` -> `6.0.11` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy44OS42IiwidXBkYXRlZEluVmVyIjoiMzcuODkuNiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/105Generate NS file as static content2023-11-18T13:18:19ZCiarΓ‘n Ainsworthsporiff@funkwhale.audioGenerate NS file as static contentCurrently, the `ns` file in the repo is not being generated as part of the final site. If you go to https://funkwhale.audio/ns you don't download the file but rather hit a 404.
To resolve this, this change:
- [x] Moves the `ns` file to...Currently, the `ns` file in the repo is not being generated as part of the final site. If you go to https://funkwhale.audio/ns you don't download the file but rather hit a 404.
To resolve this, this change:
- [x] Moves the `ns` file to a `static` folder inside the site's content so that it gets generated at an absolute path (`/ns`) whenever the site is built.
- [x] Updates the test file to point to the new location.CiarΓ‘n Ainsworthsporiff@funkwhale.audioMargeCiarΓ‘n Ainsworthsporiff@funkwhale.audiohttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/104chore(deps): update dependency pelican to v4.9.12023-11-18T13:35:31ZRenovateBotchore(deps): update dependency pelican to v4.9.1This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pelican](https://github.com/getpelican/pelican) | dependencies | minor | `4.8.0` -> `4.9.1` |
---
> β **Warning**
>
> Some dependencies...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pelican](https://github.com/getpelican/pelican) | dependencies | minor | `4.8.0` -> `4.9.1` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>getpelican/pelican (pelican)</summary>
### [`v4.9.1`](https://github.com/getpelican/pelican/releases/tag/4.9.1): Pelican 4.9.1
[Compare Source](https://github.com/getpelican/pelican/compare/4.9.0...4.9.1)
- Ensure `tzdata` dependency is installed on Windows
### [`v4.9.0`](https://github.com/getpelican/pelican/releases/tag/4.9.0): Pelican 4.9.0
[Compare Source](https://github.com/getpelican/pelican/compare/4.8.0...4.9.0)
- Upgrade code to new minimum supported Python version: 3.8
- Settings support for `pathlib.Path` `(#​2758) <https://github.com/getpelican/pelican/pull/2758>`\_
- Various improvements to Simple theme (`#​2976 <https://github.com/getpelican/pelican/pull/2976>`\_ & `#​3234 <https://github.com/getpelican/pelican/pull/3234>`\_)
- Use Furo as Sphinx documentation theme `(#​3023) <https://github.com/getpelican/pelican/pull/3023>`\_
- Default to 100 articles maximum in feeds `(#​3127) <https://github.com/getpelican/pelican/pull/3127>`\_
- Add `period_archives common context` variable `(#​3148) <https://github.com/getpelican/pelican/pull/3148>`\_
- Use `watchfiles` as the file-watching backend `(#​3151) <https://github.com/getpelican/pelican/pull/3151>`\_
- Add GitHub Actions workflow for GitHub Pages `(#​3189) <https://github.com/getpelican/pelican/pull/3189>`\_
- Allow dataclasses in settings `(#​3204) <https://github.com/getpelican/pelican/pull/3204>`\_
- Switch build tool to PDM instead of Setuptools/Poetry `(#​3220) <https://github.com/getpelican/pelican/pull/3220>`\_
- Provide a `plugin_enabled` Jinja test for themes `(#​3235) <https://github.com/getpelican/pelican/pull/3235>`\_
- Preserve connection order in Blinker `(#​3238) <https://github.com/getpelican/pelican/pull/3238>`\_
- Remove social icons from default `notmyidea` theme `(#​3240) <https://github.com/getpelican/pelican/pull/3240>`\_
- Remove unreliable `WRITE_SELECTED` feature `(#​3243) <https://github.com/getpelican/pelican/pull/3243>`\_
- Importer: Report broken embedded video links when importing from Tumblr `(#​3177) <https://github.com/getpelican/pelican/issues/3177>`\_
- Importer: Remove newline addition when iterating Photo post types `(#​3178) <https://github.com/getpelican/pelican/issues/3178>`\_
- Importer: Force timestamp conversion in Tumblr importer to be UTC with offset `(#​3221) <https://github.com/getpelican/pelican/pull/3221>`\_
- Importer: Use tempfile for intermediate HTML file for Pandoc `(#​3221) <https://github.com/getpelican/pelican/pull/3221>`\_
- Switch linters to Ruff `(#​3223) <https://github.com/getpelican/pelican/pull/3223>`\_
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy41Ni4zIiwidXBkYXRlZEluVmVyIjoiMzcuNTkuNyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/103chore(deps): update dependency black to v23.11.02023-11-18T13:26:42ZRenovateBotchore(deps): update dependency black to v23.11.0This 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 | minor | `23.10.1` -> `23.11....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 | minor | `23.10.1` -> `23.11.0` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>psf/black (black)</summary>
### [`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))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy41MC4yIiwidXBkYXRlZEluVmVyIjoiMzcuNTAuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/102Fix user guide link from /help/2023-11-06T08:01:07ZSamFix user guide link from /help/As the title says.
By the way, it seems the moderator link is broken too, but for a completely different reason - it's infinitely [redirect-looping](https://docs.funkwhale.audio/moderator/index.html):
```
β funkwhale.audio git:(main) ...As the title says.
By the way, it seems the moderator link is broken too, but for a completely different reason - it's infinitely [redirect-looping](https://docs.funkwhale.audio/moderator/index.html):
```
β funkwhale.audio git:(main) curl https://docs.funkwhale.audio/moderator/index.html
<html>
<head>
<meta http-equiv="refresh" content="1; url= ../moderator/index.html" />
<script>
window.location.href = " ../moderator/index.html"
</script>
</head>
</html>
```Georg KrauseGeorg Krausehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/101chore(deps): update dependency pytest to v7.4.32023-11-06T08:12:11ZRenovateBotchore(deps): update dependency pytest to v7.4.3This 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.2` -> `7.4.3` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>pytest-dev/pytest (pytest)</summary>
### [`v7.4.3`](https://github.com/pytest-dev/pytest/releases/tag/v7.4.3): pytest 7.4.3 (2023-10-24)
[Compare Source](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3)
## Bug Fixes
- [#​10447](https://github.com/pytest-dev/pytest/issues/10447): Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression.
- [#​11239](https://github.com/pytest-dev/pytest/issues/11239): Fixed `:=` in asserts impacting unrelated test cases.
- [#​11439](https://github.com/pytest-dev/pytest/issues/11439): Handled an edge case where :data:`sys.stderr` might already be closed when :ref:`faulthandler` is tearing down.
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS43IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/100chore(deps): update dependency black to v23.10.12023-11-05T11:58:12ZRenovateBotchore(deps): update dependency black to v23.10.1This 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 | minor | `23.9.1` -> `23.10.1...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 | minor | `23.9.1` -> `23.10.1` |
---
> β **Warning**
>
> Some dependencies could not be looked up. Check the warning logs for more information.
---
### Release Notes
<details>
<summary>psf/black (black)</summary>
### [`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
- Maintanence 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 acccepted 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))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzcuNDUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->MargeMargehttps://dev.funkwhale.audio/funkwhale/funkwhale.audio/-/merge_requests/99fix(a11y): Add aria labels to links to make clear where they are heading to2023-11-18T11:35:25ZGeorg Krausefix(a11y): Add aria labels to links to make clear where they are heading toGeorg KrauseGeorg Krause