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="8d0511149a"><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="884baedb54"><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="dd72470a42"><code>dd72470</code></a>
Remove setup.py (<a
href="https://redirect.github.com/pyca/bcrypt/issues/842">#842</a>)</li>
<li><a
href="11961aff4d"><code>11961af</code></a>
Small cleanup (<a
href="https://redirect.github.com/pyca/bcrypt/issues/841">#841</a>)</li>
<li><a
href="65e08f7845"><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="7efb8fa6cb"><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="b1ec0341f9"><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="2e9cdc2db1"><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="d004722908"><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="bb100162a5"><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="bbcec9c465"><code>bbcec9c</code></a>
Prepare release version 8.3.2</li>
<li><a
href="78fe8b61fa"><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="238bad2d2a"><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="ae6034a781"><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="31337aba02"><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="ca3070b135"><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="de98446075"><code>de98446</code></a>
Prepare release version 8.3.1</li>
<li><a
href="bd0a042403"><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="664325bc9f"><code>664325b</code></a>
doc/changelog: update 8.3.0 notes</li>
<li><a
href="19d225d0ab"><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="de98446075"><code>de98446</code></a>
Prepare release version 8.3.1</li>
<li><a
href="bd0a042403"><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="664325bc9f"><code>664325b</code></a>
doc/changelog: update 8.3.0 notes</li>
<li><a
href="19d225d0ab"><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="bc3302850c"><code>bc33028</code></a>
Prepare release version 8.3.0</li>
<li><a
href="a7d5a8eba9"><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="ced7072bb4"><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="d42b76daad"><code>d42b76d</code></a>
Adjust test_errors_in_xfail_skip_expressions for PyPy</li>
<li><a
href="9eee45a747"><code>9eee45a</code></a>
Bump PyPy runtime to v3.9 @ GHA</li>
<li><a
href="d489247505"><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="329d371214"><code>329d371</code></a>
Prepare release version 8.2.2</li>
<li><a
href="214d098fcc"><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="153a436bc4"><code>153a436</code></a>
[8.2.x] fixtures: fix catastrophic performance problem in
<code>reorder_items</code></li>
<li><a
href="b41d5a52bb"><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="9bb73d734f"><code>9bb73d7</code></a>
[8.2.x] cacheprovider: fix &quot;Directory not empty&quot; crash from
cache directory c...</li>
<li><a
href="4569a01e3d"><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="1d103e5cdc"><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="240a252d34"><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="a5ee3c4126"><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="f7358aec28"><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="66ff8dffdf"><code>66ff8df</code></a>
Prepare release version 8.2.1</li>
<li><a
href="3ffcfd122c"><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="0b28313b46"><code>0b28313</code></a>
[8.2.x] Add Python 3.13 (beta) support</li>
<li><a
href="f3dd93ad8d"><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="bb5a1257b0"><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="f179bf252f"><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="2b671b5f92"><code>2b671b5</code></a>
[8.2.x] cacheprovider: fix <code>.pytest_cache</code> not being
world-readable</li>
<li><a
href="65ab7cb96c"><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="4d5fb7d71c"><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="cbe5996cc6"><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="35e5a6f5a5"><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="d99d1e568d"><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="0775d47c9a"><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="97d09ac5c1"><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="ee4a9a8dd1"><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="7d2474faa5"><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="7a252dde4d"><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="297a915720"><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="6b3f99eff2"><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="c88b31007d"><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="6bd3f31344"><code>6bd3f31</code></a>
Tweak changelog for 8.2.0</li>
<li><a
href="9b6219b5e8"><code>9b6219b</code></a>
Prepare release version 8.2.0</li>
<li><a
href="835765c9d3"><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="7e7503c0b0"><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="882c4da2f3"><code>882c4da</code></a>
fixtures: inline <code>fail_fixturefunc</code></li>
<li><a
href="2e8fb9f140"><code>2e8fb9f</code></a>
fixtures: extract a <code>_check_fixturedef</code> method</li>
<li><a
href="acf2971f46"><code>acf2971</code></a>
fixtures: inline <code>_getnextfixturedef</code> into
<code>_get_active_fixturedef</code></li>
<li><a
href="3c77aec1da"><code>3c77aec</code></a>
fixtures: move &quot;request&quot; check early</li>
<li><a
href="d217d68cde"><code>d217d68</code></a>
fixtures: inline <code>_compute_fixture_value</code></li>
<li><a
href="530be28575"><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="12de7f6c7d"><code>12de7f6</code></a>
[ci] Do not fail CI pipeline, if coverage upload fails.</li>
<li><a
href="b4aebfbd32"><code>b4aebfb</code></a>
[test] Addresses a Hypothesis health check that leads to failing
tests.</li>
<li><a
href="ef6144a41c"><code>ef6144a</code></a>
[refactor] Satisfy linters.</li>
<li><a
href="df294815c7"><code>df29481</code></a>
[docs] Added changelog entry.</li>
<li><a
href="2fb3b19ade"><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="a10cbde05f"><code>a10cbde</code></a>
[docs] Fixed typo.</li>
<li><a
href="82b010d686"><code>82b010d</code></a>
[docs] Add release date of v0.21.1 to changelog.</li>
<li><a
href="af08b1c70d"><code>af08b1c</code></a>
[test] Removed obsolete test &quot;test_async_close_loop&quot;.</li>
<li><a
href="79b2d1aed3"><code>79b2d1a</code></a>
[test] Added a test case which verifies compatibility with pytest.skip
in aut...</li>
<li><a
href="39a97548bf"><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="f8aa4a0097"><code>f8aa4a0</code></a>
Preparing release 1.5.0</li>
<li><a
href="b4a8c92fb1"><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="6f6ea680ca"><code>6f6ea68</code></a>
Add support deprecating hook parameters</li>
<li><a
href="91f88d28e3"><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="89ce829b44"><code>89ce829</code></a>
ci: replace upload-coverage script with codecov github action</li>
<li><a
href="29f104d21f"><code>29f104d</code></a>
Lift pluggy (<a
href="https://redirect.github.com/pytest-dev/pluggy/issues/493">#493</a>)</li>
<li><a
href="c2b36b44af"><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="2b533c9d9f"><code>2b533c9</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="04d1bcdbc7"><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="f74e94b17d"><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="81653ee385"><code>81653ee</code></a>
Adjust changelog manually for 8.1.1</li>
<li><a
href="e60b4b9ed8"><code>e60b4b9</code></a>
Prepare release version 8.1.1</li>
<li><a
href="15fbe57c44"><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="86c3aab005"><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="5b82b0cd20"><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="0a536810dc"><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="b9a167f9bb"><code>b9a167f</code></a>
Prepare release version 8.1.0</li>
<li><a
href="00043f7f10"><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="f4e10251a4"><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="43492f5707"><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="b9a167f9bb"><code>b9a167f</code></a>
Prepare release version 8.1.0</li>
<li><a
href="00043f7f10"><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="f4e10251a4"><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="43492f5707"><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="82fe28dae4"><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="5e2ee7175c"><code>5e2ee71</code></a>
monkeypatch.delenv PYTHONBREAKPOINT in two tests that previously
failed/skipped</li>
<li><a
href="89ee4493cc"><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="8248946a55"><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="434282e17f"><code>434282e</code></a>
fixtures: use exception group when multiple finalizers raise in fixture
teardown</li>
<li><a
href="d6134bc21e"><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="31afeeb0df"><code>31afeeb</code></a>
Prepare release version 8.0.2</li>
<li><a
href="1b00a2f4fb"><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="ff2f66d84a"><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="8a8eed609c"><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="74346f027c"><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="b7657b4d6b"><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="feb7c5e12e"><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="090965574e"><code>0909655</code></a>
[8.0.x] code: fix <code>IndexError</code> crash in
<code>getstatementrange_ast</code></li>
<li><a
href="68524d4858"><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="d7d320a15a"><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="d7d320a15a"><code>d7d320a</code></a>
Prepare release version 8.0.1</li>
<li><a
href="93699166dc"><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="a232abd56c"><code>a232abd</code></a>
[8.0.x] recwarn: fix pytest.warns handling of Warnings with multiple
arguments</li>
<li><a
href="92203d2b78"><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="f1aa9226ac"><code>f1aa922</code></a>
[8.0.x] recwarn: let base exceptions propagate through
<code>pytest.warns</code> again</li>
<li><a
href="d86d081563"><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="c554c3d200"><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="a6851e3459"><code>a6851e3</code></a>
[8.0.x] main: fix reversed collection order in Session</li>
<li><a
href="e6f6be3bc9"><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="23b91d12de"><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="2efd28ef5d"><code>2efd28e</code></a>
Preparing release 1.4.0</li>
<li><a
href="ebeb2f2e78"><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="3a28b4d7a6"><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="4331b7a164"><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="7aef3e608f"><code>7aef3e6</code></a>
hooks: fix plugins registering other plugins in a hook</li>
<li><a
href="cc36605090"><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="443fee6d7a"><code>443fee6</code></a>
hooks: fix <code>call_extra</code> extra methods getting ordered before
everything else</li>
<li><a
href="4577b459a9"><code>4577b45</code></a>
hooks: add comment describing <code>_hookimpls</code>'s
format/invariants.</li>
<li><a
href="13b3661080"><code>13b3661</code></a>
Add <code>PluginManager.unblock</code> method to unblock a name</li>
<li><a
href="4b5b2d4ede"><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="478f8233bc"><code>478f823</code></a>
Prepare release version 8.0.0</li>
<li><a
href="608590097a"><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="3b41c65c81"><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="747072ad26"><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="011a475baf"><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="97960bdd14"><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="6be0a3cbf7"><code>6be0a3c</code></a>
Prepare release version 8.0.0rc2</li>
<li><a
href="44ffe07165"><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="14ecb04973"><code>14ecb04</code></a>
[8.0.x] testing: temporarily disable test due to hypothesis issue</li>
<li><a
href="41c8dabee3"><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="d653b310e9"><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="9795187928"><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="25fa29515d"><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="c09542802a"><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="f3f0c6f0ba"><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="71ea4adfea"><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="ab5eb718a7"><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="b6eba5f7a1"><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="77d9b8aa7d"><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="6b0c767588"><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