Commit Graph

51 Commits

Author SHA1 Message Date
jo e048560910 chore: add changelog generator 2022-09-16 17:05:47 +02:00
jo 8ef82d798e chore: keep config files in sync 2022-09-14 11:09:52 +02:00
jo 97f4472ed1 chore: update version bump procedure 2022-09-12 10:48:43 +02:00
Jonas L 8b5749ec98
ci: build test images for debian bookworm (#2097) 2022-09-07 23:17:46 +02:00
jo ffc03095f3 chore: setuptools enable legacy-editable 2022-08-25 09:51:36 +02:00
jo 38bf18cd1f chore: revert pin setuptools to <64.0.0 for development
This reverts commit b1ebc3a44f.
2022-08-25 09:51:36 +02:00
jo cfcfcc82e4 chore: revert pin setuptools to <64.0.0 for build backend
This reverts commit 2bde574487.
2022-08-25 09:51:36 +02:00
jo 3ea085d351 chore: add python docker-* targets
This allow testing in a similar context to the github CI.
2022-08-17 13:18:13 +02:00
jo 2bde574487 chore: pin setuptools to <64.0.0 for build backend 2022-08-11 22:16:00 +02:00
jo b1ebc3a44f chore: pin setuptools to <64.0.0 for development 2022-08-11 21:48:42 +02:00
jo d917ae1da8 chore: use max 4 cores for parallel execution 2022-08-09 21:08:29 +02:00
jo 160f5e14ce chore: add combine-as isort option 2022-07-27 18:11:34 +02:00
jo b93e1e5570 chore: install local python deps in editable mode 2022-07-27 15:35:57 +02:00
Jonas L f03605a6ce
chore: enable pylint recursive linting (#1981) 2022-07-22 16:26:06 +02:00
jo 9ca2d8ad94 chore: don't reuse local packages wheels 2022-07-22 15:00:38 +02:00
jo 80218f33eb chore: rewrite extract-requirements to python
Using python ast to guess requirements in the setup.py file.
2022-07-17 21:25:37 +02:00
jo 7002da8347 chore: update tools packages test 2022-07-07 10:51:07 +02:00
jo 26a2c2dda0 chore: update python tests target 2022-06-30 13:24:05 +02:00
Kyle Robbertze 7ff0aff70a ci: report pytest coverage in PR via codecov
Fixes: #1915
2022-06-29 11:23:44 +02:00
jo bc5e92474e chore: change dev version format to <latest_tag>-dev+<current_sha> 2022-04-25 21:37:23 +02:00
jo 0a6ed33d96 chore: add bump python version tool 2022-04-25 21:37:23 +02:00
Jonas L 5f4badcdeb
ci: build test images for ubuntu jammy (#1743) 2022-04-09 16:18:12 +02:00
Jonas L 35071ef834
chore: allow multiple exclude flag for packages.py (#1643) 2022-03-02 09:45:45 +02:00
Jonas L e371dccb77
chore: always build egg (#1654)
Prevent a possible mismatch between new setup.py and old requires.txt in previous egg build.
2022-03-01 14:40:34 +02:00
Jonas L d55e58e416
chore: auto generate requirements.txt (#1651)
- force LC_ALL for the sort command
2022-02-28 20:02:01 +02:00
jo 892a2a5f78 chore: set default python target to install 2022-02-14 21:01:35 +02:00
jo 98cbbab4ad chore: add bandit and flake8 to python dev deps 2022-02-14 12:44:17 +02:00
jo 7393db50e0 test: require lint to succeed for shared/ and tools/ 2022-01-26 10:15:35 +02:00
jo bed5436a6e chore: split dev requirement from package install 2022-01-26 10:15:35 +02:00
jo e862e9f280 test(tools): fix mypy linters 2022-01-26 10:15:35 +02:00
jo 9de82bb568 chore: make linters config consistent in pyproject.toml
- remove mypy config from makefile
2022-01-26 10:15:35 +02:00
jo 7988b7467b test: allow to set python linters to fail per app 2022-01-26 10:15:35 +02:00
jo 0f8cb1a5ed chore: set python build system in pyproject.toml
- fix local package install
- local packages requirement url format
2022-01-26 10:15:35 +02:00
Jonas L 19986cf1b1
chore: exclude packages sections using tools/packages.py (#1499)
* feat: exclude packages sections using tools/packages.py

* chore: group apache deps packages in a section

This allow one to exlude the entire section and install nginx for example.
2022-01-10 08:23:37 +02:00
Jonas L 5b1e61a13e
chore: enhance python.mk (#1474)
* chore: run pylint with multiple cpu

* chore: use .venv as dev venv dir
2022-01-04 13:09:19 +02:00
Kyle Robbertze 7182390000
feat: add support for Ubuntu Focal 20.04 (#1168)
Co-authored-by: Valerio Bozzolan <gnu@linux.it>
2021-11-04 09:55:50 +02:00
Jonas L 30b3470a06
Better format enforcing (#1391)
* Add shared python format-check target

* Add .format-check to api lint target

* Format api code with makefile format target

* Add .format-check to tools lint target

* Add .format-check to analyzer lint target

* Format analyzer code with makefile format target

* Add .format-check to celery lint target

* Add .format-check to api_client lint target

* Format api_client code with makefile format target

* Add .format-check to playout lint target

* Run CI linting in parallel

* Disable isort in pre-commit
2021-10-17 16:24:37 +02:00
Jonas L c7304badb2
Type fix and checks for tools packages (#1403)
* Fix scripts/packages typings

* Prevent empty packages list when invalid distro
2021-10-17 00:21:22 +02:00
jo 67f4b60b3a Split venv setup and package install targets
This allow to reinstall the packages without
rebuilding the venv in case of dependencies change.
2021-09-15 19:40:58 +02:00
jo 6b7658d5a7 Use shared makefile de requirements 2021-09-13 14:23:04 +02:00
jo 5753fc34a4 Format Makefiles 2021-09-13 14:22:20 +02:00
jo 6e4876839b Add format in shared makefile 2021-09-13 14:21:19 +02:00
Kyle Robbertze 56f5a84146
Merge pull request #1339 from jooola/feat/ci_start_linting
Start linting 🎉 !
2021-09-13 12:01:31 +00:00
jo 9a7c3e0d21 Replace build.sh with make to manage airtime_mvc 2021-09-11 04:55:51 +02:00
jo 3dbc1205d0 Start linting with mypy 2021-09-10 15:14:48 +02:00
jo ceb40ee216 Use shared python makefile and start linting
Always update setuptools/wheel/pip

Never fail while linting

We use github annotations to impove the code incrementally.
2021-09-10 15:14:46 +02:00
jo 3677a08656 Prepare Ubuntu 20.04 support
Start building docker dev images for testing purpose.
2021-09-09 17:54:27 +02:00
jo 1ec11f2a87 Prepare Debian 11 support
Start building docker dev images for testing purpose.
2021-09-09 16:31:55 +02:00
jo 14d4012e8e Fix tools linting 2021-09-07 23:10:21 +02:00
jo 4724a30937 Fix tools makefile 2021-09-07 23:09:53 +02:00