compose-spec 0.1.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.
@@ -0,0 +1,2 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
@@ -0,0 +1,203 @@
1
+ # This file is autogenerated by maturin v1.13.1
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+ - master
13
+ tags:
14
+ - '*'
15
+ pull_request:
16
+ workflow_dispatch:
17
+
18
+ permissions:
19
+ contents: read
20
+
21
+ jobs:
22
+ test:
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - uses: actions/checkout@v6
26
+ - uses: actions/setup-python@v6
27
+ with:
28
+ python-version: "3.13"
29
+ - name: Build wheel
30
+ uses: PyO3/maturin-action@v1
31
+ with:
32
+ command: build
33
+ args: --release --out dist
34
+ - name: Install wheel and pytest
35
+ run: pip install dist/*.whl pytest
36
+ - name: Run tests
37
+ run: pytest tests/ -v
38
+
39
+ linux:
40
+ runs-on: ${{ matrix.platform.runner }}
41
+ strategy:
42
+ matrix:
43
+ platform:
44
+ - runner: ubuntu-22.04
45
+ target: x86_64
46
+ - runner: ubuntu-22.04
47
+ target: x86
48
+ - runner: ubuntu-22.04
49
+ target: aarch64
50
+ - runner: ubuntu-22.04
51
+ target: armv7
52
+ - runner: ubuntu-22.04
53
+ target: s390x
54
+ - runner: ubuntu-22.04
55
+ target: ppc64le
56
+ steps:
57
+ - uses: actions/checkout@v6
58
+ - uses: actions/setup-python@v6
59
+ with:
60
+ python-version: 3.x
61
+ - name: Build wheels
62
+ uses: PyO3/maturin-action@v1
63
+ with:
64
+ target: ${{ matrix.platform.target }}
65
+ args: --release --out dist --find-interpreter
66
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
67
+ manylinux: auto
68
+ - name: Upload wheels
69
+ uses: actions/upload-artifact@v6
70
+ with:
71
+ name: wheels-linux-${{ matrix.platform.target }}
72
+ path: dist
73
+
74
+ musllinux:
75
+ runs-on: ${{ matrix.platform.runner }}
76
+ strategy:
77
+ matrix:
78
+ platform:
79
+ - runner: ubuntu-22.04
80
+ target: x86_64
81
+ - runner: ubuntu-22.04
82
+ target: x86
83
+ - runner: ubuntu-22.04
84
+ target: aarch64
85
+ - runner: ubuntu-22.04
86
+ target: armv7
87
+ steps:
88
+ - uses: actions/checkout@v6
89
+ - uses: actions/setup-python@v6
90
+ with:
91
+ python-version: 3.x
92
+ - name: Build wheels
93
+ uses: PyO3/maturin-action@v1
94
+ with:
95
+ target: ${{ matrix.platform.target }}
96
+ args: --release --out dist --find-interpreter
97
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
98
+ manylinux: musllinux_1_2
99
+ - name: Upload wheels
100
+ uses: actions/upload-artifact@v6
101
+ with:
102
+ name: wheels-musllinux-${{ matrix.platform.target }}
103
+ path: dist
104
+
105
+ windows:
106
+ runs-on: ${{ matrix.platform.runner }}
107
+ strategy:
108
+ matrix:
109
+ platform:
110
+ - runner: windows-latest
111
+ target: x64
112
+ python_arch: x64
113
+ - runner: windows-latest
114
+ target: x86
115
+ python_arch: x86
116
+ - runner: windows-11-arm
117
+ target: aarch64
118
+ python_arch: arm64
119
+ steps:
120
+ - uses: actions/checkout@v6
121
+ - uses: actions/setup-python@v6
122
+ with:
123
+ python-version: 3.13
124
+ architecture: ${{ matrix.platform.python_arch }}
125
+ - name: Build wheels
126
+ uses: PyO3/maturin-action@v1
127
+ with:
128
+ target: ${{ matrix.platform.target }}
129
+ args: --release --out dist --find-interpreter
130
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
131
+ - name: Upload wheels
132
+ uses: actions/upload-artifact@v6
133
+ with:
134
+ name: wheels-windows-${{ matrix.platform.target }}
135
+ path: dist
136
+
137
+ macos:
138
+ runs-on: ${{ matrix.platform.runner }}
139
+ strategy:
140
+ matrix:
141
+ platform:
142
+ - runner: macos-15-intel
143
+ target: x86_64
144
+ - runner: macos-latest
145
+ target: aarch64
146
+ steps:
147
+ - uses: actions/checkout@v6
148
+ - uses: actions/setup-python@v6
149
+ with:
150
+ python-version: 3.x
151
+ - name: Build wheels
152
+ uses: PyO3/maturin-action@v1
153
+ with:
154
+ target: ${{ matrix.platform.target }}
155
+ args: --release --out dist --find-interpreter
156
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
157
+ - name: Upload wheels
158
+ uses: actions/upload-artifact@v6
159
+ with:
160
+ name: wheels-macos-${{ matrix.platform.target }}
161
+ path: dist
162
+
163
+ sdist:
164
+ runs-on: ubuntu-latest
165
+ steps:
166
+ - uses: actions/checkout@v6
167
+ - name: Build sdist
168
+ uses: PyO3/maturin-action@v1
169
+ with:
170
+ command: sdist
171
+ args: --out dist
172
+ - name: Upload sdist
173
+ uses: actions/upload-artifact@v6
174
+ with:
175
+ name: wheels-sdist
176
+ path: dist
177
+
178
+ release:
179
+ name: Release
180
+ runs-on: ubuntu-latest
181
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
182
+ needs: [test, linux, musllinux, windows, macos, sdist]
183
+ permissions:
184
+ id-token: write
185
+ contents: write
186
+ attestations: write
187
+ steps:
188
+ - uses: actions/download-artifact@v7
189
+ - name: Generate artifact attestation
190
+ uses: actions/attest-build-provenance@v3
191
+ with:
192
+ subject-path: 'wheels-*/*'
193
+ - name: Create GitHub Release
194
+ uses: softprops/action-gh-release@v2
195
+ with:
196
+ generate_release_notes: true
197
+ files: wheels-*/*
198
+ - name: Install uv
199
+ uses: astral-sh/setup-uv@v7
200
+ - name: Publish to PyPI
201
+ run: uv publish 'wheels-*/*'
202
+ env:
203
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,72 @@
1
+ /target
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ .pytest_cache/
6
+ *.py[cod]
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Distribution / packaging
12
+ .Python
13
+ .venv/
14
+ env/
15
+ bin/
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ include/
26
+ man/
27
+ venv/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+ pip-selfcheck.json
36
+
37
+ # Unit test / coverage reports
38
+ htmlcov/
39
+ .tox/
40
+ .coverage
41
+ .cache
42
+ nosetests.xml
43
+ coverage.xml
44
+
45
+ # Translations
46
+ *.mo
47
+
48
+ # Mr Developer
49
+ .mr.developer.cfg
50
+ .project
51
+ .pydevproject
52
+
53
+ # Rope
54
+ .ropeproject
55
+
56
+ # Django stuff:
57
+ *.log
58
+ *.pot
59
+
60
+ .DS_Store
61
+
62
+ # Sphinx documentation
63
+ docs/_build/
64
+
65
+ # PyCharm
66
+ .idea/
67
+
68
+ # VSCode
69
+ .vscode/
70
+
71
+ # Pyenv
72
+ .python-version