copier-python 0.3.0__tar.gz → 0.5.0__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.
Files changed (46) hide show
  1. {copier_python-0.3.0 → copier_python-0.5.0}/PKG-INFO +1 -1
  2. copier_python-0.5.0/tests/__snapshots__/test_dockerfile.ambr +163 -0
  3. {copier_python-0.3.0 → copier_python-0.5.0}/tests/__snapshots__/test_pyproject.ambr +1268 -8
  4. copier_python-0.5.0/tests/__snapshots__/test_workflows.ambr +1021 -0
  5. copier_python-0.5.0/tests/test_dockerfile.py +27 -0
  6. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_pyproject.py +19 -1
  7. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_workflows.py +21 -0
  8. copier_python-0.3.0/tests/__snapshots__/test_workflows.ambr +0 -461
  9. {copier_python-0.3.0 → copier_python-0.5.0}/.gitignore +0 -0
  10. {copier_python-0.3.0 → copier_python-0.5.0}/CONTRIBUTING.md +0 -0
  11. {copier_python-0.3.0 → copier_python-0.5.0}/LICENSE +0 -0
  12. {copier_python-0.3.0 → copier_python-0.5.0}/README.md +0 -0
  13. {copier_python-0.3.0 → copier_python-0.5.0}/copier_python/__init__.py +0 -0
  14. {copier_python-0.3.0 → copier_python-0.5.0}/copier_python/py.typed +0 -0
  15. {copier_python-0.3.0 → copier_python-0.5.0}/docs/contributing.md +0 -0
  16. {copier_python-0.3.0 → copier_python-0.5.0}/docs/development/requirements.md +0 -0
  17. {copier_python-0.3.0 → copier_python-0.5.0}/docs/development/updates.md +0 -0
  18. {copier_python-0.3.0 → copier_python-0.5.0}/docs/development/workflow.md +0 -0
  19. {copier_python-0.3.0 → copier_python-0.5.0}/docs/index.md +0 -0
  20. {copier_python-0.3.0 → copier_python-0.5.0}/docs/license.md +0 -0
  21. {copier_python-0.3.0 → copier_python-0.5.0}/docs/project-creation.md +0 -0
  22. {copier_python-0.3.0 → copier_python-0.5.0}/docs/project-development.md +0 -0
  23. {copier_python-0.3.0 → copier_python-0.5.0}/docs/project-release.md +0 -0
  24. {copier_python-0.3.0 → copier_python-0.5.0}/docs/project-setup.md +0 -0
  25. {copier_python-0.3.0 → copier_python-0.5.0}/docs/project-updates.md +0 -0
  26. {copier_python-0.3.0 → copier_python-0.5.0}/docs/releasing.md +0 -0
  27. {copier_python-0.3.0 → copier_python-0.5.0}/docs/requirements.md +0 -0
  28. {copier_python-0.3.0 → copier_python-0.5.0}/docs/setup.md +0 -0
  29. {copier_python-0.3.0 → copier_python-0.5.0}/pyproject.toml +0 -0
  30. {copier_python-0.3.0 → copier_python-0.5.0}/tests/__init__.py +0 -0
  31. {copier_python-0.3.0 → copier_python-0.5.0}/tests/__snapshots__/test_compose.ambr +0 -0
  32. {copier_python-0.3.0 → copier_python-0.5.0}/tests/__snapshots__/test_contributing.ambr +0 -0
  33. {copier_python-0.3.0 → copier_python-0.5.0}/tests/__snapshots__/test_docs.ambr +0 -0
  34. {copier_python-0.3.0 → copier_python-0.5.0}/tests/__snapshots__/test_license.ambr +0 -0
  35. {copier_python-0.3.0 → copier_python-0.5.0}/tests/__snapshots__/test_readme.ambr +0 -0
  36. {copier_python-0.3.0 → copier_python-0.5.0}/tests/__snapshots__/test_zensical.ambr +0 -0
  37. {copier_python-0.3.0 → copier_python-0.5.0}/tests/conftest.py +0 -0
  38. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_compose.py +0 -0
  39. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_contributing.py +0 -0
  40. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_docs.py +0 -0
  41. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_license.py +0 -0
  42. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_readme.py +0 -0
  43. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_structure.py +0 -0
  44. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_template.py +0 -0
  45. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_version.py +0 -0
  46. {copier_python-0.3.0 → copier_python-0.5.0}/tests/test_zensical.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: copier-python
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: Copier template for Python projects with modern tooling
5
5
  Project-URL: Homepage, https://smkent.github.io/copier-python
6
6
  Project-URL: Repository, https://github.com/smkent/copier-python
