tinydantic 0.1.14__tar.gz → 0.1.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.github/workflows/ci.yaml +16 -14
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.github/workflows/docs-dev.yaml +1 -1
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.github/workflows/docs-release.yaml +8 -6
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.github/workflows/publish-python-package.yaml +1 -1
- {tinydantic-0.1.14 → tinydantic-0.1.16}/PKG-INFO +2 -1
- {tinydantic-0.1.14 → tinydantic-0.1.16}/pyproject.toml +4 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.editorconfig +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.gitignore +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.linkcheckerrc +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.markdownlint.yaml +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.pre-commit-config.yaml +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.prettierrc.yaml +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.vscode/extensions.json +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/.yamllint.yaml +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/LICENSE.md +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/LICENSES/Apache-2.0.txt +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/LICENSES/CC-BY-4.0.txt +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/LICENSES/MIT.txt +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/README.md +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/REUSE.toml +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/docs/.pages +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/docs/css/code_select.css +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/docs/index.md +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/docs/installation.md +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/docs/reference/.pages +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/docs/reference/index.md +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/mkdocs.yaml +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/scripts/gen_api_docs.py +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/src/tinydantic/__init__.py +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/src/tinydantic/py.typed +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/taplo.toml +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/tests/__init__.py +0 -0
- {tinydantic-0.1.14 → tinydantic-0.1.16}/tests/test_version.py +0 -0
|
@@ -24,19 +24,6 @@ env:
|
|
|
24
24
|
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
|
25
25
|
|
|
26
26
|
jobs:
|
|
27
|
-
# pre-commit can modify files so we can't just run this as a step in the
|
|
28
|
-
# matrix tests below. There is no way to disable this behavior, see
|
|
29
|
-
# https://github.com/pre-commit/pre-commit-hooks/issues/108
|
|
30
|
-
pre-commit:
|
|
31
|
-
name: Run pre-commit
|
|
32
|
-
runs-on: ubuntu-latest
|
|
33
|
-
steps:
|
|
34
|
-
- uses: actions/checkout@v4
|
|
35
|
-
- uses: actions/setup-python@v5
|
|
36
|
-
- uses: pre-commit/action@v3.0.1
|
|
37
|
-
with:
|
|
38
|
-
extra_args: --all-files --verbose
|
|
39
|
-
|
|
40
27
|
test:
|
|
41
28
|
name: >-
|
|
42
29
|
Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-')
|
|
@@ -65,7 +52,7 @@ jobs:
|
|
|
65
52
|
with:
|
|
66
53
|
python-version: ${{ matrix.python-version }}
|
|
67
54
|
- name: Install UV
|
|
68
|
-
run: curl -LsSf https://
|
|
55
|
+
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
69
56
|
- name: Install Hatch
|
|
70
57
|
run: uv pip install --system --upgrade hatch
|
|
71
58
|
- name: Run static analysis
|
|
@@ -79,3 +66,18 @@ jobs:
|
|
|
79
66
|
--parallel
|
|
80
67
|
--retries 2
|
|
81
68
|
--retry-delay 1
|
|
69
|
+
|
|
70
|
+
required-checks-pass:
|
|
71
|
+
name: Ensure everything required is passing for branch protection
|
|
72
|
+
if: always()
|
|
73
|
+
|
|
74
|
+
needs:
|
|
75
|
+
- test
|
|
76
|
+
|
|
77
|
+
runs-on: ubuntu-latest
|
|
78
|
+
|
|
79
|
+
steps:
|
|
80
|
+
- name: Decide whether the needed jobs succeeded or failed
|
|
81
|
+
uses: re-actors/alls-green@release/v1
|
|
82
|
+
with:
|
|
83
|
+
jobs: ${{ toJSON(needs) }}
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
# https://docs.netlify.com/configure-builds/available-software-at-build-time/#languages
|
|
38
38
|
python-version: "3.8"
|
|
39
39
|
- name: Install UV
|
|
40
|
-
run: curl -LsSf https://
|
|
40
|
+
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
41
41
|
- name: Install Hatch
|
|
42
42
|
run: uv pip install --system --upgrade hatch
|
|
43
43
|
- name: Configure Git for GitHub Actions bot
|
|
@@ -8,7 +8,7 @@ name: Docs (Release)
|
|
|
8
8
|
on: # yamllint disable-line rule:truthy
|
|
9
9
|
push:
|
|
10
10
|
tags:
|
|
11
|
-
- v
|
|
11
|
+
- v[0-9]+.[0-9]+.[0-9]+
|
|
12
12
|
|
|
13
13
|
concurrency:
|
|
14
14
|
group: docs-deploy
|
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
# https://docs.netlify.com/configure-builds/available-software-at-build-time/#languages
|
|
37
37
|
python-version: "3.8"
|
|
38
38
|
- name: Install UV
|
|
39
|
-
run: curl -LsSf https://
|
|
39
|
+
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
40
40
|
- name: Install Hatch
|
|
41
41
|
run: uv pip install --system --upgrade hatch
|
|
42
42
|
- name: Configure Git for GitHub Actions bot
|
|
@@ -49,12 +49,14 @@ jobs:
|
|
|
49
49
|
run: hatch version
|
|
50
50
|
- name: Build documentation
|
|
51
51
|
run: hatch -v run doc:build-check
|
|
52
|
+
- name: Get doc version
|
|
53
|
+
run: |
|
|
54
|
+
TAG_NAME=${{ github.event.release.tag_name }}
|
|
55
|
+
DOC_VERSION=${TAG_NAME#v}
|
|
56
|
+
echo "DOC_VERSION=$DOC_VERSION" >> $GITHUB_ENV
|
|
52
57
|
- name: Commit documentation
|
|
53
58
|
run: >-
|
|
54
|
-
hatch -v run
|
|
55
|
-
doc:ci-publish $(python -c "from packaging.version import Version;
|
|
56
|
-
version = Version(\"$(hatch version)\");
|
|
57
|
-
print(f\"{version.major}.{version.minor}\")") latest
|
|
59
|
+
hatch -v run doc:ci-publish "$DOC_VERSION" latest
|
|
58
60
|
- name: Create archive
|
|
59
61
|
run: git archive -o site.zip gh-pages
|
|
60
62
|
- uses: actions/upload-artifact@v4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: tinydantic
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.16
|
|
4
4
|
Project-URL: Documentation, https://tinydantic.dev
|
|
5
5
|
Project-URL: Issues, https://github.com/tinydantic/tinydantic/issues
|
|
6
6
|
Project-URL: Source, https://github.com/tinydantic/tinydantic
|
|
@@ -37,6 +37,7 @@ Requires-Dist: packaging; extra == 'dev'
|
|
|
37
37
|
Requires-Dist: pre-commit; extra == 'dev'
|
|
38
38
|
Requires-Dist: reuse>=4.0.0; extra == 'dev'
|
|
39
39
|
Requires-Dist: ruff; extra == 'dev'
|
|
40
|
+
Requires-Dist: semver; extra == 'dev'
|
|
40
41
|
Requires-Dist: uv; extra == 'dev'
|
|
41
42
|
Provides-Extra: doc
|
|
42
43
|
Requires-Dist: black; extra == 'doc'
|
|
@@ -50,6 +50,7 @@ dev = [
|
|
|
50
50
|
"commitizen",
|
|
51
51
|
"interrogate",
|
|
52
52
|
"ruff",
|
|
53
|
+
"semver",
|
|
53
54
|
"tinydantic[compliance,doc,pre-commit,test,types]",
|
|
54
55
|
"uv",
|
|
55
56
|
]
|
|
@@ -107,6 +108,9 @@ features = [
|
|
|
107
108
|
"dev",
|
|
108
109
|
]
|
|
109
110
|
|
|
111
|
+
[tool.hatch.envs.default.scripts]
|
|
112
|
+
release = 'pysemver check {args} && git tag -a v{args} -m "Release version {args}" && git push --tags'
|
|
113
|
+
|
|
110
114
|
[tool.hatch.envs.doc]
|
|
111
115
|
features = [
|
|
112
116
|
"doc",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|