mirror of
https://github.com/andrewthetechie/py-healthchecks.io.git
synced 2025-12-05 09:08:09 +01:00
Compare commits
104 Commits
v0.4.1
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2784e33cb5 | ||
|
|
781692796a | ||
|
|
694c51731c | ||
|
|
956f9c77b0 | ||
|
|
162797b339 | ||
|
|
0617e87836 | ||
|
|
2a738721f7 | ||
|
|
e716d9655f | ||
|
|
05413c55c4 | ||
|
|
2d4b8f77a1 | ||
|
|
e4a42b5fba | ||
|
|
23210159a2 | ||
|
|
2b6835315e | ||
|
|
f4c75a7019 | ||
|
|
d755edaba9 | ||
|
|
a7a58b227b | ||
|
|
e99868ea89 | ||
|
|
dfd12b788e | ||
|
|
6bfa9cd706 | ||
|
|
b2b2b0f09e | ||
|
|
5adb0e1173 | ||
|
|
de4fdc7b6a | ||
|
|
e64dbf8dfd | ||
|
|
2cfe5d18f9 | ||
|
|
3a7c763157 | ||
|
|
24884ec045 | ||
|
|
eecca2265a | ||
|
|
2cfa474093 | ||
|
|
c3e10b1e0d | ||
|
|
65b996e3f4 | ||
|
|
876741fe16 | ||
|
|
32c30445b9 | ||
|
|
282646e25b | ||
|
|
1aaa0549f2 | ||
|
|
9c2cde0159 | ||
|
|
7091a2a138 | ||
|
|
5108b4317f | ||
|
|
4f8bb6b9a4 | ||
|
|
10af98dcdd | ||
|
|
aadeceb327 | ||
|
|
37c780e865 | ||
|
|
e1a81aa145 | ||
|
|
305e72ead2 | ||
|
|
dd305ed93f | ||
|
|
c8aba10262 | ||
|
|
c4fa6e7ac3 | ||
|
|
7641446884 | ||
|
|
c4a73b1a57 | ||
|
|
5113322177 | ||
|
|
d9d67f2e0b | ||
|
|
e7756fbf28 | ||
|
|
4f0cd0b56e | ||
|
|
bf610095cb | ||
|
|
7a3c8d0a56 | ||
|
|
14fb13b075 | ||
|
|
b2448021be | ||
|
|
97b62b6005 | ||
|
|
86fd192f95 | ||
|
|
4de0f1ac2f | ||
|
|
02c3739c38 | ||
|
|
3ca1d33d7c | ||
|
|
ed43967801 | ||
|
|
08bf505f70 | ||
|
|
e88be9e88f | ||
|
|
95b93e857b | ||
|
|
483ad538bc | ||
|
|
90e150f049 | ||
|
|
f64e81fa0c | ||
|
|
277f7b5395 | ||
|
|
6262bf2a5a | ||
|
|
92b31dcb3d | ||
|
|
8e3d977abd | ||
|
|
af20f3bc11 | ||
|
|
3d49ae3b99 | ||
|
|
d065a29b66 | ||
|
|
aaad153b83 | ||
|
|
d9493ba25a | ||
|
|
cb9d03af5f | ||
|
|
a4b73966f1 | ||
|
|
e075a31fa3 | ||
|
|
c071ced5bf | ||
|
|
67ec0b5d58 | ||
|
|
6bae975521 | ||
|
|
f9e0fd0bd1 | ||
|
|
7fa3e2ff1a | ||
|
|
4d00499f94 | ||
|
|
5325352bae | ||
|
|
627f070e3f | ||
|
|
b372e66c44 | ||
|
|
55ea01de63 | ||
|
|
a78d6d9a85 | ||
|
|
0f52d6b535 | ||
|
|
e46f70c470 | ||
|
|
e24fcb233b | ||
|
|
afa83a2528 | ||
|
|
f615e35468 | ||
|
|
6e88834d93 | ||
|
|
78393be66b | ||
|
|
802520d454 | ||
|
|
97723e91b6 | ||
|
|
c56e048635 | ||
|
|
1f8449ca40 | ||
|
|
f94538951c | ||
|
|
b7438af127 |
8
.github/workflows/constraints.txt
vendored
8
.github/workflows/constraints.txt
vendored
@@ -1,6 +1,6 @@
|
||||
pip==24.0.0
|
||||
nox==2024.4.15
|
||||
pip==24.2
|
||||
nox==2024.10.9
|
||||
nox-poetry==1.0.3
|
||||
poetry==1.8.2
|
||||
virtualenv==20.26.1
|
||||
poetry==1.8.4
|
||||
virtualenv==20.27.1
|
||||
toml==0.10.2
|
||||
|
||||
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
@@ -13,6 +13,6 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run Labeler
|
||||
uses: crazy-max/ghaction-github-labeler@v5.0.0
|
||||
uses: crazy-max/ghaction-github-labeler@v5.1.0
|
||||
with:
|
||||
skip-delete: true
|
||||
|
||||
4
.github/workflows/pre-release.yml
vendored
4
.github/workflows/pre-release.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5.1.0
|
||||
uses: actions/setup-python@v5.3.0
|
||||
with:
|
||||
python-version: "3.10"
|
||||
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
poetry build --ansi
|
||||
|
||||
- name: Publish package on TestPyPI
|
||||
uses: pypa/gh-action-pypi-publish@v1.8.14
|
||||
uses: pypa/gh-action-pypi-publish@v1.13.0
|
||||
with:
|
||||
user: __token__
|
||||
password: ${{ secrets.TEST_PYPI_TOKEN }}
|
||||
|
||||
2
.github/workflows/release-please.yml
vendored
2
.github/workflows/release-please.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: google-github-actions/release-please-action@v3
|
||||
- uses: google-github-actions/release-please-action@v4
|
||||
with:
|
||||
token: ${{ secrets.THIS_PAT }}
|
||||
release-type: python
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5.1.0
|
||||
uses: actions/setup-python@v5.3.0
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: Install pip and poetry
|
||||
|
||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python }}
|
||||
uses: actions/setup-python@v5.1.0
|
||||
uses: actions/setup-python@v5.3.0
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
fh.write(f"result={result}\n")
|
||||
|
||||
- name: Restore pre-commit cache
|
||||
uses: actions/cache@v4.0.2
|
||||
uses: actions/cache@v4.1.2
|
||||
if: matrix.session == 'pre-commit'
|
||||
with:
|
||||
path: ~/.cache/pre-commit
|
||||
|
||||
94
CHANGELOG.md
94
CHANGELOG.md
@@ -1,5 +1,99 @@
|
||||
# Changelog
|
||||
|
||||
## [0.4.4](https://github.com/andrewthetechie/py-healthchecks.io/compare/v0.4.3...v0.4.4) (2025-04-16)
|
||||
|
||||
|
||||
### Dependencies
|
||||
|
||||
* bump certifi from 2024.6.2 to 2024.7.4 in the pip group ([#707](https://github.com/andrewthetechie/py-healthchecks.io/issues/707)) ([92b31dc](https://github.com/andrewthetechie/py-healthchecks.io/commit/92b31dcb3d8b31521fc98187bc0e2f12d41e0f4a))
|
||||
* bump coverage from 7.5.4 to 7.6.0 ([#711](https://github.com/andrewthetechie/py-healthchecks.io/issues/711)) ([90e150f](https://github.com/andrewthetechie/py-healthchecks.io/commit/90e150f049b7fe25a84c178d0939a0a78635d3a0))
|
||||
* bump coverage from 7.6.0 to 7.6.1 ([#739](https://github.com/andrewthetechie/py-healthchecks.io/issues/739)) ([d9d67f2](https://github.com/andrewthetechie/py-healthchecks.io/commit/d9d67f2e0bbf9c6917ee95f3a36c9baaf26af5cf))
|
||||
* bump croniter from 2.0.5 to 2.0.7 ([#714](https://github.com/andrewthetechie/py-healthchecks.io/issues/714)) ([e88be9e](https://github.com/andrewthetechie/py-healthchecks.io/commit/e88be9e88f2b53005c8f8bcf85c667f5fc10e9a7))
|
||||
* bump croniter from 2.0.7 to 3.0.3 ([#734](https://github.com/andrewthetechie/py-healthchecks.io/issues/734)) ([e1a81aa](https://github.com/andrewthetechie/py-healthchecks.io/commit/e1a81aa145fc6b9c6105d6634bc8bd4111e48f01))
|
||||
* bump furo from 2024.5.6 to 2024.7.18 ([#721](https://github.com/andrewthetechie/py-healthchecks.io/issues/721)) ([86fd192](https://github.com/andrewthetechie/py-healthchecks.io/commit/86fd192f95128aac66e0087e22a7fe93030a0bbe))
|
||||
* bump furo from 2024.5.6 to 2024.7.18 ([#725](https://github.com/andrewthetechie/py-healthchecks.io/issues/725)) ([14fb13b](https://github.com/andrewthetechie/py-healthchecks.io/commit/14fb13b075a20cfaafd6f29b4d477b687369a62f))
|
||||
* bump furo from 2024.7.18 to 2024.8.6 ([#742](https://github.com/andrewthetechie/py-healthchecks.io/issues/742)) ([c4fa6e7](https://github.com/andrewthetechie/py-healthchecks.io/commit/c4fa6e7ac37bda53ffe2f18fb1162c1d1bf48602))
|
||||
* bump furo from 2024.7.18 to 2024.8.6 ([#743](https://github.com/andrewthetechie/py-healthchecks.io/issues/743)) ([c8aba10](https://github.com/andrewthetechie/py-healthchecks.io/commit/c8aba10262d2f75347d7841dfddfe7193978f991))
|
||||
* bump httpx from 0.27.0 to 0.27.2 ([#753](https://github.com/andrewthetechie/py-healthchecks.io/issues/753)) ([1aaa054](https://github.com/andrewthetechie/py-healthchecks.io/commit/1aaa0549f2c7222c52d9c5ec4cd21dd845eb553d))
|
||||
* bump mypy from 1.10.1 to 1.11.0 ([#724](https://github.com/andrewthetechie/py-healthchecks.io/issues/724)) ([b244802](https://github.com/andrewthetechie/py-healthchecks.io/commit/b2448021bea1024aeb55b029bb8a41670df64c4e))
|
||||
* bump mypy from 1.11.0 to 1.11.1 ([#736](https://github.com/andrewthetechie/py-healthchecks.io/issues/736)) ([4f0cd0b](https://github.com/andrewthetechie/py-healthchecks.io/commit/4f0cd0b56e47352b39f174b047167bf50e59808d))
|
||||
* bump mypy from 1.11.1 to 1.11.2 ([#752](https://github.com/andrewthetechie/py-healthchecks.io/issues/752)) ([9c2cde0](https://github.com/andrewthetechie/py-healthchecks.io/commit/9c2cde0159b566edc2c21cf3da297fe84f637031))
|
||||
* bump pydantic from 2.8.0 to 2.8.1 ([#703](https://github.com/andrewthetechie/py-healthchecks.io/issues/703)) ([3d49ae3](https://github.com/andrewthetechie/py-healthchecks.io/commit/3d49ae3b997525ca62f0db68fe4d7af946759a52))
|
||||
* bump pydantic from 2.8.1 to 2.8.2 ([#705](https://github.com/andrewthetechie/py-healthchecks.io/issues/705)) ([af20f3b](https://github.com/andrewthetechie/py-healthchecks.io/commit/af20f3bc11f9278b1f914e431c201cd88372f6a5))
|
||||
* bump pydantic from 2.8.2 to 2.9.0 ([#761](https://github.com/andrewthetechie/py-healthchecks.io/issues/761)) ([eecca22](https://github.com/andrewthetechie/py-healthchecks.io/commit/eecca2265a7fce5615d0d954604e547d0fe7617b))
|
||||
* bump pydantic from 2.9.0 to 2.9.1 ([#763](https://github.com/andrewthetechie/py-healthchecks.io/issues/763)) ([3a7c763](https://github.com/andrewthetechie/py-healthchecks.io/commit/3a7c763157a81f7b7d9841efa235e02f1cf0ef46))
|
||||
* bump pydantic from 2.9.1 to 2.9.2 ([#769](https://github.com/andrewthetechie/py-healthchecks.io/issues/769)) ([5adb0e1](https://github.com/andrewthetechie/py-healthchecks.io/commit/5adb0e117361127c412063e15b90a98587d56772))
|
||||
* bump pytest-asyncio from 0.23.7 to 0.23.8 ([#717](https://github.com/andrewthetechie/py-healthchecks.io/issues/717)) ([3ca1d33](https://github.com/andrewthetechie/py-healthchecks.io/commit/3ca1d33d7c60083d943d9d6c0e9277bc98d419c2))
|
||||
* bump ruff from 0.5.0 to 0.5.1 ([#709](https://github.com/andrewthetechie/py-healthchecks.io/issues/709)) ([277f7b5](https://github.com/andrewthetechie/py-healthchecks.io/commit/277f7b539540e3ae52aea59fd4236ce33c624c49))
|
||||
* bump ruff from 0.5.1 to 0.5.2 ([#712](https://github.com/andrewthetechie/py-healthchecks.io/issues/712)) ([483ad53](https://github.com/andrewthetechie/py-healthchecks.io/commit/483ad538bc8a45384a1446a700deb5df40b20eb7))
|
||||
* bump ruff from 0.5.2 to 0.5.3 ([#718](https://github.com/andrewthetechie/py-healthchecks.io/issues/718)) ([02c3739](https://github.com/andrewthetechie/py-healthchecks.io/commit/02c3739c3892d55919e1e029b63cfe65e4a5bd12))
|
||||
* bump ruff from 0.5.3 to 0.5.4 ([#723](https://github.com/andrewthetechie/py-healthchecks.io/issues/723)) ([97b62b6](https://github.com/andrewthetechie/py-healthchecks.io/commit/97b62b600508a418e3a376a48773999af72fbc03))
|
||||
* bump ruff from 0.5.4 to 0.5.5 ([#730](https://github.com/andrewthetechie/py-healthchecks.io/issues/730)) ([bf61009](https://github.com/andrewthetechie/py-healthchecks.io/commit/bf610095cbebe96a37b383a854c1a782f1881ccb))
|
||||
* bump ruff from 0.5.5 to 0.5.6 ([#740](https://github.com/andrewthetechie/py-healthchecks.io/issues/740)) ([5113322](https://github.com/andrewthetechie/py-healthchecks.io/commit/5113322177cf13522ab920cef9f021ebe629b172))
|
||||
* bump ruff from 0.5.6 to 0.5.7 ([#744](https://github.com/andrewthetechie/py-healthchecks.io/issues/744)) ([dd305ed](https://github.com/andrewthetechie/py-healthchecks.io/commit/dd305ed93f6a15ba06891176b00103f3b3e4a8c3))
|
||||
* bump ruff from 0.5.7 to 0.6.0 ([#747](https://github.com/andrewthetechie/py-healthchecks.io/issues/747)) ([aadeceb](https://github.com/andrewthetechie/py-healthchecks.io/commit/aadeceb3277970f00f8137ed8a4b7cfbabee011d))
|
||||
* bump ruff from 0.6.0 to 0.6.1 ([#748](https://github.com/andrewthetechie/py-healthchecks.io/issues/748)) ([10af98d](https://github.com/andrewthetechie/py-healthchecks.io/commit/10af98dcddc2b5fb031153fad4e68a1085805e43))
|
||||
* bump ruff from 0.6.1 to 0.6.2 ([#751](https://github.com/andrewthetechie/py-healthchecks.io/issues/751)) ([7091a2a](https://github.com/andrewthetechie/py-healthchecks.io/commit/7091a2a1384b6c01622b370a9626788bb4e761b1))
|
||||
* bump ruff from 0.6.2 to 0.6.3 ([#756](https://github.com/andrewthetechie/py-healthchecks.io/issues/756)) ([876741f](https://github.com/andrewthetechie/py-healthchecks.io/commit/876741fe16f78d7f60de56e4b3e81ae426a79464))
|
||||
* bump ruff from 0.6.3 to 0.6.4 ([#760](https://github.com/andrewthetechie/py-healthchecks.io/issues/760)) ([2cfa474](https://github.com/andrewthetechie/py-healthchecks.io/commit/2cfa47409352015e3dfb8d9c7e6c88f0de28b878))
|
||||
* bump ruff from 0.6.4 to 0.6.5 ([#766](https://github.com/andrewthetechie/py-healthchecks.io/issues/766)) ([2cfe5d1](https://github.com/andrewthetechie/py-healthchecks.io/commit/2cfe5d18f978e31ad154c458f318d674788a65cf))
|
||||
* bump ruff from 0.6.5 to 0.6.7 ([#771](https://github.com/andrewthetechie/py-healthchecks.io/issues/771)) ([6bfa9cd](https://github.com/andrewthetechie/py-healthchecks.io/commit/6bfa9cd706d1271d8ecb0632418c6a82c51f4153))
|
||||
* bump ruff from 0.6.7 to 0.6.8 ([#773](https://github.com/andrewthetechie/py-healthchecks.io/issues/773)) ([dfd12b7](https://github.com/andrewthetechie/py-healthchecks.io/commit/dfd12b788eb1c0fac394c46bd4345cb1ee79bccf))
|
||||
* bump safety from 3.2.3 to 3.2.4 ([#706](https://github.com/andrewthetechie/py-healthchecks.io/issues/706)) ([8e3d977](https://github.com/andrewthetechie/py-healthchecks.io/commit/8e3d977abdf725714fd534c5ac05a20f92a5aee9))
|
||||
* bump safety from 3.2.4 to 3.2.5 ([#745](https://github.com/andrewthetechie/py-healthchecks.io/issues/745)) ([305e72e](https://github.com/andrewthetechie/py-healthchecks.io/commit/305e72ead297423db8849392a5b307da6b11f85e))
|
||||
* bump safety from 3.2.5 to 3.2.6 ([#750](https://github.com/andrewthetechie/py-healthchecks.io/issues/750)) ([5108b43](https://github.com/andrewthetechie/py-healthchecks.io/commit/5108b4317f373cc7f2b5d32b42df913e8040a790))
|
||||
* bump safety from 3.2.6 to 3.2.7 ([#755](https://github.com/andrewthetechie/py-healthchecks.io/issues/755)) ([32c3044](https://github.com/andrewthetechie/py-healthchecks.io/commit/32c30445b9cc0435978efce186b7fe29aa0350b0))
|
||||
* bump safety from 3.2.7 to 3.2.8 ([#775](https://github.com/andrewthetechie/py-healthchecks.io/issues/775)) ([a7a58b2](https://github.com/andrewthetechie/py-healthchecks.io/commit/a7a58b227b4069141ff36c36c4cf7906da23c7ac))
|
||||
* bump types-croniter from 2.0.0.20240423 to 2.0.5.20240717 ([#716](https://github.com/andrewthetechie/py-healthchecks.io/issues/716)) ([ed43967](https://github.com/andrewthetechie/py-healthchecks.io/commit/ed439678011e940f27d8694348afa96666e42cc5))
|
||||
* bump types-croniter from 2.0.5.20240717 to 3.0.3.20240731 ([#737](https://github.com/andrewthetechie/py-healthchecks.io/issues/737)) ([c4a73b1](https://github.com/andrewthetechie/py-healthchecks.io/commit/c4a73b1a570ad458e4d05ea3198b2e6fc6b633f5))
|
||||
* bump types-pytz from 2024.1.0.20240417 to 2024.2.0.20240913 ([#767](https://github.com/andrewthetechie/py-healthchecks.io/issues/767)) ([e64dbf8](https://github.com/andrewthetechie/py-healthchecks.io/commit/e64dbf8dfd54546ac50cba40c0f3667ddac7d3b2))
|
||||
* bump xdoctest from 1.1.5 to 1.1.6 ([#738](https://github.com/andrewthetechie/py-healthchecks.io/issues/738)) ([e7756fb](https://github.com/andrewthetechie/py-healthchecks.io/commit/e7756fbf283ba5f674fcf8dbb2b04f4acc721174))
|
||||
* bump xdoctest from 1.1.6 to 1.2.0 ([#749](https://github.com/andrewthetechie/py-healthchecks.io/issues/749)) ([4f8bb6b](https://github.com/andrewthetechie/py-healthchecks.io/commit/4f8bb6b9a46912831863420556db76f66f46a272))
|
||||
|
||||
|
||||
### Documentation
|
||||
|
||||
* bump sphinx from 7.3.7 to 7.4.4 in /docs ([#713](https://github.com/andrewthetechie/py-healthchecks.io/issues/713)) ([95b93e8](https://github.com/andrewthetechie/py-healthchecks.io/commit/95b93e857b41129310171f11eea3884918b15b02))
|
||||
* bump sphinx from 7.4.4 to 7.4.5 in /docs ([#715](https://github.com/andrewthetechie/py-healthchecks.io/issues/715)) ([08bf505](https://github.com/andrewthetechie/py-healthchecks.io/commit/08bf505f70c2d096e46f3f5ac6c26249b4673bfa))
|
||||
* bump sphinx from 7.4.5 to 7.4.6 in /docs ([#719](https://github.com/andrewthetechie/py-healthchecks.io/issues/719)) ([4de0f1a](https://github.com/andrewthetechie/py-healthchecks.io/commit/4de0f1ac2faedcb39be1fbf9fbf40b88ba6ab309))
|
||||
* bump sphinx from 7.4.6 to 7.4.7 in /docs ([#726](https://github.com/andrewthetechie/py-healthchecks.io/issues/726)) ([7a3c8d0](https://github.com/andrewthetechie/py-healthchecks.io/commit/7a3c8d0a5616472bae35f408951034d4dc5ea80d))
|
||||
* bump sphinx from 7.4.7 to 8.0.2 in /docs ([#735](https://github.com/andrewthetechie/py-healthchecks.io/issues/735)) ([37c780e](https://github.com/andrewthetechie/py-healthchecks.io/commit/37c780e865d30684ded5d6038802b5474eaa1211))
|
||||
* bump sphinx from 8.0.2 to 8.1.0 in /docs ([#781](https://github.com/andrewthetechie/py-healthchecks.io/issues/781)) ([e4a42b5](https://github.com/andrewthetechie/py-healthchecks.io/commit/e4a42b5fba052259a22a7de62061cc20681d2a8e))
|
||||
* bump sphinx from 8.1.0 to 8.1.3 in /docs ([#782](https://github.com/andrewthetechie/py-healthchecks.io/issues/782)) ([2d4b8f7](https://github.com/andrewthetechie/py-healthchecks.io/commit/2d4b8f77a1a55c303180b263aa8f38ae8874845b))
|
||||
|
||||
## [0.4.3](https://github.com/andrewthetechie/py-healthchecks.io/compare/v0.4.2...v0.4.3) (2024-07-03)
|
||||
|
||||
|
||||
### Dependencies
|
||||
|
||||
* bump coverage from 7.5.1 to 7.5.2 ([#680](https://github.com/andrewthetechie/py-healthchecks.io/issues/680)) ([b372e66](https://github.com/andrewthetechie/py-healthchecks.io/commit/b372e66c44ae403af042a43b3d7de41142570eb3))
|
||||
* bump coverage from 7.5.2 to 7.5.3 ([#683](https://github.com/andrewthetechie/py-healthchecks.io/issues/683)) ([5325352](https://github.com/andrewthetechie/py-healthchecks.io/commit/5325352bae60b332f4602e37adb3f35cc8ae11c7))
|
||||
* bump httpx from 0.24.1 to 0.27.0 ([#668](https://github.com/andrewthetechie/py-healthchecks.io/issues/668)) ([6e88834](https://github.com/andrewthetechie/py-healthchecks.io/commit/6e88834d93ea28f9bfeb7b81bcac8227ee38580c))
|
||||
* bump pre-commit from 2.21.0 to 3.5.0 ([#669](https://github.com/andrewthetechie/py-healthchecks.io/issues/669)) ([4d00499](https://github.com/andrewthetechie/py-healthchecks.io/commit/4d00499f94c7e6ad4af86742996fca9c266e8ddf))
|
||||
* bump pytz from 2023.4 to 2024.1 ([#670](https://github.com/andrewthetechie/py-healthchecks.io/issues/670)) ([67ec0b5](https://github.com/andrewthetechie/py-healthchecks.io/commit/67ec0b5d58563c0fb92ee5a7754706b07d767c11))
|
||||
* bump reorder-python-imports from 3.12.0 to 3.13.0 ([#685](https://github.com/andrewthetechie/py-healthchecks.io/issues/685)) ([c071ced](https://github.com/andrewthetechie/py-healthchecks.io/commit/c071ced5bfc00fcfef922d01a3c70961f03176d6))
|
||||
* bump ruff from 0.4.3 to 0.4.4 ([#675](https://github.com/andrewthetechie/py-healthchecks.io/issues/675)) ([e46f70c](https://github.com/andrewthetechie/py-healthchecks.io/commit/e46f70c4708eb703c0f02a97efe62a94145f6e58))
|
||||
* bump ruff from 0.4.4 to 0.4.5 ([#679](https://github.com/andrewthetechie/py-healthchecks.io/issues/679)) ([55ea01d](https://github.com/andrewthetechie/py-healthchecks.io/commit/55ea01de63c43865c0b41b4248f02d96b17f1c07))
|
||||
* bump ruff from 0.4.5 to 0.4.6 ([#681](https://github.com/andrewthetechie/py-healthchecks.io/issues/681)) ([627f070](https://github.com/andrewthetechie/py-healthchecks.io/commit/627f070e3fcbaf53a523a5b81b0699e39ffc4229))
|
||||
* bump ruff from 0.4.6 to 0.5.0 ([#699](https://github.com/andrewthetechie/py-healthchecks.io/issues/699)) ([f9e0fd0](https://github.com/andrewthetechie/py-healthchecks.io/commit/f9e0fd0bd135621f031ed5d490cfabdd90c8991d))
|
||||
* bump the pip group with 3 updates ([#694](https://github.com/andrewthetechie/py-healthchecks.io/issues/694)) ([a4b7396](https://github.com/andrewthetechie/py-healthchecks.io/commit/a4b73966f1b44c609bd9bdd25505429bb8b772a8))
|
||||
* bump types-pytz from 2023.4.0.20240130 to 2024.1.0.20240417 ([#672](https://github.com/andrewthetechie/py-healthchecks.io/issues/672)) ([e24fcb2](https://github.com/andrewthetechie/py-healthchecks.io/commit/e24fcb233bd7a35f3999e9fb7bd174ef357ecdcb))
|
||||
|
||||
## [0.4.2](https://github.com/andrewthetechie/py-healthchecks.io/compare/v0.4.1...v0.4.2) (2024-05-07)
|
||||
|
||||
|
||||
### Dependencies
|
||||
|
||||
* bump croniter from 1.4.1 to 2.0.5 ([#660](https://github.com/andrewthetechie/py-healthchecks.io/issues/660)) ([f945389](https://github.com/andrewthetechie/py-healthchecks.io/commit/f94538951c0aed4b0528974d6cb29c4cfd859845))
|
||||
* bump pytest-cov from 4.1.0 to 5.0.0 ([#663](https://github.com/andrewthetechie/py-healthchecks.io/issues/663)) ([802520d](https://github.com/andrewthetechie/py-healthchecks.io/commit/802520d4548d70e5597321e02b8d11af322431bd))
|
||||
* bump safety from 2.3.5 to 3.2.0 ([#661](https://github.com/andrewthetechie/py-healthchecks.io/issues/661)) ([c56e048](https://github.com/andrewthetechie/py-healthchecks.io/commit/c56e048635d32eb9cf5c4f82a9929e9065da5735))
|
||||
* bump sphinx from 5.3.0 to 7.1.2 ([#662](https://github.com/andrewthetechie/py-healthchecks.io/issues/662)) ([97723e9](https://github.com/andrewthetechie/py-healthchecks.io/commit/97723e91b631e3c4266a090e169eb19ffe1de153))
|
||||
|
||||
|
||||
### Documentation
|
||||
|
||||
* bump furo from 2024.4.27 to 2024.5.6 in /docs ([#665](https://github.com/andrewthetechie/py-healthchecks.io/issues/665)) ([b7438af](https://github.com/andrewthetechie/py-healthchecks.io/commit/b7438af1275ce8fceb5d996aabd28cce5ca1193c))
|
||||
|
||||
## [0.4.1](https://github.com/andrewthetechie/py-healthchecks.io/compare/v0.4.0...v0.4.1) (2024-05-05)
|
||||
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
furo==2024.4.27
|
||||
sphinx==7.3.7
|
||||
furo==2024.8.6
|
||||
sphinx==8.1.3
|
||||
|
||||
@@ -121,7 +121,11 @@ def safety(session: Session) -> None:
|
||||
session.install("safety")
|
||||
# ignore https://github.com/pytest-dev/py/issues/287
|
||||
# its an irresposnbily filed CVE causing nose
|
||||
session.run("safety", "check", "--full-report", f"--file={requirements}", "--ignore=51457")
|
||||
# ignore https://data.safetycli.com/v/70612/97c/
|
||||
# Jinja2 vulnerability, maintainer believe it is not a valid vulnerability
|
||||
# ignore https://data.safetycli.com/v/71064/97c/
|
||||
# requests vulnerability. The fixed version is not compatible with the packaging library
|
||||
session.run("safety", "check", "--full-report", f"--file={requirements}", "--ignore=51457,70612,71064")
|
||||
|
||||
|
||||
@session(python=python_versions)
|
||||
|
||||
997
poetry.lock
generated
997
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,13 @@
|
||||
[tool.poetry]
|
||||
name = "healthchecks_io"
|
||||
version = "0.4.1"
|
||||
version = "0.4.4"
|
||||
description = "A python client package for Healthchecks.io API"
|
||||
authors = ["Andrew Herrington <andrew.the.techie@gmail.com>"]
|
||||
license = "MIT"
|
||||
readme = "README.rst"
|
||||
homepage = "https://github.com/andrewthetechie/py-healthchecks.io"
|
||||
repository = "https://github.com/andrewthetechie/py-healthchecks.io"
|
||||
documentation = "https://py-healthchecks.io.readthedocs.io"
|
||||
documentation = "https://py-healthchecksio.readthedocs.io"
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
@@ -26,33 +26,34 @@ Changelog = "https://github.com/andrewthetechie/py-healthchecks.io/releases"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.8"
|
||||
pydantic = "^1.9.1"
|
||||
httpx = ">=0.23.0,<0.25.0"
|
||||
croniter = "^1.1.0"
|
||||
pytz = ">=2021.3,<2024.0"
|
||||
pydantic = ">=1.9.1,<3.0.0"
|
||||
httpx = ">=0.23.0,<0.28.0"
|
||||
croniter = ">=1.1,<4.0"
|
||||
pytz = ">=2024.1,<2025.0"
|
||||
packaging = "^24.1"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pytest = "^7.2.1"
|
||||
coverage = {extras = ["toml"], version = "^7.1"}
|
||||
safety = "^2.3.5"
|
||||
safety = ">=2.3.5,<4.0.0"
|
||||
mypy = "^1.0"
|
||||
xdoctest = {extras = ["colors"], version = "^1.1.1"}
|
||||
sphinx = ">=4.3.2,<6.0.0"
|
||||
sphinx = ">=4.3.2,<8.0.0"
|
||||
sphinx-autobuild = ">=2021.3.14"
|
||||
pre-commit = "^2.21.0"
|
||||
pre-commit = ">=2.21,<4.0"
|
||||
reorder-python-imports = "^3.9.0"
|
||||
pre-commit-hooks = "^4.4.0"
|
||||
pyupgrade = "^3.3.1"
|
||||
furo = ">=2021.11.12"
|
||||
pytest-cov = "^4.0.0"
|
||||
types-croniter = ">=1.3.2,<3.0.0"
|
||||
types-pytz = ">=2022.7.1,<2024.0.0"
|
||||
pytest-cov = ">=4,<6"
|
||||
types-croniter = ">=1.3.2,<4.0.0"
|
||||
types-pytz = ">=2022.7.1,<2025.0.0"
|
||||
pytest-asyncio = ">=0.20.3,<0.24.0"
|
||||
respx = ">=0.20.1,<0.22.0"
|
||||
pytest-mock = "^3.10.0"
|
||||
pytest-lazy-fixture = "^0.6.3"
|
||||
pytest-xdist = "^3.2.0"
|
||||
ruff = ">=0.0.249,<0.4.4"
|
||||
ruff = ">=0.5.1,<0.6.9"
|
||||
bandit = "^1.7.4"
|
||||
|
||||
[tool.coverage.paths]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""Py Healthchecks.Io."""
|
||||
|
||||
# set by poetry-dynamic-versioning
|
||||
__version__ = "0.4.1" # noqa: E402
|
||||
__version__ = "0.4.4" # noqa: E402
|
||||
|
||||
from .client import AsyncClient # noqa: F401, E402
|
||||
from .client import Client # noqa: F401, E402
|
||||
|
||||
@@ -302,6 +302,7 @@ class Client(AbstractClient):
|
||||
|
||||
svg, json, shields: reports two states: "up" and "down". It considers any checks in the grace period
|
||||
as still "up".
|
||||
|
||||
svg3, json3, shields3: reports three states: "up", "late", and "down".
|
||||
|
||||
The response includes a special * entry: this pseudo-tag reports the overal status
|
||||
|
||||
@@ -14,45 +14,45 @@ from urllib.parse import urlparse
|
||||
|
||||
import pytz
|
||||
from croniter import croniter
|
||||
from pydantic import BaseModel
|
||||
from pydantic import field_validator, BaseModel, ValidationInfo
|
||||
from pydantic import Field
|
||||
from pydantic import validator
|
||||
|
||||
|
||||
class Check(BaseModel):
|
||||
"""Schema for a check object, either from a readonly api request or a rw api request."""
|
||||
|
||||
unique_key: Optional[str]
|
||||
unique_key: Optional[str] = None
|
||||
name: str
|
||||
slug: str
|
||||
tags: Optional[str]
|
||||
desc: Optional[str]
|
||||
tags: Optional[str] = None
|
||||
desc: Optional[str] = None
|
||||
grace: int
|
||||
n_pings: int
|
||||
status: str
|
||||
last_ping: Optional[datetime]
|
||||
next_ping: Optional[datetime]
|
||||
last_ping: Optional[datetime] = None
|
||||
next_ping: Optional[datetime] = None
|
||||
manual_resume: bool
|
||||
methods: Optional[str]
|
||||
methods: Optional[str] = None
|
||||
# healthchecks.io's api doesn't return a scheme so we cant use Pydantic AnyUrl here
|
||||
ping_url: Optional[str]
|
||||
update_url: Optional[str]
|
||||
pause_url: Optional[str]
|
||||
channels: Optional[str]
|
||||
timeout: Optional[int]
|
||||
uuid: Optional[str]
|
||||
ping_url: Optional[str] = None
|
||||
update_url: Optional[str] = None
|
||||
pause_url: Optional[str] = None
|
||||
channels: Optional[str] = None
|
||||
timeout: Optional[int] = None
|
||||
uuid: Optional[str] = Field(default=None, validate_default=True)
|
||||
|
||||
@validator("uuid", always=True)
|
||||
def validate_uuid(cls, value: Optional[str], values: Dict[str, Any]) -> Optional[str]: # noqa: B902
|
||||
@field_validator("uuid")
|
||||
@classmethod
|
||||
def validate_uuid(cls, value: Optional[str], info: ValidationInfo) -> Optional[str]: # noqa: B902
|
||||
"""Tries to set the uuid from the ping_url.
|
||||
|
||||
Will return none if a read only token is used because it cannot retrieve the UUID of a check
|
||||
"""
|
||||
if value is None and values.get("ping_url", None) is not None:
|
||||
if value is None and info.data.get("ping_url", None) is not None:
|
||||
# url is like healthchecks.io/ping/8f57b84b-86c2-4546-8923-03f83d27604a, so we want just the
|
||||
# UUID off the end
|
||||
# Parse the url, grab the path and then just get the name using pathlib
|
||||
path = PurePath(str(urlparse(values.get("ping_url")).path))
|
||||
path = PurePath(str(urlparse(info.data.get("ping_url")).path))
|
||||
return path.name
|
||||
return value
|
||||
|
||||
@@ -126,28 +126,32 @@ class CheckCreate(BaseModel):
|
||||
"for the unique field are name, tags, timeout, and grace.",
|
||||
)
|
||||
|
||||
@validator("schedule")
|
||||
@field_validator("schedule")
|
||||
@classmethod
|
||||
def validate_schedule(cls, value: str) -> str:
|
||||
"""Validates that the schedule is a valid cron expression."""
|
||||
if not croniter.is_valid(value):
|
||||
raise ValueError("Schedule is not a valid cron expression")
|
||||
return value
|
||||
|
||||
@validator("tz")
|
||||
@field_validator("tz")
|
||||
@classmethod
|
||||
def validate_tz(cls, value: str) -> str:
|
||||
"""Validates that the timezone is a valid timezone string."""
|
||||
if value not in pytz.all_timezones:
|
||||
raise ValueError("Tz is not a valid timezone")
|
||||
return value
|
||||
|
||||
@validator("methods")
|
||||
@field_validator("methods")
|
||||
@classmethod
|
||||
def validate_methods(cls, value: str) -> str:
|
||||
"""Validate that methods."""
|
||||
if value not in ("", "POST"):
|
||||
raise ValueError("Methods is invalid, it should be either an empty string or POST")
|
||||
return value
|
||||
|
||||
@validator("unique")
|
||||
@field_validator("unique")
|
||||
@classmethod
|
||||
def validate_unique(cls, value: List[Optional[str]]) -> List[Optional[str]]:
|
||||
"""Validate unique list."""
|
||||
for unique in value:
|
||||
|
||||
Reference in New Issue
Block a user