Bruno Oliveira
d8fb60ba7f
Fix tag creation in deploy workflow
...
As commented in #905 , an annotated tag needs a configured user.
2023-05-12 17:52:21 -03:00
Bruno Oliveira
f5b4a5d6ed
Configure 'test' workflow to cancel running jobs for the branch
2023-05-12 17:33:18 -03:00
Bruno Oliveira
657ba9ac7f
Only test on-push for master and a specific branch name
...
This avoids testing twice when pushing to the main repository, once for the push, and another for a PR.
2023-05-12 17:33:18 -03:00
Bruno Oliveira
fa08e0987b
Add check-package step also to 'test' workflow
...
This ensures we do not have any surprises when we try to deploy,
which uses the same step to generate the package.
2023-05-12 17:33:18 -03:00
Bruno Oliveira
37b9dbdbf4
Deploy via a protected environment and using PyPI trusted publishers ( #902 )
...
Following recent discussions, this changes the development process as follows:
1. The deploy is now manually triggered after the release PR is approved.
2. The deploy workflow tags the repository only after the package has been published to PyPI.
3. Use PyPI trusted publishers instead of API tokens.
Co-authored-by: Ran Benita <ran@unusedvar.com >
2023-05-12 12:17:55 -03:00
Bruno Oliveira
aee850a121
Add official support for Python 3.11
2022-11-05 12:24:00 -03:00
Bruno Oliveira
66993ecada
Split workflows into test and deploy
2022-11-05 12:24:00 -03:00
Bruno Oliveira
2ffb426178
Drop Python 3.6 and use Python 3.10 for secondary builds
2022-11-05 12:05:30 -03:00
Thomas Grainger
59457cc1bd
Update pre-commit
...
Also:
* Configure flake8 to ignore formatting-related problems (let black worry about them).
* Fix reference to Python 3.10 in CI,
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2022-11-05 11:58:57 -03:00
Bruno Oliveira
3e9284b6e0
Merge remote-tracking branch 'upstream/master' into release-3.0.0
2022-10-25 12:35:32 -03:00
Ronny Pfannschmidt
0c981d3547
fix and update packaging
...
* drop empty setup.py which "breaks" on incomplete build envs
* use the build package to build the dist
* update the gh workflow to use it
fixup noise from pre-commit
2022-10-25 17:07:47 +02:00
Bruno Oliveira
f2633f1b37
Fetch all tags, as required by setuptools-scm
2022-10-25 11:09:53 -03:00
Hugo van Kemenade
ed47f0e01a
Add support for Python 3.10
2021-09-15 17:14:59 +03:00
David Lamparter
766e67ce52
Use setproctitle if available to show state ( #696 )
...
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2021-09-03 12:58:01 -03:00
Bruno Oliveira
8b35945d54
Drop Python 3.5 support
...
pytest no longer supports it, and our CI is broken because of it.
2021-04-25 09:31:10 -03:00
Thomas Grainger
1dc019709c
Use 'main' to refer to pytest default branch in tox env names. ( #643 )
...
Co-authored-by: Thomas Grainger <tagrain@gmail.com >
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com >
2021-03-20 11:43:57 -03:00
Bruno Oliveira
db896a9d33
tox linting env expects Python 3.7
2020-12-12 12:06:33 -03:00
Bruno Oliveira
3fb369c8ac
Fix linting
2020-12-12 11:52:47 -03:00
Bruno Oliveira
2dcb40799f
Setup GitHub Actions
2020-12-12 11:45:40 -03:00