Commit Graph

76 Commits

Author SHA1 Message Date
Arthur Meyre
6de5df77fd chore: less verbose check_licences
- only shows full log if it fails
- fix some targets where `$` was not properly escaped in Makefile
2021-12-02 17:55:02 +01:00
Arthur Meyre
8425656d75 chore: use volumes in docker
- allows to have persistent data and much faster access times on non linux
OSes
2021-11-30 18:13:10 +01:00
Benoit Chevallier-Mames
f7fab8b965 feat(deps): add a makefile target to check licences
refs #1003
2021-11-30 10:37:48 +01:00
Arthur Meyre
1b3f9aa048 chore: use pip package for docker
- comment out package-watcher as it's not compatible with the new docker
waiting on the compiler proper release workflow to update this
- update setup_env target to be docker and bare env friendly (workaround)
- update torch_requirements.txt

refs #809
2021-11-16 10:41:53 +01:00
Umut
d244bcace9 test(scripts): create measurement script tests 2021-11-15 12:45:55 +03:00
Arthur Meyre
2fd9f6c363 chore: automate make set_version some more
- stash before changing version
- commit changed files
- pop stash if anything was saved
2021-10-29 18:21:48 +02:00
Benoit Chevallier-Mames
23d4dead30 chore: remove unnecessary lambda in tests 2021-10-27 18:47:56 +02:00
Arthur Meyre
afb342aec3 chore: update Makefile targets to use && instead of ;
- lets target fail properly

closes #725
2021-10-25 10:01:41 +02:00
Umut
7f1222ed37 feat(benchmarks): add a way to check benchmark scripts without running them 2021-10-21 16:03:47 +03:00
Arthur Meyre
ab151091ce chore(scripts): add a target to trigger a release
- check the version coherence before creating the tag

