Compare commits

..

3 Commits

Author SHA1 Message Date
fa4bbee815 chore(deps): update python to v3.14.3 (#416)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [python](https://python.org) ([source](https://github.com/python/cpython)) | requires-python | minor | `<3.14,>=3.13` → `<3.15,>=3.14` |
| python | final | minor | `3.13.9-slim` → `3.14.3-slim` |

---

### Release Notes

<details>
<summary>python/cpython (python)</summary>

### [`v3.14.3`](https://github.com/python/cpython/compare/v3.14.2...v3.14.3)

[Compare Source](https://github.com/python/cpython/compare/v3.14.2...v3.14.3)

### [`v3.14.2`](https://github.com/python/cpython/compare/v3.14.1...v3.14.2)

[Compare Source](https://github.com/python/cpython/compare/v3.14.1...v3.14.2)

### [`v3.14.1`](https://github.com/python/cpython/compare/v3.14.0...v3.14.1)

[Compare Source](https://github.com/python/cpython/compare/v3.14.0...v3.14.1)

### [`v3.14.0`](https://github.com/python/cpython/compare/v3.13.12...v3.14.0)

[Compare Source](https://github.com/python/cpython/compare/v3.13.12...v3.14.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4zLjEiLCJ1cGRhdGVkSW5WZXIiOiI0My4zMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #416
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
2026-02-28 14:18:49 +00:00
859383935c fix(test): fix assertion error in timestamp_to_date invalid test (#421)
Reviewed-on: #421
2026-02-28 14:16:30 +00:00
481828073c chore(deps): update dependency isort to <8.0.2,>=8.0.1 (#420)
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
2026-02-28 13:55:27 +00:00
3 changed files with 10 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ dependencies = [
dev = [
"black<26.1.1,>=26.1.0",
"coverage<8.0.0,>=7.6.10",
"isort<8.0.1,>=8.0.0",
"isort<8.0.2,>=8.0.1",
"pylint<4.1.0,>=4.0.0",
"pylint-exit<2.0.0,>=1.2.0",
"pytest<9.1.0,>=9.0.0",

View File

@@ -16,7 +16,11 @@ def test_correct() -> None:
def test_invalid() -> None:
"""Test timestamp_to_date() with an invalid timestamp."""
allowed_errors: list[str] = [
"'str' object cannot be interpreted as an integer",
"argument must be int or float, not str"
]
timestamp: str = "hello"
with pytest.raises(TypeError) as excinfo:
timestamp_to_date(timestamp)
assert "'str' object cannot be interpreted as an integer" in str(excinfo.value)
assert str(excinfo.value) in allowed_errors

8
uv.lock generated
View File

@@ -202,11 +202,11 @@ wheels = [
[[package]]
name = "isort"
version = "8.0.0"
version = "8.0.1"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/bf/e3/e72b0b3a85f24cf5fc2cd8e92b996592798f896024c5cdf3709232e6e377/isort-8.0.0.tar.gz", hash = "sha256:fddea59202f231e170e52e71e3510b99c373b6e571b55d9c7b31b679c0fed47c", size = 769482, upload-time = "2026-02-19T16:31:59.716Z" }
sdist = { url = "https://files.pythonhosted.org/packages/ef/7c/ec4ab396d31b3b395e2e999c8f46dec78c5e29209fac49d1f4dace04041d/isort-8.0.1.tar.gz", hash = "sha256:171ac4ff559cdc060bcfff550bc8404a486fee0caab245679c2abe7cb253c78d", size = 769592, upload-time = "2026-02-28T10:08:20.685Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/74/ea/cf3aad99dd12c026e2d6835d559efb6fc50ccfd5b46d42d5fec2608b116a/isort-8.0.0-py3-none-any.whl", hash = "sha256:184916a933041c7cf718787f7e52064f3c06272aff69a5cb4dc46497bd8911d9", size = 89715, upload-time = "2026-02-19T16:31:57.745Z" },
{ url = "https://files.pythonhosted.org/packages/3e/95/c7c34aa53c16353c56d0b802fba48d5f5caa2cdee7958acbcb795c830416/isort-8.0.1-py3-none-any.whl", hash = "sha256:28b89bc70f751b559aeca209e6120393d43fbe2490de0559662be7a9787e3d75", size = 89733, upload-time = "2026-02-28T10:08:19.466Z" },
]
[[package]]
@@ -420,7 +420,7 @@ requires-dist = [
dev = [
{ name = "black", specifier = ">=26.1.0,<26.1.1" },
{ name = "coverage", specifier = ">=7.6.10,<8.0.0" },
{ name = "isort", specifier = ">=8.0.0,<8.0.1" },
{ name = "isort", specifier = ">=8.0.1,<8.0.2" },
{ name = "pylint", specifier = ">=4.0.0,<4.1.0" },
{ name = "pylint-exit", specifier = ">=1.2.0,<2.0.0" },
{ name = "pytest", specifier = ">=9.0.0,<9.1.0" },