Commit Graph
158 Commits
Author SHA1 Message Date
robigan 208936fefc Fix backend to recalculate start time on match update (#587) 2024-09-01 19:13:07 +02:00
dependabot[bot] 3d5e5114d2 Update bcrypt requirement from 4.1.3 to 4.2.0 in /backend (#841)
Updates the requirements on [bcrypt](https://github.com/pyca/bcrypt) to
permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pyca/bcrypt/blob/main/release.py">bcrypt's
changelog</a>.</em></p>
<blockquote>
<h1>Licensed under the Apache License, Version 2.0 (the
&quot;License&quot;);</h1>
<h1>you may not use this file except in compliance with the
License.</h1>
<h1>You may obtain a copy of the License at</h1>
<h1></h1>
<h1><a
href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></h1>
<h1></h1>
<h1>Unless required by applicable law or agreed to in writing,
software</h1>
<h1>distributed under the License is distributed on an &quot;AS IS&quot;
BASIS,</h1>
<h1>WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.</h1>
<h1>See the License for the specific language governing permissions
and</h1>
<h1>limitations under the License.</h1>
<p>import subprocess</p>
<p>import click</p>
<p>def run(*args, **kwargs):
print(f&quot;[running] {list(args)}&quot;)
subprocess.check_call(list(args), **kwargs)</p>
<p><a href="https://github.com/click"><code>@​click</code></a>.command()
<a
href="https://github.com/click"><code>@​click</code></a>.argument(&quot;version&quot;)
def release(version):
&quot;&quot;&quot;
<code>version</code> should be a string like '0.4' or '1.0'.
&quot;&quot;&quot;
run(&quot;git&quot;, &quot;tag&quot;, &quot;-s&quot;, version,
&quot;-m&quot;, f&quot;{version} release&quot;)
run(&quot;git&quot;, &quot;push&quot;, &quot;--tags&quot;, &quot;<a
href="mailto:git@github.com">git@github.com</a>:pyca/bcrypt.git&quot;)</p>
<p>if <strong>name</strong> == &quot;<strong>main</strong>&quot;:
release()</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pyca/bcrypt/commit/8d0511149a2859ca949a481ad3a63844cdf9e565"><code>8d05111</code></a>
Bump version for 4.2.0 release (<a
href="https://redirect.github.com/pyca/bcrypt/issues/843">#843</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/884baedb543649b43fc0df4b7428657c35d28bfc"><code>884baed</code></a>
Import improvements from cryptography wheel building and release (<a
href="https://redirect.github.com/pyca/bcrypt/issues/840">#840</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/dd72470a4244403b50197e7b69a120ef449a60be"><code>dd72470</code></a>
Remove setup.py (<a
href="https://redirect.github.com/pyca/bcrypt/issues/842">#842</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/11961aff4d5dc6c45826749a4140d5c317322579"><code>11961af</code></a>
Small cleanup (<a
href="https://redirect.github.com/pyca/bcrypt/issues/841">#841</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/65e08f784578b3aa33b279826d0664bdfe4deea6"><code>65e08f7</code></a>
Added 3.13 to CI (<a
href="https://redirect.github.com/pyca/bcrypt/issues/839">#839</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/7efb8fa6cb0e528e721c81c9902c186d71b4cd7b"><code>7efb8fa</code></a>
Bump portable-atomic from 1.6.0 to 1.7.0 in /src/_bcrypt (<a
href="https://redirect.github.com/pyca/bcrypt/issues/836">#836</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/b1ec0341f979af0b712b4d7ba3e55f45e3b84679"><code>b1ec034</code></a>
Bump syn from 2.0.71 to 2.0.72 in /src/_bcrypt (<a
href="https://redirect.github.com/pyca/bcrypt/issues/837">#837</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/2e9cdc2db1ee571b056b430b0207b8dffea89169"><code>2e9cdc2</code></a>
Bump pyo3 from 0.22.1 to 0.22.2 in /src/_bcrypt (<a
href="https://redirect.github.com/pyca/bcrypt/issues/834">#834</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/d0047229087b78b95881bcbe19a3015bd22fde30"><code>d004722</code></a>
Bump syn from 2.0.70 to 2.0.71 in /src/_bcrypt (<a
href="https://redirect.github.com/pyca/bcrypt/issues/833">#833</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/bb100162a5e3106bbae08b8d9d0a04e5e73f4045"><code>bb10016</code></a>
Bump actions/setup-python from 5.1.0 to 5.1.1 (<a
href="https://redirect.github.com/pyca/bcrypt/issues/832">#832</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyca/bcrypt/compare/4.1.3...4.2.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 09:14:15 +02:00
dependabot[bot] 82dd6bba41 Update pytest requirement from <=8.3.1 to <=8.3.2 in /backend (#842)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.3.2</h2>
<h1>pytest 8.3.2 (2024-07-24)</h1>
<h2>Bug fixes</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12652">#12652</a>:
Resolve regression [conda]{.title-ref} environments where no longer
being automatically detected.</p>
<p>-- by <code>RonnyPfannschmidt</code>{.interpreted-text
role=&quot;user&quot;}</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/bbcec9c46509c417ef58e4849847b4aa43f4591e"><code>bbcec9c</code></a>
Prepare release version 8.3.2</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/78fe8b61fa716cd9775f1e37b395bab7679734a6"><code>78fe8b6</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12657">#12657</a>
from pytest-dev/patchback/backports/8.3.x/6c806b499...</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/238bad2d2a1f1dbb47d740c84b5b4f5224f8a965"><code>238bad2</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12656">#12656</a>
from RonnyPfannschmidt/fix-12652-detect-conda-env</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/ae6034a781a50b572fa700911e5d8e0eb074ca17"><code>ae6034a</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12641">#12641</a>
from pytest-dev/patchback/backports/8.3.x/c03989cee...</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/31337aba02a7698a87a6792eacf887fceff08af2"><code>31337ab</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12640">#12640</a>
from pytest-dev/update-user</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/ca3070b1356e5edf43f085d8c4ec1b34627061dd"><code>ca3070b</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12637">#12637</a>
from pytest-dev/release-8.3.1</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/de98446075cc07c768387cf64ba497dd75c205de"><code>de98446</code></a>
Prepare release version 8.3.1</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/bd0a0424037825bc23b9bf299115e92c53a67a9c"><code>bd0a042</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12636">#12636</a>
from pytest-dev/update-release-notes</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/664325bc9fd90217f51fe7cc0e9fff2f29a41a15"><code>664325b</code></a>
doc/changelog: update 8.3.0 notes</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/19d225d0ab0f586a9a1fc878dff871495c12bd06"><code>19d225d</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12635">#12635</a>
from pytest-dev/release-8.3.0</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.3.2">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 09:12:17 +02:00
dependabot[bot] b569bceb64 Update pytest requirement from <=8.2.2 to <=8.3.1 in /backend (#826)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.3.1</h2>
<h1>pytest 8.3.1 (2024-07-20)</h1>
<p>The 8.3.0 release failed to include the change notes and docs for the
release. This patch release remedies this. There are no other
changes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/de98446075cc07c768387cf64ba497dd75c205de"><code>de98446</code></a>
Prepare release version 8.3.1</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/bd0a0424037825bc23b9bf299115e92c53a67a9c"><code>bd0a042</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12636">#12636</a>
from pytest-dev/update-release-notes</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/664325bc9fd90217f51fe7cc0e9fff2f29a41a15"><code>664325b</code></a>
doc/changelog: update 8.3.0 notes</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/19d225d0ab0f586a9a1fc878dff871495c12bd06"><code>19d225d</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12635">#12635</a>
from pytest-dev/release-8.3.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/bc3302850c52ec945eea1b2bbde7ec3b91fc3e44"><code>bc33028</code></a>
Prepare release version 8.3.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/a7d5a8eba9addd119432fa71880b51052a89812f"><code>a7d5a8e</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12557">#12557</a>
from x612skm/maintainence/11771-pypy-3.9-bump</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/ced7072bb4f7653ad2f1d0d33639d87e7bc5f358"><code>ced7072</code></a>
Add a change note for PR <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11771">#11771</a></li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d42b76daadb88d993ee74753766e22711a27395f"><code>d42b76d</code></a>
Adjust test_errors_in_xfail_skip_expressions for PyPy</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/9eee45a7479cf5fa23b79057708a994a3b8d0eee"><code>9eee45a</code></a>
Bump PyPy runtime to v3.9 @ GHA</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d489247505a953885a156e61d4473497cbc167ea"><code>d489247</code></a>
Fix caching of parameterized fixtures (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12600">#12600</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.3.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 08:31:33 +02:00
Erik Vroon 1d92a6fa14 Revert attempt to disable cors (#796)
This actually made the CORS handling more strict...
2024-06-29 14:48:39 +02:00
Erik Vroon 19bb866d01 Disable cors by default (#794)
It's too confusing for new users and we have a warning if you disable it
on production anyway.
2024-06-29 13:26:59 +02:00
dependabot[bot] dbf5286f24 Update pytest requirement from <=8.2.1 to <=8.2.2 in /backend (#759)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.2.2</h2>
<h1>pytest 8.2.2 (2024-06-04)</h1>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12355">#12355</a>:
Fix possible catastrophic performance slowdown on a certain
parametrization pattern involving many higher-scoped parameters.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12367">#12367</a>:
Fix a regression in pytest 8.2.0 where unittest class instances (a fresh
one is created for each test) were not released promptly on test
teardown but only on session teardown.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12381">#12381</a>:
Fix possible &quot;Directory not empty&quot; crashes arising from
concurent cache dir (<code>.pytest_cache</code>) creation. Regressed in
pytest 8.2.0.</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12290">#12290</a>:
Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode
theme.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12356">#12356</a>:
Added a subsection to the documentation for debugging flaky tests to
mention
lack of thread safety in pytest as a possible source of flakyness.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12363">#12363</a>:
The documentation webpages now links to a canonical version to reduce
outdated documentation in search engine results.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/329d3712146e69c471be3e30883d54bdde2f76cb"><code>329d371</code></a>
Prepare release version 8.2.2</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/214d098fcce88940f5ce9353786b3cc8f0bd3938"><code>214d098</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12414">#12414</a>
from bluetech/backport-12409</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/153a436bc40c9e89d90d62255ef5a89e9a762dca"><code>153a436</code></a>
[8.2.x] fixtures: fix catastrophic performance problem in
<code>reorder_items</code></li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/b41d5a52bbb808780ab310456d71e5ce509fd402"><code>b41d5a5</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12412">#12412</a>
from pytest-dev/backport-12408-to-8.2.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/9bb73d734ff40f52d7bbebd708b5e3ab1ba20798"><code>9bb73d7</code></a>
[8.2.x] cacheprovider: fix &quot;Directory not empty&quot; crash from
cache directory c...</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/4569a01e3d20d64811d48b0b09539596520ea5a6"><code>4569a01</code></a>
[8.2.x] doc: Update trainings/events (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12402">#12402</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/1d103e5cdc1cb08f332e61a5b20fb205fa5228e7"><code>1d103e5</code></a>
[8.2.x] Clarify pytest_ignore_collect docs (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12386">#12386</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/240a252d34fff26efad5b3a92e62be4c9af94b70"><code>240a252</code></a>
[8.2.x] Add html_baseurl to sphinx conf.py (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12372">#12372</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/a5ee3c41268199c2c0af59c33050326b1c4a342e"><code>a5ee3c4</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12370">#12370</a>
from pytest-dev/backport-12368-to-8.2.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/f7358aec2884720b4de4594ffd0811b46316514c"><code>f7358ae</code></a>
[8.2.x] unittest: fix class instances no longer released on test
teardown sin...</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.2.2">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-05 08:56:04 +02:00
IzStriker eb141b59b5 fix: stage selection (#744)
Fixes #728
2024-05-24 17:45:10 +02:00
dependabot[bot] bc8f804b0e Update pytest requirement from <=8.2.0 to <=8.2.1 in /backend (#732)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.2.1</h2>
<h1>pytest 8.2.1 (2024-05-19)</h1>
<h2>Improvements</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12334">#12334</a>:
Support for Python 3.13 (beta1 at the time of writing).</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12120">#12120</a>:
Fix [PermissionError]{.title-ref} crashes arising from directories which
are not selected on the command-line.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12191">#12191</a>:
Keyboard interrupts and system exits are now properly handled during the
test collection.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12300">#12300</a>:
Fixed handling of 'Function not implemented' error under squashfuse_ll,
which is a different way to say that the mountpoint is read-only.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12308">#12308</a>:
Fix a regression in pytest 8.2.0 where the permissions of
automatically-created <code>.pytest_cache</code> directories became
<code>rwx------</code> instead of the expected
<code>rwxr-xr-x</code>.</li>
</ul>
<h2>Trivial/Internal Changes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12333">#12333</a>:
pytest releases are now attested using the recent <a
href="https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/">Artifact
Attestation</a> support from GitHub, allowing users to verify the
provenance of pytest's sdist and wheel artifacts.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/66ff8dffdf9eee9b3dd6686de34542c49ff80dcd"><code>66ff8df</code></a>
Prepare release version 8.2.1</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/3ffcfd122cf4674ac45f6233d9b50be6c49abeea"><code>3ffcfd1</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12340">#12340</a>
from pytest-dev/backport-12334-to-8.2.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/0b28313b46a04de08bddc18896b3e61312a0c5b3"><code>0b28313</code></a>
[8.2.x] Add Python 3.13 (beta) support</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/f3dd93ad8d62eb0a260d3090f31be82aafbcff13"><code>f3dd93a</code></a>
[8.2.x] Attest package provenance (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12335">#12335</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/bb5a1257b0aafe5932377fa8e9fd92ab39418ac7"><code>bb5a125</code></a>
[8.2.x] Spelling (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12331">#12331</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/f179bf252fe2c1d0afce64b4b4bab4449e366e84"><code>f179bf2</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12327">#12327</a>
from pytest-dev/backport-12325-to-8.2.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/2b671b5f9208650e8e42e07782d95477cc41f42a"><code>2b671b5</code></a>
[8.2.x] cacheprovider: fix <code>.pytest_cache</code> not being
world-readable</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/65ab7cb96c95f83e922f21bb4a8a44eda2b79707"><code>65ab7cb</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12324">#12324</a>
from pytest-dev/backport-12320-to-8.2.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/4d5fb7d71ccc069e2f882bee0e4253eaf484d2a9"><code>4d5fb7d</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12319">#12319</a>
from pytest-dev/backport-12311-to-8.2.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/cbe5996cc684b00397494d9590f3179de232c3ee"><code>cbe5996</code></a>
[8.2.x] changelog: document unittest 8.2 change as breaking</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.2.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 08:50:30 +02:00
dependabot[bot] 0a0d2a1af8 Update bcrypt requirement from 4.1.2 to 4.1.3 in /backend (#705)
Updates the requirements on [bcrypt](https://github.com/pyca/bcrypt) to
permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pyca/bcrypt/blob/main/release.py">bcrypt's
changelog</a>.</em></p>
<blockquote>
<h1>Licensed under the Apache License, Version 2.0 (the
&quot;License&quot;);</h1>
<h1>you may not use this file except in compliance with the
License.</h1>
<h1>You may obtain a copy of the License at</h1>
<h1></h1>
<h1><a
href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></h1>
<h1></h1>
<h1>Unless required by applicable law or agreed to in writing,
software</h1>
<h1>distributed under the License is distributed on an &quot;AS IS&quot;
BASIS,</h1>
<h1>WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.</h1>
<h1>See the License for the specific language governing permissions
and</h1>
<h1>limitations under the License.</h1>
<p>import getpass
import io
import json
import os
import subprocess
import time
import zipfile</p>
<p>import click
import requests</p>
<p>def run(*args, **kwargs):
print(f&quot;[running] {list(args)}&quot;)
subprocess.check_call(list(args), **kwargs)</p>
<p>def wait_for_build_complete_github_actions(session, token, run_url):
while True:
response = session.get(
run_url,
headers={
&quot;Content-Type&quot;: &quot;application/json&quot;,
&quot;Authorization&quot;: f&quot;token {token}&quot;,
},
)
response.raise_for_status()
if response.json()[&quot;conclusion&quot;] is not None:
break
time.sleep(3)</p>
<p>def download_artifacts_github_actions(session, token, run_url):
response = session.get(
run_url,
headers={
&quot;Content-Type&quot;: &quot;application/json&quot;,
&quot;Authorization&quot;: f&quot;token {token}&quot;,</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pyca/bcrypt/commit/35e5a6f5a5131bef22f04dcc9bf401b6eab79642"><code>35e5a6f</code></a>
Bump version for 4.1.3 release (<a
href="https://redirect.github.com/pyca/bcrypt/issues/791">#791</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/d99d1e568d41c7248269bfd37295f65c74fb12bd"><code>d99d1e5</code></a>
Bump autocfg from 1.2.0 to 1.3.0 in /src/_bcrypt (<a
href="https://redirect.github.com/pyca/bcrypt/issues/790">#790</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/0775d47c9a1436706932b1bf8911735881aec8e2"><code>0775d47</code></a>
allow testing with pytest 8.2.0 (<a
href="https://redirect.github.com/pyca/bcrypt/issues/786">#786</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/97d09ac5c190de343af145b61d0b4356950281c0"><code>97d09ac</code></a>
Bump base64 from 0.22.0 to 0.22.1 in /src/_bcrypt (<a
href="https://redirect.github.com/pyca/bcrypt/issues/787">#787</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/ee4a9a8dd1b23d33da931022f2acbf156316f2fb"><code>ee4a9a8</code></a>
use ubuntu rolling in arm64 CI (<a
href="https://redirect.github.com/pyca/bcrypt/issues/784">#784</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/7d2474faa546a1a9daae5cac282977d34fe8aedd"><code>7d2474f</code></a>
Bump libc from 0.2.153 to 0.2.154 in /src/_bcrypt (<a
href="https://redirect.github.com/pyca/bcrypt/issues/783">#783</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/7a252dde4d84dedfc9d8e04308234fea18c6fa45"><code>7a252dd</code></a>
Try blocking pytest 8.2.0 (<a
href="https://redirect.github.com/pyca/bcrypt/issues/785">#785</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/297a915720a64c15274cd927a2b6f0fef2e28772"><code>297a915</code></a>
Remove brew install rust from macOS CI (<a
href="https://redirect.github.com/pyca/bcrypt/issues/782">#782</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/6b3f99eff2447cc7cf9b0cd7bffb3e31871c3648"><code>6b3f99e</code></a>
Bump parking_lot_core from 0.9.9 to 0.9.10 in /src/_bcrypt (<a
href="https://redirect.github.com/pyca/bcrypt/issues/778">#778</a>)</li>
<li><a
href="https://github.com/pyca/bcrypt/commit/c88b31007dfada537b9594540a4e12d49e08eca0"><code>c88b310</code></a>
Bump parking_lot from 0.12.1 to 0.12.2 in /src/_bcrypt (<a
href="https://redirect.github.com/pyca/bcrypt/issues/780">#780</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pyca/bcrypt/compare/4.1.2...4.1.3">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 20:58:18 +02:00
Erik Vroon fe458771fc UX improvements (#722) 2024-05-14 19:43:42 +02:00
Erik Vroon 2e9e4343b3 Fix created columns (#726)
The default was wrong, the `"now()"` was executed when building the
database, resulting in a default of a constant value instead of the
function `now()`
2024-05-14 18:59:46 +02:00
Erik Vroon bb19e6258d Add demo entities to demo account (#723) 2024-05-13 17:57:33 +02:00
Erik Vroon a1f850f8d6 Group teams by stage items (#710) 2024-05-07 22:12:10 +02:00
Erik Vroon 0e4df8dcb5 Handle foreign key on stage items (#701)
fix https://github.com/evroon/bracket/issues/629
2024-05-05 10:50:09 +02:00
Danny Piper 05891698d6 Expose port 8400 in backend Dockerfile (#671) 2024-05-03 19:59:05 +02:00
dependabot[bot] ca8a240379 Update pytest requirement from <=8.1.1 to <=8.2.0 in /backend (#669)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.2.0</h2>
<h1>pytest 8.2.0 (2024-04-27)</h1>
<h2>Deprecations</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12069">#12069</a>:
A deprecation warning is now raised when implementations of one of the
following hooks request a deprecated <code>py.path.local</code>
parameter instead of the <code>pathlib.Path</code> parameter which
replaced it:</p>
<ul>
<li><code>pytest_ignore_collect</code>{.interpreted-text
role=&quot;hook&quot;} - the <code>path</code> parameter - use
<code>collection_path</code> instead.</li>
<li><code>pytest_collect_file</code>{.interpreted-text
role=&quot;hook&quot;} - the <code>path</code> parameter - use
<code>file_path</code> instead.</li>
<li><code>pytest_pycollect_makemodule</code>{.interpreted-text
role=&quot;hook&quot;} - the <code>path</code> parameter - use
<code>module_path</code> instead.</li>
<li><code>pytest_report_header</code>{.interpreted-text
role=&quot;hook&quot;} - the <code>startdir</code> parameter - use
<code>start_path</code> instead.</li>
<li><code>pytest_report_collectionfinish</code>{.interpreted-text
role=&quot;hook&quot;} - the <code>startdir</code> parameter - use
<code>start_path</code> instead.</li>
</ul>
<p>The replacement parameters are available since pytest 7.0.0.
The old parameters will be removed in pytest 9.0.0.</p>
<p>See <code>legacy-path-hooks-deprecated</code>{.interpreted-text
role=&quot;ref&quot;} for more details.</p>
</li>
</ul>
<h2>Features</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11871">#11871</a>:
Added support for reading command line arguments from a file using the
prefix character <code>@</code>, like e.g.: <code>pytest
@tests.txt</code>. The file must have one argument per line.</p>
<p>See <code>Read arguments from file
&lt;args-from-file&gt;</code>{.interpreted-text role=&quot;ref&quot;}
for details.</p>
</li>
</ul>
<h2>Improvements</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11523">#11523</a>:
<code>pytest.importorskip</code>{.interpreted-text
role=&quot;func&quot;} will now issue a warning if the module could be
found, but raised <code>ImportError</code>{.interpreted-text
role=&quot;class&quot;} instead of
<code>ModuleNotFoundError</code>{.interpreted-text
role=&quot;class&quot;}.</p>
<p>The warning can be suppressed by passing
<code>exc_type=ImportError</code> to
<code>pytest.importorskip</code>{.interpreted-text
role=&quot;func&quot;}.</p>
<p>See <code>import-or-skip-import-error</code>{.interpreted-text
role=&quot;ref&quot;} for details.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11728">#11728</a>:
For <code>unittest</code>-based tests, exceptions during class cleanup
(as raised by functions registered with <code>TestCase.addClassCleanup
&lt;unittest.TestCase.addClassCleanup&gt;</code>{.interpreted-text
role=&quot;meth&quot;}) are now reported instead of silently
failing.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11777">#11777</a>:
Text is no longer truncated in the <code>short test summary info</code>
section when <code>-vv</code> is given.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12112">#12112</a>:
Improved namespace packages detection when
<code>consider_namespace_packages</code>{.interpreted-text
role=&quot;confval&quot;} is enabled, covering more situations (like
editable installs).</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/9502">#9502</a>:
Added <code>PYTEST_VERSION</code>{.interpreted-text
role=&quot;envvar&quot;} environment variable which is defined at the
start of the pytest session and undefined afterwards. It contains the
value of <code>pytest.__version__</code>, and among other things can be
used to easily check if code is running from within a pytest run.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12065">#12065</a>:
Fixed a regression in pytest 8.0.0 where test classes containing
<code>setup_method</code> and tests using <code>@staticmethod</code> or
<code>@classmethod</code> would crash with <code>AttributeError:
'NoneType' object has no attribute 'setup_method'</code>.</p>
<p>Now the <code>request.instance
&lt;pytest.FixtureRequest.instance&gt;</code>{.interpreted-text
role=&quot;attr&quot;} attribute of tests using
<code>@staticmethod</code> and <code>@classmethod</code> is no longer
<code>None</code>, but a fresh instance of the class, like in non-static
methods.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/6bd3f313447290380cbc2db30fb9ee5cca7eb941"><code>6bd3f31</code></a>
Tweak changelog for 8.2.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/9b6219b5e89af237e5bc80354d405d2b5c2fc8a0"><code>9b6219b</code></a>
Prepare release version 8.2.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/835765c9d31e0a86c6028f983b28d32c82a759c4"><code>835765c</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12130">#12130</a>
from bluetech/fixtures-inline</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/7e7503c0b015f61d9d21d3b5f55990b7fcd683f7"><code>7e7503c</code></a>
unittest: report class cleanup exceptions (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12250">#12250</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/882c4da2f37702b00bdbd3b6c74e9821d33e0204"><code>882c4da</code></a>
fixtures: inline <code>fail_fixturefunc</code></li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/2e8fb9f1401d727e20f004326752fd1922f9c601"><code>2e8fb9f</code></a>
fixtures: extract a <code>_check_fixturedef</code> method</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/acf2971f46a9518b3552d48ea9541a1951c2b207"><code>acf2971</code></a>
fixtures: inline <code>_getnextfixturedef</code> into
<code>_get_active_fixturedef</code></li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/3c77aec1dac0894ec4ca774b71ec91c85cf91dd1"><code>3c77aec</code></a>
fixtures: move &quot;request&quot; check early</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d217d68cde0c34d619862f15c773ecc02ecdaabe"><code>d217d68</code></a>
fixtures: inline <code>_compute_fixture_value</code></li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/530be285751143febe54b8974b234eed5eb8b079"><code>530be28</code></a>
fixtures: use early return in <code>_get_active_fixturedef</code></li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.2.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 08:56:25 +02:00
dependabot[bot] 9d58a275fb Update pytest-asyncio requirement from <=0.21.1 to <=0.21.2 in /backend (#672)
Updates the requirements on
[pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit
the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-asyncio/releases">pytest-asyncio's
releases</a>.</em></p>
<blockquote>
<h2>pytest-asyncio 0.21.2</h2>
<h1>0.21.2 (2024-04-29)</h1>
<ul>
<li>Fix compatibility with pytest 8.2. Backport of <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/800">#800</a>
to pytest-asyncio v0.21 for users who are unable to upgrade to a more
recent version (see <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/706">#706</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/12de7f6c7da1e94cf317d498f48b6c83df09428d"><code>12de7f6</code></a>
[ci] Do not fail CI pipeline, if coverage upload fails.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/b4aebfbd3228743b7914838288b1e6c996cb43fd"><code>b4aebfb</code></a>
[test] Addresses a Hypothesis health check that leads to failing
tests.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/ef6144a41c79042c7c20081c2fcd9e62f27fb938"><code>ef6144a</code></a>
[refactor] Satisfy linters.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/df294815c7488cac38ad0f486585e9942120c170"><code>df29481</code></a>
[docs] Added changelog entry.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/2fb3b19ade1f9a60521150d6459860a5b12339b6"><code>2fb3b19</code></a>
Backported <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/800">#800</a>
to the 0.21.1 tag</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/a10cbde05ff46b44f37a79b937a8dd38230f232a"><code>a10cbde</code></a>
[docs] Fixed typo.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/82b010d6869b9c2330bcfaa551fc8fe4719f45a8"><code>82b010d</code></a>
[docs] Add release date of v0.21.1 to changelog.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/af08b1c70dee405956437521082ae01b16b8a8df"><code>af08b1c</code></a>
[test] Removed obsolete test &quot;test_async_close_loop&quot;.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/79b2d1aed3d31e0f95e7d97e6176ff6b82f62635"><code>79b2d1a</code></a>
[test] Added a test case which verifies compatibility with pytest.skip
in aut...</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/39a97548bfb0fe0de9527a98563037cb1ce80899"><code>39a9754</code></a>
[test] The test that asserts compatibility with pytest.mark.skip reports
succ...</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.1.1...v0.21.2">compare
view</a></li>
</ul>
</details>
<br />

<details>
<summary>Most Recent Ignore Conditions Applied to This Pull
Request</summary>

| Dependency Name | Ignore Conditions |
| --- | --- |
| pytest-asyncio | [>= 0.23.a, < 0.24] |
</details>


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 08:42:04 +02:00
dependabot[bot] 62899b9e33 Update pluggy requirement from <=1.4.0 to <=1.5.0 in /backend (#662)
Updates the requirements on
[pluggy](https://github.com/pytest-dev/pluggy) to permit the latest
version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst">pluggy's
changelog</a>.</em></p>
<blockquote>
<h1>pluggy 1.5.0 (2024-04-19)</h1>
<h2>Features</h2>
<ul>
<li>
<p><code>[#178](https://github.com/pytest-dev/pluggy/issues/178)
&lt;https://github.com/pytest-dev/pluggy/issues/178&gt;</code>_: Add
support for deprecating specific hook parameters, or more generally, for
issuing a warning whenever a hook implementation requests certain
parameters.</p>
<p>See :ref:<code>warn_on_impl</code> for details.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><code>[#481](https://github.com/pytest-dev/pluggy/issues/481)
&lt;https://github.com/pytest-dev/pluggy/issues/481&gt;</code>_:
<code>PluginManager.get_plugins()</code> no longer returns
<code>None</code> for blocked plugins.</li>
</ul>
<h1>pluggy 1.4.0 (2024-01-24)</h1>
<h2>Features</h2>
<ul>
<li>
<p><code>[#463](https://github.com/pytest-dev/pluggy/issues/463)
&lt;https://github.com/pytest-dev/pluggy/issues/463&gt;</code>_: A
warning :class:<code>~pluggy.PluggyTeardownRaisedWarning</code> is now
issued when an old-style hookwrapper raises an exception during
teardown.
See the warning documentation for more details.</p>
</li>
<li>
<p><code>[#471](https://github.com/pytest-dev/pluggy/issues/471)
&lt;https://github.com/pytest-dev/pluggy/issues/471&gt;</code>_: Add
:func:<code>PluginManager.unblock
&lt;pluggy.PluginManager.unblock&gt;</code> method to unblock a plugin
by plugin name.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>
<p><code>[#441](https://github.com/pytest-dev/pluggy/issues/441)
&lt;https://github.com/pytest-dev/pluggy/issues/441&gt;</code>_: Fix
:func:<code>~pluggy.HookCaller.call_extra()</code> extra methods getting
ordered before everything else in some circumstances. Regressed in
pluggy 1.1.0.</p>
</li>
<li>
<p><code>[#438](https://github.com/pytest-dev/pluggy/issues/438)
&lt;https://github.com/pytest-dev/pluggy/issues/438&gt;</code>_: Fix
plugins registering other plugins in a hook when the other plugins
implement the same hook itself. Regressed in pluggy 1.1.0.</p>
</li>
</ul>
<h1>pluggy 1.3.0 (2023-08-26)</h1>
<h2>Deprecations and Removals</h2>
<ul>
<li><code>[#426](https://github.com/pytest-dev/pluggy/issues/426)
&lt;https://github.com/pytest-dev/pluggy/issues/426&gt;</code>_: Python
3.7 is no longer supported.</li>
</ul>
<h2>Features</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/f8aa4a009716a7994f2f6c1947d9fa69feccbdd5"><code>f8aa4a0</code></a>
Preparing release 1.5.0</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/b4a8c92fb15dc05376ddb9b48e601be00ee3ee1b"><code>b4a8c92</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/495">#495</a>
from bluetech/warn-on-impl-args</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/6f6ea680ca5a1f73dca356eb23c0dd6bd5f7190e"><code>6f6ea68</code></a>
Add support deprecating hook parameters</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/91f88d28e30c12612d671100b7a60dfbf4990446"><code>91f88d2</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/496">#496</a>
from bluetech/codecov-action</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/89ce829b44274569de83173867ce29828b620fe8"><code>89ce829</code></a>
ci: replace upload-coverage script with codecov github action</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/29f104d21f06f0bf1415a8e872657bc10a768954"><code>29f104d</code></a>
Lift pluggy (<a
href="https://redirect.github.com/pytest-dev/pluggy/issues/493">#493</a>)</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/c2b36b44af5c2530813e18553b54158535d4820a"><code>c2b36b4</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/491">#491</a>
from pytest-dev/pre-commit-ci-update-config</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/2b533c9d9f7421c9353aa32da967733bfe4c1c85"><code>2b533c9</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/04d1bcdbc751a90ff79b72caf85dc96e1664ae45"><code>04d1bcd</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/pytest-dev/pluggy/issues/490">#490</a>)</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/f74e94b17d986c18e9039af87ecded9c9546ac32"><code>f74e94b</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/pytest-dev/pluggy/issues/489">#489</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pluggy/compare/0.3.0...1.5.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 08:47:17 +02:00
Erik Vroon ef895bf812 Extend deploy docs and add Nomad docs (#578) 2024-03-18 20:01:55 +01:00
dependabot[bot] 499ee12f37 Update pytest requirement from <=8.1.0 to <=8.1.1 in /backend (#593)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.1.1</h2>
<h1>pytest 8.1.1 (2024-03-08)</h1>
<p>::: {.note}
::: {.title}
Note
:::</p>
<p>This release is not a usual bug fix release -- it contains features
and improvements, being a follow up
to <code>8.1.0</code>, which has been yanked from PyPI.
:::</p>
<h2>Features</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>:
Added the new <code>consider_namespace_packages</code>{.interpreted-text
role=&quot;confval&quot;} configuration option, defaulting to
<code>False</code>.</p>
<p>If set to <code>True</code>, pytest will attempt to identify modules
that are part of <a
href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace
packages</a> when importing modules.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>:
Added the new <code>verbosity_test_cases</code>{.interpreted-text
role=&quot;confval&quot;} configuration option for fine-grained control
of test execution verbosity.
See <code>Fine-grained verbosity
&lt;pytest.fine_grained_verbosity&gt;</code>{.interpreted-text
role=&quot;ref&quot;} for more details.</p>
</li>
</ul>
<h2>Improvements</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>:
<code>pytest.warns</code>{.interpreted-text role=&quot;func&quot;} now
validates that <code>warnings.warn</code>{.interpreted-text
role=&quot;func&quot;} 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
<code>warnings.filterwarnings</code>{.interpreted-text
role=&quot;func&quot;} is used to filter those warnings (see [CPython <a
href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a
href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>)
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.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>:
When using <code>--override-ini</code> for paths in invocations without
a configuration file defined, the current working directory is used
as the relative directory.</p>
<p>Previoulsy this would raise an
<code>AssertionError</code>{.interpreted-text
role=&quot;class&quot;}.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>:
<code>--import-mode=importlib
&lt;import-mode-importlib&gt;</code>{.interpreted-text
role=&quot;ref&quot;} now tries to import modules using the standard
import mechanism (but still without changing
:py<code>sys.path</code>{.interpreted-text role=&quot;data&quot;}),
falling back to importing modules directly only if that fails.</p>
<p>This means that installed packages will be imported under their
canonical name if possible first, for example
<code>app.core.models</code>, instead of having the module name always
be derived from their path (for example
<code>.env310.lib.site_packages.app.core.models</code>).</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>:
Added the <code>iter_parents()
&lt;_pytest.nodes.Node.iter_parents&gt;</code>{.interpreted-text
role=&quot;func&quot;} helper method on nodes.
It is similar to <code>listchain
&lt;_pytest.nodes.Node.listchain&gt;</code>{.interpreted-text
role=&quot;func&quot;}, but goes from bottom to top, and returns an
iterator, not a list.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>:
Added support for <code>sys.last_exc</code>{.interpreted-text
role=&quot;data&quot;} for post-mortem debugging on Python&gt;=3.12.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>:
In case no other suitable candidates for configuration file are found, a
<code>pyproject.toml</code> (even without a
<code>[tool.pytest.ini_options]</code> table) will be considered as the
configuration file and define the <code>rootdir</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>:
Add <code>--log-file-mode</code> option to the logging plugin, enabling
appending to log-files. This option accepts either
<code>&quot;w&quot;</code> or <code>&quot;a&quot;</code> and defaults to
<code>&quot;w&quot;</code>.</p>
<p>Previously, the mode was hard-coded to be <code>&quot;w&quot;</code>
which truncates the file before logging.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a>
Adjust changelog manually for 8.1.1</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a>
Prepare release version 8.1.1</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a>
[8.1.x] Revert legacy path removals (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a>
[8.1.x] Do not import duplicated modules with --importmode=importlib (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a>
[8.1.x] Yank version 8.1.0 (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a>
from pytest-dev/release-8.1.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a>
Prepare release version 8.1.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a>
from bluetech/fixtures-rm-arg2index</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a>
from bluetech/fixture-teardown-excgroup</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a>
from jakkdl/test_debugging_pythonbreakpoint</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.1.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 13:05:02 +01:00
dependabot[bot] 0f1cde5b6d Update pytest requirement from <=8.0.2 to <=8.1.0 in /backend (#582)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.1.0</h2>
<h1>pytest 8.1.0 (2024-03-03)</h1>
<h2>Features</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>:
Added the new <code>consider_namespace_packages</code>{.interpreted-text
role=&quot;confval&quot;} configuration option, defaulting to
<code>False</code>.</p>
<p>If set to <code>True</code>, pytest will attempt to identify modules
that are part of <a
href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace
packages</a> when importing modules.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>:
Added the new <code>verbosity_test_cases</code>{.interpreted-text
role=&quot;confval&quot;} configuration option for fine-grained control
of test execution verbosity.
See <code>Fine-grained verbosity
&lt;pytest.fine_grained_verbosity&gt;</code>{.interpreted-text
role=&quot;ref&quot;} for more details.</p>
</li>
</ul>
<h2>Improvements</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>:
<code>pytest.warns</code>{.interpreted-text role=&quot;func&quot;} now
validates that <code>warnings.warn</code>{.interpreted-text
role=&quot;func&quot;} 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
<code>warnings.filterwarnings</code>{.interpreted-text
role=&quot;func&quot;} is used to filter those warnings (see [CPython <a
href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a
href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>)
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.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>:
When using <code>--override-ini</code> for paths in invocations without
a configuration file defined, the current working directory is used
as the relative directory.</p>
<p>Previoulsy this would raise an
<code>AssertionError</code>{.interpreted-text
role=&quot;class&quot;}.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>:
<code>--import-mode=importlib
&lt;import-mode-importlib&gt;</code>{.interpreted-text
role=&quot;ref&quot;} now tries to import modules using the standard
import mechanism (but still without changing
:py<code>sys.path</code>{.interpreted-text role=&quot;data&quot;}),
falling back to importing modules directly only if that fails.</p>
<p>This means that installed packages will be imported under their
canonical name if possible first, for example
<code>app.core.models</code>, instead of having the module name always
be derived from their path (for example
<code>.env310.lib.site_packages.app.core.models</code>).</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>:
Added the <code>iter_parents()
&lt;_pytest.nodes.Node.iter_parents&gt;</code>{.interpreted-text
role=&quot;func&quot;} helper method on nodes.
It is similar to <code>listchain
&lt;_pytest.nodes.Node.listchain&gt;</code>{.interpreted-text
role=&quot;func&quot;}, but goes from bottom to top, and returns an
iterator, not a list.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>:
Added support for <code>sys.last_exc</code>{.interpreted-text
role=&quot;data&quot;} for post-mortem debugging on Python&gt;=3.12.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>:
In case no other suitable candidates for configuration file are found, a
<code>pyproject.toml</code> (even without a
<code>[tool.pytest.ini_options]</code> table) will be considered as the
configuration file and define the <code>rootdir</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>:
Add <code>--log-file-mode</code> option to the logging plugin, enabling
appending to log-files. This option accepts either
<code>&quot;w&quot;</code> or <code>&quot;a&quot;</code> and defaults to
<code>&quot;w&quot;</code>.</p>
<p>Previously, the mode was hard-coded to be <code>&quot;w&quot;</code>
which truncates the file before logging.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12047">#12047</a>:
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.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11904">#11904</a>:
Fixed a regression in pytest 8.0.0 that would cause test collection to
fail due to permission errors when using <code>--pyargs</code>.</p>
<p>This change improves the collection tree for tests specified using
<code>--pyargs</code>, see <code>12043</code>{.interpreted-text
role=&quot;pull&quot;} for a comparison with pytest 8.0 and &lt;8.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a>
Prepare release version 8.1.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a>
from bluetech/fixtures-rm-arg2index</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a>
from bluetech/fixture-teardown-excgroup</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a>
from jakkdl/test_debugging_pythonbreakpoint</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/82fe28dae4eec900123175cee87245f37b964e5c"><code>82fe28d</code></a>
[automated] Update plugin list (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12049">#12049</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/5e2ee7175c145f84ff9882be9496abb56e6e56f2"><code>5e2ee71</code></a>
monkeypatch.delenv PYTHONBREAKPOINT in two tests that previously
failed/skipped</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/89ee4493ccbcd118349082cd78eb52a761683120"><code>89ee449</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11997">#11997</a>
from nicoddemus/11475-importlib</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/8248946a552635f5751a58c7a6dfd24e98db7404"><code>8248946</code></a>
Do not collect symlinked tests under Windows (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12050">#12050</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/434282e17f5f1f4fcc1464a0a0921cf19804bdd7"><code>434282e</code></a>
fixtures: use exception group when multiple finalizers raise in fixture
teardown</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d6134bc21e27efee7a2e264bd089e6c223515904"><code>d6134bc</code></a>
doc: document consider_namespace_packages option</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.1.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 15:01:07 +01:00
Erik Vroon 5eddebbc17 Fix backend code style 2024-03-04 14:49:44 +01:00
Erik Vroon aa0ccdd64c Spawn only 1 gunicorn worker for now (#575)
Support for multiple is still WIP
2024-02-29 22:27:52 +01:00
robigan e3fa10e2a9 Team logos (#529) 2024-02-28 08:41:19 +01:00
Erik Vroon 1d763fe3dc Handle teams foreign key errors (#543) 2024-02-26 22:36:57 +01:00
dependabot[bot] 9da7811198 Update pytest requirement from <=8.0.1 to <=8.0.2 in /backend (#531)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.0.2</h2>
<h1>pytest 8.0.2 (2024-02-24)</h1>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11895">#11895</a>:
Fix collection on Windows where initial paths contain the short version
of a path (for example <code>c:\PROGRA~1\tests</code>).</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11953">#11953</a>:
Fix an <code>IndexError</code> crash raising from
<code>getstatementrange_ast</code>.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12021">#12021</a>:
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.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/31afeeb0df0e8bdab1325b5992a2cc733e981e82"><code>31afeeb</code></a>
Prepare release version 8.0.2</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/1b00a2f4fba7859c31dab4f5afdd9e1f07cbdd1e"><code>1b00a2f</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12025">#12025</a>
from pytest-dev/backport-12022-to-8.0.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/ff2f66d84affb0fbcbf841b1897c7599026730bc"><code>ff2f66d</code></a>
[8.0.x] Revert &quot;Fix teardown error reporting when
<code>--maxfail=1</code> (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11721">#11721</a>)&quot;</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/8a8eed609c3c20da452446e1686df41ebda96d11"><code>8a8eed6</code></a>
[8.0.x] Fix collection of short paths on Windows (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12024">#12024</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/74346f027c205e5daffe66801094293744e8d85f"><code>74346f0</code></a>
[8.0.x] Allow Sphinx 7.x (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12005">#12005</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/b7657b4d6b69ee26e00d9a71c4d208506f644462"><code>b7657b4</code></a>
[8.0.x] Disallow Sphinx 6 and 7 (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12001">#12001</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/feb7c5e12ee3374b2c7c773614d76811ad21a4f4"><code>feb7c5e</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11999">#11999</a>
from pytest-dev/backport-11996-to-8.0.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/090965574ece50c6be955719ced2a9cf8daaee17"><code>0909655</code></a>
[8.0.x] code: fix <code>IndexError</code> crash in
<code>getstatementrange_ast</code></li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/68524d48586e7f8d070fc1146e5ff90e770d0382"><code>68524d4</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11993">#11993</a>
from pytest-dev/release-8.0.1</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d7d320a15a1f8dae909e0aa71f20ab5daeaa42d3"><code>d7d320a</code></a>
Prepare release version 8.0.1</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.0.2">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 07:09:35 +01:00
Erik Vroon 25a9df2f36 Use asyncpg for updating tournaments (#523)
fix https://github.com/evroon/bracket/issues/514
2024-02-24 13:32:02 +01:00
Erik Vroon 873953daf0 Stamp alembic head when recreating tables (#521)
fix https://github.com/evroon/bracket/issues/520

After initializing the database, we don't want/need to run any
migrations, so we just tell alembic we're on the latest revision.
2024-02-24 12:28:28 +01:00
Erik Vroon d016e50537 Check foreign keys belong to tournament (#516)
Handles a security vulnerability where it's possible to link to columns
of other tournaments, such as add players from another tournament to a
team
2024-02-23 21:11:13 +01:00
Erik Vroon b395d148f0 Add newtypes for primary keys (#512)
Adds type safety
2024-02-23 20:41:55 +01:00
robigan fa813c6cec Add user registration to cli (#501)
This PR adds a custom function to be able to add users from the CLI.
This is a bare-bones modification to cli.py that works, and I've semi
tested (against a production environment lol). I am opening this PR as
an RFC.
2024-02-21 19:05:02 +01:00
Erik Vroon 0754964c7a Set random scores for dummy matches (#500) 2024-02-21 08:54:05 +01:00
dependabot[bot] 71483cf90e Update pytest requirement from <=8.0.0 to <=8.0.1 in /backend (#493)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>8.0.1</h2>
<h1>pytest 8.0.1 (2024-02-16)</h1>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11875">#11875</a>:
Correctly handle errors from
<code>getpass.getuser</code>{.interpreted-text role=&quot;func&quot;} in
Python 3.13.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11879">#11879</a>:
Fix an edge case where <code>ExceptionInfo._stringify_exception</code>
could crash <code>pytest.raises</code>{.interpreted-text
role=&quot;func&quot;}.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11906">#11906</a>:
Fix regression with <code>pytest.warns</code>{.interpreted-text
role=&quot;func&quot;} using custom warning subclasses which have more
than one parameter in their [__init__]{.title-ref}.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11907">#11907</a>:
Fix a regression in pytest 8.0.0 whereby calling
<code>pytest.skip</code>{.interpreted-text role=&quot;func&quot;} and
similar control-flow exceptions within a
<code>pytest.warns()</code>{.interpreted-text role=&quot;func&quot;}
block would get suppressed instead of propagating.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11929">#11929</a>:
Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a
module get ignored by the doctests in the module.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11937">#11937</a>:
Fix a regression in pytest 8.0.0 whereby items would be collected in
reverse order in some circumstances.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d7d320a15a1f8dae909e0aa71f20ab5daeaa42d3"><code>d7d320a</code></a>
Prepare release version 8.0.1</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/93699166dc3d90676b126d2b1615fbd41cf0be4d"><code>9369916</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11992">#11992</a>
from bluetech/backport-11991</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/a232abd56cd7ddc0d6dbeefd851c538ec547ab06"><code>a232abd</code></a>
[8.0.x] recwarn: fix pytest.warns handling of Warnings with multiple
arguments</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/92203d2b78135446510ec70d46452937effcb1d9"><code>92203d2</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11990">#11990</a>
from bluetech/backport-11920</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/f1aa9226ac5b1962fdad442652765d5e589c7137"><code>f1aa922</code></a>
[8.0.x] recwarn: let base exceptions propagate through
<code>pytest.warns</code> again</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d86d08156337b40ad0cf6e4bfe38ecfa0e5eb5bd"><code>d86d081</code></a>
[8.0.x] Added <code>logot</code> to the plugin list (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11977">#11977</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/c554c3d200747f9f56b4054619ba4fb6f8910bb5"><code>c554c3d</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11968">#11968</a>
from pytest-dev/backport-11957-to-8.0.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/a6851e3459159f94387debf0b357c9b6481a2f48"><code>a6851e3</code></a>
[8.0.x] main: fix reversed collection order in Session</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/e6f6be3bc9e876f1853fdea68ec49cfc1c4c246d"><code>e6f6be3</code></a>
[8.0.x] Improve error message when using <a
href="https://github.com/pytest"><code>@​pytest</code></a>.fixture twice
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11958">#11958</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/23b91d12de9bcbd0ce965bebefcbcc53a588b438"><code>23b91d1</code></a>
[8.0.x] Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11941">#11941</a>
from bluetech/doctest-parsefactories (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11948">#11948</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.0.1">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 10:21:24 +01:00
Erik Vroon 1c7ba768ca Add description to API docs (#489) 2024-02-18 16:56:10 +01:00
Erik Vroon 880d212ce9 Use uuids for logos (#488)
Otherwise uploads can replace current files with the same name.
Also fixes and adds more tests for logo uploads.
2024-02-18 11:24:35 +01:00
Erik Vroon 41c664ed56 Fix dashboard link unique bug (#487)
The frontend will send `"dashboard_link": ""` (empty string) but it
should be converted to `None` instead. Otherwise tournaments quickly
have non-unique endpoints.
2024-02-17 19:40:39 +01:00
Erik Vroon 0c0d99f8fe Write files async (non-blocking) (#485)
Also remove unused files and reload image in frontend when uploading a
new image.
2024-02-17 18:20:01 +01:00
Erik Vroon 7666e3a22b Handle foreign key constraint errors (#483) 2024-02-17 14:03:32 +01:00
Erik Vroon 31537a6f99 Add sort params to endpoints (#482)
Fixes a bug with pagination where only results of the currently shown
page are sorted, not all results are sorted and then limited to 25
items.
2024-02-17 13:20:54 +01:00
dependabot[bot] f465812e15 Update pluggy requirement from <=1.3.0 to <=1.4.0 in /backend (#468)
Updates the requirements on
[pluggy](https://github.com/pytest-dev/pluggy) to permit the latest
version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst">pluggy's
changelog</a>.</em></p>
<blockquote>
<h1>pluggy 1.4.0 (2024-01-24)</h1>
<h2>Features</h2>
<ul>
<li>
<p><code>[#463](https://github.com/pytest-dev/pluggy/issues/463)
&lt;https://github.com/pytest-dev/pluggy/issues/463&gt;</code>_: A
warning :class:<code>~pluggy.PluggyTeardownRaisedWarning</code> is now
issued when an old-style hookwrapper raises an exception during
teardown.
See the warning documentation for more details.</p>
</li>
<li>
<p><code>[#471](https://github.com/pytest-dev/pluggy/issues/471)
&lt;https://github.com/pytest-dev/pluggy/issues/471&gt;</code>_: Add
:func:<code>PluginManager.unblock
&lt;pluggy.PluginManager.unblock&gt;</code> method to unblock a plugin
by plugin name.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>
<p><code>[#441](https://github.com/pytest-dev/pluggy/issues/441)
&lt;https://github.com/pytest-dev/pluggy/issues/441&gt;</code>_: Fix
:func:<code>~pluggy.HookCaller.call_extra()</code> extra methods getting
ordered before everything else in some circumstances. Regressed in
pluggy 1.1.0.</p>
</li>
<li>
<p><code>[#438](https://github.com/pytest-dev/pluggy/issues/438)
&lt;https://github.com/pytest-dev/pluggy/issues/438&gt;</code>_: Fix
plugins registering other plugins in a hook when the other plugins
implement the same hook itself. Regressed in pluggy 1.1.0.</p>
</li>
</ul>
<h1>pluggy 1.3.0 (2023-08-26)</h1>
<h2>Deprecations and Removals</h2>
<ul>
<li><code>[#426](https://github.com/pytest-dev/pluggy/issues/426)
&lt;https://github.com/pytest-dev/pluggy/issues/426&gt;</code>_: Python
3.7 is no longer supported.</li>
</ul>
<h2>Features</h2>
<ul>
<li>
<p><code>[#428](https://github.com/pytest-dev/pluggy/issues/428)
&lt;https://github.com/pytest-dev/pluggy/issues/428&gt;</code>_: Pluggy
now exposes its typings to static type checkers.</p>
<p>As part of this, the following changes are made:</p>
<ul>
<li>Renamed <code>_Result</code> to <code>Result</code>, and exported as
:class:<code>pluggy.Result</code>.</li>
<li>Renamed <code>_HookRelay</code> to <code>HookRelay</code>, and
exported as :class:<code>pluggy.HookRelay</code>.</li>
<li>Renamed <code>_HookCaller</code> to <code>HookCaller</code>, and
exported as :class:<code>pluggy.HookCaller</code>.</li>
<li>Exported <code>HookImpl</code> as
:class:<code>pluggy.HookImpl</code>.</li>
<li>Renamed <code>_HookImplOpts</code> to <code>HookimplOpts</code>, and
exported as :class:<code>pluggy.HookimplOpts</code>.</li>
<li>Renamed <code>_HookSpecOpts</code> to <code>HookspecOpts</code>, and
exported as :class:<code>pluggy.HookspecOpts</code>.</li>
<li>Some fields and classes are marked <code>Final</code> and
<code>@final</code>.</li>
<li>The :ref:<code>api-reference</code> is updated to clearly delineate
pluggy's public API.</li>
</ul>
<p>Compatibility aliases are put in place for the renamed types.
We do not plan to remove the aliases, but we strongly recommend to only
import from <code>pluggy.*</code> to ensure future compatibility.</p>
<p>Please note that pluggy is currently unable to provide strong typing
for hook calls, e.g. <code>pm.hook.my_hook(...)</code>,
nor to statically check that a hook implementation matches the hook
specification's type.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/2efd28ef5dcd8b7ad44a41777ce640debbbf9c39"><code>2efd28e</code></a>
Preparing release 1.4.0</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/ebeb2f2e7865369e48d953c3dff1789d448f104e"><code>ebeb2f2</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/471">#471</a>
from bluetech/unblock</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/3a28b4d7a6d07ff3b3263ac2909be804323f578c"><code>3a28b4d</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/464">#464</a>
from bluetech/hookwrapper-teardown-warning</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/4331b7a164b6f0e79d2e64c8144e9bcb077f3a16"><code>4331b7a</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/473">#473</a>
from bluetech/iterator-invalidation</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/7aef3e608fddc57648daffaec23432e6893f26ff"><code>7aef3e6</code></a>
hooks: fix plugins registering other plugins in a hook</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/cc36605090dfa090777b3d69ca91132ad852c6f2"><code>cc36605</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pluggy/issues/472">#472</a>
from bluetech/call-extra-ordering-fix</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/443fee6d7a30ca694aa2eec77bde4aea9356efa0"><code>443fee6</code></a>
hooks: fix <code>call_extra</code> extra methods getting ordered before
everything else</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/4577b459a9043ba283e0d7a39beeddd627cc54a0"><code>4577b45</code></a>
hooks: add comment describing <code>_hookimpls</code>'s
format/invariants.</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/13b3661080cd3f6dcae1dedbceac6814b740c6dc"><code>13b3661</code></a>
Add <code>PluginManager.unblock</code> method to unblock a name</li>
<li><a
href="https://github.com/pytest-dev/pluggy/commit/4b5b2d4ede425742d99ebb6539c42517a4401dc0"><code>4b5b2d4</code></a>
CHANGELOG: fix errors in 1.0.0 entry</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pluggy/compare/0.3.0...1.4.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 19:59:30 +01:00
dependabot[bot] a8e484a35c Update pytest requirement from <=7.4.3 to <=8.0.0 in /backend (#469)
Updates the requirements on
[pytest](https://github.com/pytest-dev/pytest) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>pytest 8.0.0 (2024-01-27)</h2>
<p>See <a
href="https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc1">8.0.0rc1</a>
and <a
href="https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc2">8.0.0rc2</a>
for the full changes since pytest 7.4!</p>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11842">#11842</a>:
Properly escape the <code>reason</code> of a <code>skip
&lt;pytest.mark.skip ref&gt;</code>{.interpreted-text
role=&quot;ref&quot;} mark when writing JUnit XML files.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11861">#11861</a>:
Avoid microsecond exceeds <code>1_000_000</code> when using
<code>log-date-format</code> with <code>%f</code> specifier, which might
cause the test suite to crash.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/478f8233bca8147445f0c5129f04ada892cc6c91"><code>478f823</code></a>
Prepare release version 8.0.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/608590097a6542768099dd371b84d8b37a1990da"><code>6085900</code></a>
[8.0.x] fix: avoid rounding microsecond to <code>1_000_000</code> (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11863">#11863</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/3b41c65c81d649d962be5ec469f44104b8d09748"><code>3b41c65</code></a>
[8.0.x] Escape skip reason in junitxml (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11845">#11845</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/747072ad26f2443dc8a62eb88db8cbf56fa95470"><code>747072a</code></a>
[8.0.x] Update docstring of scripts/generate-gh-release-notes.py (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11768">#11768</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/011a475baf6e1d0e9ec30c5996d9cbcbe7c95475"><code>011a475</code></a>
Properly attach packages to the GH release notes (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11839">#11839</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11840">#11840</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/97960bdd148972b2f26bd9b336163e590bbc4c6b"><code>97960bd</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11835">#11835</a>
from pytest-dev/release-8.0.0rc2</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/6be0a3cbf7e014834610139421a0d9804d4a3eae"><code>6be0a3c</code></a>
Prepare release version 8.0.0rc2</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/44ffe071658f5ac609fe8d3b967e8dba93abc819"><code>44ffe07</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11837">#11837</a>
from pytest-dev/backport-11836-to-8.0.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/14ecb049732bed4dc913e2da55c616882432c978"><code>14ecb04</code></a>
[8.0.x] testing: temporarily disable test due to hypothesis issue</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/41c8dabee3c40a5d363bf03a3ca2370ee27cbcd0"><code>41c8dab</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11831">#11831</a>
from bluetech/backport-11825-to-8.0.x</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/1.0.0b3...8.0.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 19:23:13 +01:00
dependabot[bot] 3050441ae8 Update databases requirement from <=0.7.0 to <=0.8.0 in /backend (#471)
Updates the requirements on
[databases](https://github.com/encode/databases) to permit the latest
version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/encode/databases/releases">databases's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.8.0</h2>
<h3>Breaking</h3>
<p>This release improves isolation of connections and transactions
across concurrent tasks:</p>
<ul>
<li>Database connections are now task-local and are not inherited by
child tasks</li>
<li>The <code>@db.transaction</code> decorator uses the calling task's
connection</li>
<li>Each new task uses a new connection unless a connection is
explicitly provided</li>
</ul>
<p>These changes improve the consistency of behavior and fix bugs where
connections and transactions were not properly isolated such as: <a
href="https://redirect.github.com/encode/databases/issues/123">encode/databases#123</a>,
<a
href="https://redirect.github.com/encode/databases/issues/125">encode/databases#125</a>,
<a
href="https://redirect.github.com/encode/databases/issues/134">encode/databases#134</a>,
<a
href="https://redirect.github.com/encode/databases/issues/155">encode/databases#155</a>,
<a
href="https://redirect.github.com/encode/databases/issues/424">encode/databases#424</a>,
and <a
href="https://redirect.github.com/encode/databases/issues/452">encode/databases#452</a>.</p>
<p>In most cases, these changes should not be breaking. However, if
using an open transaction across tasks, the active connection
(<code>db.connection()</code>) now needs to be explicitly passed to each
task. See the <a
href="https://www.encode.io/databases/connections_and_transactions/#transactions">new
documentation</a> for an example.</p>
<h3>Added</h3>
<ul>
<li>Allow SQLite query parameters and support cached databases (<a
href="https://redirect.github.com/encode/databases/issues/561">#561</a><a
href="https://redirect.github.com/encode/databases/issues/561">#561</a>)</li>
<li>Support for unix socket for aiomysql and asyncmy (<a
href="https://redirect.github.com/encode/databases/issues/551">#551</a><a
href="https://redirect.github.com/encode/databases/issues/551">#551</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/encode/databases/issues/551">#551</a>:
<a
href="https://redirect.github.com/encode/databases/pull/551">encode/databases#551</a>
<a
href="https://redirect.github.com/encode/databases/issues/561">#561</a>:
<a
href="https://redirect.github.com/encode/databases/pull/546">encode/databases#546</a></p>
<h3>Changed</h3>
<ul>
<li>Improve isolation of connections and transactions during concurrent
usage (<a
href="https://redirect.github.com/encode/databases/issues/546">#546</a><a
href="https://redirect.github.com/encode/databases/issues/546">#546</a>)</li>
<li>Bump requests from 2.28.1 to 2.31.0 (<a
href="https://redirect.github.com/encode/databases/issues/562">#562</a><a
href="https://redirect.github.com/encode/databases/issues/562">#562</a>)
zanieb marked this conversation as resolved.</li>
<li>Bump starlette from 0.20.4 to 0.27.0 (<a
href="https://redirect.github.com/encode/databases/issues/560">#560</a><a
href="https://redirect.github.com/encode/databases/issues/560">#560</a>)</li>
<li>Bump up asyncmy version to fix <code>No module named
'asyncmy.connection'</code> (<a
href="https://redirect.github.com/encode/databases/issues/553">#553</a><a
href="https://redirect.github.com/encode/databases/issues/553">#553</a>)</li>
<li>Bump wheel from 0.37.1 to 0.38.1 (<a
href="https://redirect.github.com/encode/databases/issues/524">#524</a><a
href="https://redirect.github.com/encode/databases/issues/524">#524</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/encode/databases/issues/546">#546</a>:
<a
href="https://redirect.github.com/encode/databases/pull/546">encode/databases#546</a>
<a
href="https://redirect.github.com/encode/databases/issues/562">#562</a>:
<a
href="https://redirect.github.com/encode/databases/pull/562">encode/databases#562</a>
<a
href="https://redirect.github.com/encode/databases/issues/560">#560</a>:
<a
href="https://redirect.github.com/encode/databases/pull/560">encode/databases#560</a>
<a
href="https://redirect.github.com/encode/databases/issues/553">#553</a>:
<a
href="https://redirect.github.com/encode/databases/pull/553">encode/databases#553</a>
<a
href="https://redirect.github.com/encode/databases/issues/524">#524</a>:
<a
href="https://redirect.github.com/encode/databases/pull/524">encode/databases#524</a></p>
<h3>Fixed</h3>
<ul>
<li>Fix the type-hints using more standard mode (<a
href="https://redirect.github.com/encode/databases/issues/526">#526</a><a
href="https://redirect.github.com/encode/databases/issues/526">#526</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/encode/databases/issues/526">#526</a>:
<a
href="https://redirect.github.com/encode/databases/pull/526">encode/databases#526</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/encode/databases/blob/master/CHANGELOG.md">databases's
changelog</a>.</em></p>
<blockquote>
<h2>0.8.0 (August 28th, 2023)</h2>
<h3>Added</h3>
<ul>
<li>Allow SQLite query parameters and support cached databases (<a
href="https://redirect.github.com/encode/databases/issues/561">#561</a><a
href="https://redirect.github.com/encode/databases/issues/561">#561</a>)</li>
<li>Support for unix socket for aiomysql and asyncmy (<a
href="https://redirect.github.com/encode/databases/issues/551">#551</a><a
href="https://redirect.github.com/encode/databases/issues/551">#551</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/encode/databases/issues/551">#551</a>:
<a
href="https://redirect.github.com/encode/databases/pull/551">encode/databases#551</a>
<a
href="https://redirect.github.com/encode/databases/issues/561">#561</a>:
<a
href="https://redirect.github.com/encode/databases/pull/546">encode/databases#546</a></p>
<h3>Changed</h3>
<ul>
<li>Change isolation connections and transactions during concurrent
usage (<a
href="https://redirect.github.com/encode/databases/issues/546">#546</a><a
href="https://redirect.github.com/encode/databases/issues/546">#546</a>)</li>
<li>Bump requests from 2.28.1 to 2.31.0 (<a
href="https://redirect.github.com/encode/databases/issues/562">#562</a><a
href="https://redirect.github.com/encode/databases/issues/562">#562</a>)</li>
<li>Bump starlette from 0.20.4 to 0.27.0 (<a
href="https://redirect.github.com/encode/databases/issues/560">#560</a><a
href="https://redirect.github.com/encode/databases/issues/560">#560</a>)</li>
<li>Bump up asyncmy version to fix <code>No module named
'asyncmy.connection'</code> (<a
href="https://redirect.github.com/encode/databases/issues/553">#553</a><a
href="https://redirect.github.com/encode/databases/issues/553">#553</a>)</li>
<li>Bump wheel from 0.37.1 to 0.38.1 (<a
href="https://redirect.github.com/encode/databases/issues/524">#524</a><a
href="https://redirect.github.com/encode/databases/issues/524">#524</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/encode/databases/issues/546">#546</a>:
<a
href="https://redirect.github.com/encode/databases/pull/546">encode/databases#546</a>
<a
href="https://redirect.github.com/encode/databases/issues/562">#562</a>:
<a
href="https://redirect.github.com/encode/databases/pull/562">encode/databases#562</a>
<a
href="https://redirect.github.com/encode/databases/issues/560">#560</a>:
<a
href="https://redirect.github.com/encode/databases/pull/560">encode/databases#560</a>
<a
href="https://redirect.github.com/encode/databases/issues/553">#553</a>:
<a
href="https://redirect.github.com/encode/databases/pull/553">encode/databases#553</a>
<a
href="https://redirect.github.com/encode/databases/issues/524">#524</a>:
<a
href="https://redirect.github.com/encode/databases/pull/524">encode/databases#524</a></p>
<h3>Fixed</h3>
<ul>
<li>Fix the type-hints using more standard mode (<a
href="https://redirect.github.com/encode/databases/issues/526">#526</a><a
href="https://redirect.github.com/encode/databases/issues/526">#526</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/encode/databases/issues/526">#526</a>:
<a
href="https://redirect.github.com/encode/databases/pull/526">encode/databases#526</a></p>
<h2>0.7.0 (Dec 18th, 2022)</h2>
<h3>Fixed</h3>
<ul>
<li>Fixed breaking changes in SQLAlchemy cursor; supports
<code>&gt;=1.4.42,&lt;1.5</code> (<a
href="https://redirect.github.com/encode/databases/issues/513">#513</a><a
href="https://redirect.github.com/encode/databases/issues/513">#513</a>)</li>
<li>Wrapped types in <code>typing.Optional</code> where applicable (<a
href="https://redirect.github.com/encode/databases/issues/510">#510</a><a
href="https://redirect.github.com/encode/databases/issues/510">#510</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/encode/databases/issues/513">#513</a>:
<a
href="https://redirect.github.com/encode/databases/pull/513">encode/databases#513</a>
<a
href="https://redirect.github.com/encode/databases/issues/510">#510</a>:
<a
href="https://redirect.github.com/encode/databases/pull/510">encode/databases#510</a></p>
<h2>0.6.2 (Nov 7th, 2022)</h2>
<h3>Changed</h3>
<ul>
<li>Pinned SQLAlchemy <code>&lt;=1.4.41</code> to avoid breaking changes
(<a
href="https://redirect.github.com/encode/databases/issues/520">#520</a><a
href="https://redirect.github.com/encode/databases/issues/520">#520</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/encode/databases/issues/520">#520</a>:
<a
href="https://redirect.github.com/encode/databases/pull/520">encode/databases#520</a></p>
<h2>0.6.1 (Aug 9th, 2022)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/encode/databases/commit/d653b310e9ebb6b037f4e5922b334e68db27f48f"><code>d653b31</code></a>
chore: release 0.8.0 prep (<a
href="https://redirect.github.com/encode/databases/issues/565">#565</a>)</li>
<li><a
href="https://github.com/encode/databases/commit/9795187928083bb2cdf119284160c649e80ca27b"><code>9795187</code></a>
Allow SQLite query parameters and support cached databases (<a
href="https://redirect.github.com/encode/databases/issues/561">#561</a>)</li>
<li><a
href="https://github.com/encode/databases/commit/25fa29515d4b6387db482734c564152a1034fbe6"><code>25fa295</code></a>
fix: incorrect concurrent usage of connection and transaction (<a
href="https://redirect.github.com/encode/databases/issues/546">#546</a>)</li>
<li><a
href="https://github.com/encode/databases/commit/c09542802afdb1e4fbdde9803a136e9254461e5d"><code>c095428</code></a>
Bump requests from 2.28.1 to 2.31.0 (<a
href="https://redirect.github.com/encode/databases/issues/562">#562</a>)</li>
<li><a
href="https://github.com/encode/databases/commit/f3f0c6f0ba1b2af7d1716d5786d584410c745ed3"><code>f3f0c6f</code></a>
Bump starlette from 0.20.4 to 0.27.0 (<a
href="https://redirect.github.com/encode/databases/issues/560">#560</a>)</li>
<li><a
href="https://github.com/encode/databases/commit/71ea4adfeafc397e0fa54067c012edcbc5a62f7a"><code>71ea4ad</code></a>
Support for unix socket for aiomysql and asyncmy (<a
href="https://redirect.github.com/encode/databases/issues/551">#551</a>)</li>
<li><a
href="https://github.com/encode/databases/commit/ab5eb718a78a27afe18775754e9c0fa2ad9cd211"><code>ab5eb71</code></a>
Bump up asyncmy version to fix <code>No module named
'asyncmy.connection'</code> (<a
href="https://redirect.github.com/encode/databases/issues/553">#553</a>)</li>
<li><a
href="https://github.com/encode/databases/commit/b6eba5f7a19eaf8966e3821f44fe00f4770cb822"><code>b6eba5f</code></a>
Bump wheel from 0.37.1 to 0.38.1 (<a
href="https://redirect.github.com/encode/databases/issues/524">#524</a>)</li>
<li><a
href="https://github.com/encode/databases/commit/77d9b8aa7dc3871133b02adf0c498c583b89a6fd"><code>77d9b8a</code></a>
Fix the type-hints using more standard mode (<a
href="https://redirect.github.com/encode/databases/issues/526">#526</a>)</li>
<li><a
href="https://github.com/encode/databases/commit/6b0c767588f501d5edaabb1bdf665fcf1ded88ea"><code>6b0c767</code></a>
Version 0.7.0 (<a
href="https://redirect.github.com/encode/databases/issues/522">#522</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/encode/databases/compare/0.1.0...0.8.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 19:22:37 +01:00
Erik Vroon f4c8bcdd65 Improve ui when there is no content (#473)
Adds more skeletons, fixes user page, fixes bug in modal for stage item
creation, etc.
2024-02-13 18:57:41 +01:00
Erik Vroon 6a0b9538eb Raise 404 on tournament not found (#474) 2024-02-13 10:06:59 +01:00
Erik Vroon f834fab2de Add pagination (#472)
Adds pagination (backend and frontend) to teams and players GET
endpoints
2024-02-12 19:08:50 +01:00
Erik Vroon 549243b1c3 Use fastapi routes for metrics (#467) 2024-02-11 17:56:02 +01:00
Erik Vroon 9479c92c97 Increase code coverage (#466)
Remove unused code and add some tests
Also fix detection of running pytest
2024-02-10 20:59:36 +01:00
Erik Vroon f7d79eae70 Autorun alembics (#455)
Runs alembic migration automatically on fastapi startup.
Can be disabled using config setting.
2024-02-10 16:36:58 +01:00
Erik Vroon 14728a62bb Make dashboard endpoint unique (#454) 2024-02-10 16:15:27 +01:00