@@ -83,7 +83,7 @@ requirements.
83
83
84
84
- `path` (`string`) : A file or location of the requirement file(s).
85
85
- `python-version` (`string`) : Python version to use for installing `pip-tools`.
86
- You may use MAJOR.MINOR or exact version. Defaults to `'3.12 '`. Optional.
86
+ You may use MAJOR.MINOR or exact version. Defaults to `'3.13 '`. Optional.
87
87
- `pr-create` (`string`) : Whether to create a Pull Request. Options: `'yes'`,
88
88
` 'no'` . Defaults to `'yes'`. Optional.
89
89
- `pr-commit-message` (`string`) : Use the given message as the commit message.
@@ -214,11 +214,15 @@ jobs:
214
214
This workflow allows you to build and upload your Python distribution packages
215
215
PyPI (or any other repository) using `build` and `twine`.
216
216
217
+ > [!NOTE]
218
+ > This workflow uses the [`coatldev/python`] Docker image, which has tags for
219
+ > Python 3.13, 3.12 and 2.7.
220
+
217
221
**Inputs**:
218
222
219
223
- `python-version` (`string`) : The Python version to use for building and
220
224
publishing the package. You may use MAJOR.MINOR or exact version. Defaults to
221
- ` '3.12 '` . Optional
225
+ ` '3.13 '` . Optional
222
226
- `check` (`boolean`) : Check metadata with twine before uploading. Defaults to
223
227
` true` . Optional.
224
228
- `url` (`string`) : The repository (package index) URL to upload the package to.
@@ -238,7 +242,7 @@ jobs:
238
242
main:
239
243
uses: coatl-dev/workflows/.github/workflows/pypi-upload.yml@v4.1.3
240
244
with:
241
- python-version: '3.11 '
245
+ python-version: '3.13 '
242
246
secrets:
243
247
password: ${{ secrets.PYPI_API_TOKEN }}
244
248
` ` `
@@ -250,7 +254,7 @@ This workflow will install the latest version of `tox` to run all envs found in
250
254
251
255
> [!NOTE]
252
256
> This workflow uses the [`coatldev/six`] Docker image, which comes with
253
- > Python 3.12 and 2.7.18.
257
+ > Python 3.13, 3. 12 and 2.7.18.
254
258
255
259
**Example**:
256
260
@@ -298,7 +302,7 @@ jobs:
298
302
main:
299
303
uses: coatl-dev/workflows/.github/workflows/tox-envs.yml@v4.1.3
300
304
with:
301
- python-versions: '["3.7 ", "3.8 ", "3.9 ", "3.10 ", "3.11", "3.12 "]'
305
+ python-versions: '["3.9 ", "3.10 ", "3.11 ", "3.12 ", "3.13 "]'
302
306
` ` `
303
307
304
308
# ## .github/workflows/tox-gh.yml
@@ -321,12 +325,11 @@ tox.ini:
321
325
` ` ` ini
322
326
[gh]
323
327
python =
324
- 3.7 = py37
325
- 3.8 = py38
326
328
3.9 = py39
327
- 3.10 = py310, install, typecheck
329
+ 3.10 = py310
328
330
3.11 = py311
329
331
3.12 = py312
332
+ 3.13 = py313, install, typecheck
330
333
` ` `
331
334
332
335
and on your workflow :
@@ -336,7 +339,7 @@ jobs:
336
339
main:
337
340
uses: coatl-dev/workflows/.github/workflows/tox-gh.yml@v4.1.3
338
341
with:
339
- python-versions: '["3.7 ", "3.8 ", "3.9 ", "3.10 ", "3.11", "3.12 "]'
342
+ python-versions: '["3.9 ", "3.10 ", "3.11 ", "3.12 ", "3.13 "]'
340
343
` ` `
341
344
342
345
# ## .github/workflows/tox.yml
@@ -353,6 +356,7 @@ jobs:
353
356
` ` `
354
357
355
358
[`actions/setup-python`] : https://github.com/actions/setup-python
359
+ [`coatldev/python`] : https://hub.docker.com/r/coatldev/python
356
360
[`coatldev/six`] : https://hub.docker.com/r/coatldev/six
357
361
[`env_list`] : https://tox.wiki/en/latest/config.html#env_list
358
362
[`local hooks`] : https://pre-commit.com/#repository-local-hooks
0 commit comments