refs #308
2021-10-19 15:37:09 +02:00
Benoit Chevallier-Mames
a8aafcb70a docs: autogenerate the list of supported functions
closes #410
2021-10-18 11:23:04 +02:00
Arthur Meyre
9571ad8e78 chore: add a Makefile target to grep pylintrc notes
- add a small helper python script to parse pylintrc
2021-10-18 10:54:51 +02:00
Arthur Meyre
bc2ae7be47 chore: disable pylint line too long in test_compile where necessary
- fix pylint targets for non package dirs
2021-10-15 16:02:20 +02:00
Arthur Meyre
2a1eb40bf2 test: use xdist to speed-up testing 2021-10-15 14:17:26 +02:00
Benoit Chevallier-Mames
2d866ae3c1 chore: show types and optional scopes for conventional commits. 2021-10-15 13:31:47 +02:00
Benoit Chevallier-Mames
17704da169 test: make our tests reproducible
by seeding random generators in python random or in numpy random
closes #546
2021-10-13 13:58:36 +02:00
Arthur Meyre
286dda79b2 fix: correct pytest command in Makefile 2021-10-12 11:18:00 +02:00
Arthur Meyre
8490f88227 chore: change coverage to have global infos
- have a small hack to dump pytest-cov report
2021-10-11 19:06:37 +02:00
Arthur Meyre
a595139448 chore: add changelog_helper to generate changelogs using semantic-release
- freeze semantic-release to specific version to keep internal APIs stable
- add gitpyhton for changelog_helper
- add a target to very easily create a changelog
2021-10-07 16:49:00 +02:00
Arthur Meyre
b363db6700 chore(tools): centralize all versions related utils in a single script
- update version to be semver compliant with the new tools
- update make targets and CI workflow to use the new version tool
- update release issue template
2021-10-07 16:49:00 +02:00
Arthur Meyre
05e1227269 chore: update env docker to have runtime lib path in LD_PRELOAD
- update the rest of the dockers, script and CI to stop setting LD_PRELOAD
2021-10-07 09:58:23 +02:00
Arthur Meyre
1fc9a36ab6 chore: upgrade nbmake to version without pathlib
- it breaks poetry installs with a deprecated dependency
- opened PR to solve: https://github.com/treebeardtech/nbmake/pull/48
- upgrade dependencies at the same time
- re-order installation steps for make setup_env to first install pip
2021-10-05 13:34:58 +02:00
Arthur Meyre
6fc6991839 chore: add __version__ and automated tools to update it
- also add a checker to verify that versions are in sync
2021-10-04 09:40:10 +02:00
Umut
ad95aba053 chore: run extract_machine_info.py before running the benchmark target, fix missing MACHINE_NAME variable exception 2021-09-27 17:59:48 +03:00
Arthur Meyre
2b5f152f23 fix(tests): disable warnings for notebook tests
- a warning in a package unrelated to the project made pytest fail
- run notebook tests without warnings as sources are already tested with
warnings treated as errors
2021-09-27 11:32:38 +02:00
Arthur Meyre
1a340e111e tools: add shell_lint target to lint .sh files
- update docker image to install shellcheck
- fix lint errors in files
2021-09-21 11:16:14 +02:00
Arthur Meyre
35011bd403 build: test codeblocks in CI 2021-09-20 17:24:16 +02:00
Arthur Meyre
5aa4ce1ef8 fix(build): test coverage in pytest 2021-09-20 17:24:16 +02:00
Arthur Meyre
dc5446d5bf fix(tools): force reinstall when installing setuptools
- prevents a poetry bug from breaking the package
2021-09-20 14:02:01 +02:00
Umut
7088f234cb chore: set notebook timeout to 3 hours 2021-09-16 17:18:48 +03:00
Arthur Meyre
157dcc44bc tools: add a script to easily upgrade python dependencies 2021-09-16 13:40:07 +02:00
Benoit Chevallier-Mames
1c82db2706 test: adding tests on script
closes #288
2021-09-16 12:04:32 +02:00
Umut
407e57c384 chore: make docker_publish_measurements target work better locally, improve daily benchmarks workflow 2021-09-16 10:54:57 +03:00
Arthur Meyre
5871d4e187 fix(tools): update Makefile for moved notebooks 2021-09-15 20:07:21 +02:00
Arthur Meyre
a69975742f docs: move notebooks to docs and use nbsphinx to include them in the html
- update env image to install pandoc required by nbsphinx
2021-09-15 18:01:30 +02:00
Umut
ae3c179294 chore: disable attaching tty to docker during benchmarks 2021-09-15 12:50:08 +03:00
Umut
c253219277 feat: implement performing and publishing benchmarks with a single make target 2021-09-15 10:08:08 +03:00
Umut
b7a7d3d064 feat: make the inference in examples homomorphic 2021-09-13 17:12:11 +03:00
Arthur Meyre
a8e7f0e237 tools: create Docker release image, helper build script and requirements
- also create Documentation and issue template
2021-09-08 18:16:30 +02:00
Umut
d02e848fca refactor: update benchmark infrastructure to be compatible with the new progress tracker 2021-09-08 12:31:32 +03:00
Benoit Chevallier-Mames
4778dc503b doc: use the imperative mode in docstring
closes #230
2021-09-08 11:11:16 +02:00
Arthur Meyre
98c25c5d8b chore: rename packages for concretefhe 2021-09-07 10:05:28 +02:00
Arthur Meyre
959328e0f5 chore: rename hdk to concrete first pass 2021-09-06 18:43:49 +02:00
Arthur Meyre
468686a92f tools: add pytest_nb target to easily test notebooks 2021-09-03 09:58:00 +02:00
Arthur Meyre
ad0a65078f tools: remove serialize_targets.sh which is useless
- use make --keep-going instead
2021-09-01 11:51:54 +02:00
Arthur Meyre
3b339b1e88 tools: make sphinx-build warnings errors
- add -W and --keep-going for SPHINXOPTS
- use $(MAKE) for make invocations
- build the docs in the conformance phase as the sphinx build has checks
2021-09-01 10:31:33 +02:00
Umut
a7eb2973a6 chore(Makefile): run clean_docs before running docs to prevent obsolete warnings 2021-09-01 10:57:07 +03:00
Arthur Meyre
135805a1b9 tools: make matplotlib work inside the dev docker
- use special DNS from docker
- install tkinter
- use proper matplotlib backend
- add instructions to install xserver in docs/dev/GETTING-STARTED.md
2021-08-31 14:57:20 +02:00
youben11
e408b292d3 ci: pulling latest image when building docker img 2021-08-31 10:12:10 +01:00
Arthur Meyre
61daa49e9d fix(tools): update Makefile targets to allow make binary path with spaces
- avoids issues if the make binary path contains spaces
2021-08-26 15:31:58 +02:00