@@ -0,0 +1,163 @@
1
+ # serializer version: 1
2
+ # name: test_workflows_container[3.12-3.10]
3
+ '''
4
+ FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim AS builder
5
+
6
+ WORKDIR /app
7
+
8
+ # Install dependencies first (cached layer, only invalidated by pyproject.toml changes)
9
+ COPY pyproject.toml README.md .
10
+ RUN --mount=type=cache,target=/root/.cache/uv \
11
+ uv sync --no-dev --no-install-project
12
+
13
+ # Copy source and install project
14
+ COPY pkfire/ ./pkfire/
15
+ RUN --mount=type=cache,target=/root/.cache/uv \
16
+ uv sync --no-dev --no-editable
17
+
18
+ FROM python:3.12-slim
19
+
20
+ COPY --from=builder /app/.venv /app/.venv
21
+
22
+ RUN useradd --no-create-home --shell /bin/false app
23
+ USER app
24
+
25
+ CMD ["/app/.venv/bin/python", "-m", "pkfire"]
26
+
27
+ '''
28
+ # ---
29
+ # name: test_workflows_container[3.12-3.12]
30
+ '''
31
+ FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim AS builder
32
+
33
+ WORKDIR /app
34
+
35
+ # Install dependencies first (cached layer, only invalidated by pyproject.toml changes)
36
+ COPY pyproject.toml README.md .
37
+ RUN --mount=type=cache,target=/root/.cache/uv \
38
+ uv sync --no-dev --no-install-project
39
+
40
+ # Copy source and install project
41
+ COPY pkfire/ ./pkfire/
42
+ RUN --mount=type=cache,target=/root/.cache/uv \
43
+ uv sync --no-dev --no-editable
44
+
45
+ FROM python:3.12-slim
46
+
47
+ COPY --from=builder /app/.venv /app/.venv
48
+
49
+ RUN useradd --no-create-home --shell /bin/false app
50
+ USER app
51
+
52
+ CMD ["/app/.venv/bin/python", "-m", "pkfire"]
53
+
54
+ '''
55
+ # ---
56
+ # name: test_workflows_container[3.14-3.10]
57
+ '''
58
+ FROM ghcr.io/astral-sh/uv:python3.14-bookworm-slim AS builder
59
+
60
+ WORKDIR /app
61
+
62
+ # Install dependencies first (cached layer, only invalidated by pyproject.toml changes)
63
+ COPY pyproject.toml README.md .
64
+ RUN --mount=type=cache,target=/root/.cache/uv \
65
+ uv sync --no-dev --no-install-project
66
+
67
+ # Copy source and install project
68
+ COPY pkfire/ ./pkfire/
69
+ RUN --mount=type=cache,target=/root/.cache/uv \
70
+ uv sync --no-dev --no-editable
71
+
72
+ FROM python:3.14-slim
73
+
74
+ COPY --from=builder /app/.venv /app/.venv
75
+
76
+ RUN useradd --no-create-home --shell /bin/false app
77
+ USER app
78
+
79
+ CMD ["/app/.venv/bin/python", "-m", "pkfire"]
80
+
81
+ '''
82
+ # ---
83
+ # name: test_workflows_container[3.14-3.12]
84
+ '''
85
+ FROM ghcr.io/astral-sh/uv:python3.14-bookworm-slim AS builder
86
+
87
+ WORKDIR /app
88
+
89
+ # Install dependencies first (cached layer, only invalidated by pyproject.toml changes)
90
+ COPY pyproject.toml README.md .
91
+ RUN --mount=type=cache,target=/root/.cache/uv \
92
+ uv sync --no-dev --no-install-project
93
+
94
+ # Copy source and install project
95
+ COPY pkfire/ ./pkfire/
96
+ RUN --mount=type=cache,target=/root/.cache/uv \
97
+ uv sync --no-dev --no-editable
98
+
99
+ FROM python:3.14-slim
100
+
101
+ COPY --from=builder /app/.venv /app/.venv
102
+
103
+ RUN useradd --no-create-home --shell /bin/false app
104
+ USER app
105
+
106
+ CMD ["/app/.venv/bin/python", "-m", "pkfire"]
107
+
108
+ '''
109
+ # ---
110
+ # name: test_workflows_container[No maximum-3.10]
111
+ '''
112
+ FROM ghcr.io/astral-sh/uv:python3.14-bookworm-slim AS builder
113
+
114
+ WORKDIR /app
115
+
116
+ # Install dependencies first (cached layer, only invalidated by pyproject.toml changes)
117
+ COPY pyproject.toml README.md .
118
+ RUN --mount=type=cache,target=/root/.cache/uv \
119
+ uv sync --no-dev --no-install-project
120
+
121
+ # Copy source and install project
122
+ COPY pkfire/ ./pkfire/
123
+ RUN --mount=type=cache,target=/root/.cache/uv \
124
+ uv sync --no-dev --no-editable
125
+
126
+ FROM python:3.14-slim
127
+
128
+ COPY --from=builder /app/.venv /app/.venv
129
+
130
+ RUN useradd --no-create-home --shell /bin/false app
131
+ USER app
132
+
133
+ CMD ["/app/.venv/bin/python", "-m", "pkfire"]
134
+
135
+ '''
136
+ # ---
137
+ # name: test_workflows_container[No maximum-3.12]
138
+ '''
139
+ FROM ghcr.io/astral-sh/uv:python3.14-bookworm-slim AS builder
140
+
141
+ WORKDIR /app
142
+
143
+ # Install dependencies first (cached layer, only invalidated by pyproject.toml changes)
144
+ COPY pyproject.toml README.md .
145
+ RUN --mount=type=cache,target=/root/.cache/uv \
146
+ uv sync --no-dev --no-install-project
147
+
148
+ # Copy source and install project
149
+ COPY pkfire/ ./pkfire/
150
+ RUN --mount=type=cache,target=/root/.cache/uv \
151
+ uv sync --no-dev --no-editable
152
+
153
+ FROM python:3.14-slim
154
+
155
+ COPY --from=builder /app/.venv /app/.venv
156
+
157
+ RUN useradd --no-create-home --shell /bin/false app
158
+ USER app
159
+
160
+ CMD ["/app/.venv/bin/python", "-m", "pkfire"]
161
+
162
+ '''
163
+ # ---