Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* merge python3_10 integration * improve codecov script * improve codecov script with test verbosity * improve codecov script with test verbosity * add script to run tests on all python version supported * fix path management * change mod of executable file * add interactive shell to handle conda * remove shebang arg * fix contributing and minor typo in tests script * improv example code and remove dead example * squash handling from url branch * cleanup dead file * improve speed test code * add num_workers test fasttext under windows os condition * add tests case for num_workers test in parser * simplified tests case windows * update changelog * fix windows os failing test due to num workers gt 0 * fix missing lower cassing windows os name * add missing downlaod_from_url deprecated message and redirect to new refactored function * add major release todo list to track function to remove * update changelog * add pragma no cover to skip codecovv * improve variable naming * refactor position of non protected method * bump pylint and add django for codacy * fix deepparse tools pylint * fix network pylint * fix vectorizer modules * fix torch member and parser modules * refactor arguments init in cli and cycling import * fix circular import * fix last pylint errors * fix error in csv column names versus column name * fix list csv column names missing nargs * remove duplicate detection and fix with statement for temporary directory * fix oylint on test * push to 0.8.1 * simplification skipif test testing * bug fix issue 141 * fix missing csv dataset in test for csv integration test * merge improvement for error handling of retrain and test API * linting yml file * improve run all tests script * improve run tests python envs * fix naming of tests and some typos * add save_model_eights method (#147) * bumb actions version (checkout and setup-python * fixed actions/checkout setted to 4 instead of 3 * add dependabot * bump stale to v5 * add python 3.11 in linting * remove python 3.11 since not supported for now and add 3.10 in windows test to see if still fails * revert windoes python 3.10 since still fail * Add codeql (#148) * Create FUNDING.yml * Update README.md * Update FUNDING.yml * Create codeql-analysis.yml * add deprecated warnings class type on deprecated download_from_url_fn * refactored dataset containter creation into a factory * fix errors for parsing cases * moved arguments in dataset factory * add tests case for new factory tool fn * added val dataset handling * fixed tests and remove major release todo * added cleaning conda env * improved scirpt with warmup training * remove fine_tuning script since in branch * fixed tests * fixed test without clear num_workers arg * remove fn download_from_url * removed unecessary retrain in test api tests * added verbose for test and improved tests for retrain test integration * updated changelog * fixed missing hint typing, improved internal doc, fixed train_ratio arg error in code examples and in doc * add pylint step on code examples * added missing typing, uniformization of assertFileExist fn, added integration test and improved doc * remove comment in linting ci to bug fix if failling problem * fix dead verbose retrain api flag * add ini option for django * remove linting of code example since fail due to pylint-django and I am unable to make it work * fixed django settings * add steps to install depparse for code examples linting * remove install -e * reinstaller install -e . * add skip=no-member since it is mostly flase positive * removed no-member pylint disable * add docker image * formating * formated README * update changelog * merge uk example and fixes to doc * hot-fix choices handling in cli.download * linting and security template mv * improved deepparse server error handling * merge offline parsing * fix typo in all test run * fixed error in module name and refactored errors module * fixed reference packaging other deepparse module * added missing hint typing * add missing urllib3 dependancies * improve workflow * improve doc * add download_models, fix bug in cache path handling and fixed examples * update changelog * refactored test and add download_models tests * merge refactoring of download cli fn * moved code for licensing * fixed typo in doc * Update CHANGELOG.md * added factories and tests * added offline argument to model factory * added data padders & tests * black formatting * added data padder factory & tests * added docstring & preparing to refactor padder * refactored data padder to solve LSP issue * refactored vectorizer factory & temporarily removed type hinting from TrainVectorizer due to cyclic import * adjusted docstring * Hotfix `SSLError` when downloading model weights of model type: `bpemb` (#157) * ✨ add `no_ssl_verification()` context manager disables SSL for requests library within context * 🐛 hotfix model factory for `model_type="bpemb"` Co-authored-by: David Beauchemin <[email protected]> * moved context wrapper in bpemb embedding model * removed unused as err * added pylint skip for broad except to hotfix code * added pylint skip for broad except to hotfix code * bump version and changelog * added DataPadder docstring * applied refurb (#160) * wip - added DataProcessor and tests * tweaked process_for_training method * finished DataProcessor and tests * removed obsolete tests * added DataProcessor docstring * Bump docker/metadata-action from 4.0.1 to 4.1.1 (#161) Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.0.1 to 4.1.1. - [Release notes](https://github.com/docker/metadata-action/releases) - [Commits](docker/metadata-action@69f6fc9...5739616) --- updated-dependencies: - dependency-name: docker/metadata-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/login-action from 2.0.0 to 2.1.0 (#162) Bumps [docker/login-action](https://github.com/docker/login-action) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@49ed152...f4ef78c) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pylint from 2.15.3 to 2.15.5 (#163) Bumps [pylint](https://github.com/PyCQA/pylint) from 2.15.3 to 2.15.5. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Commits](pylint-dev/pylint@v2.15.3...v2.15.5) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/build-push-action from 3.1.1 to 3.2.0 (#164) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.1.1 to 3.2.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@c84f382...c56af95) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump black from 22.8.0 to 22.10.0 (#165) Bumps [black](https://github.com/psf/black) from 22.8.0 to 22.10.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@22.8.0...22.10.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Beauchemin <[email protected]> * fix black dependancy pyproject.toml * added DataProcessorFactory and tests * fix error in arg train ratio example and added assert in deepparse.retrain to be more verbose * added error handling for macos and improved windows for case of num_worker and multiprocessing * fixed failling test and improved test for test_api * fixed windows tests * Update CHANGELOG.md * Feat/add new tags to retrain cli (#167) * add missing import in init * add feature to allow new_prediction_tags in retrain CLI API * bump version and changelog * fix typo in doc retrain CLI * fixed errors due to model naming conventions * added final docstring * fixed broken tests * removed broken test patching * cleaned-up parser after new changes integration * black formatting * remove accidental unused import * fixed linting * black formatting * removed unnecessary args * patching factories in AddressParser tests to memory optimise * fixed brocken tests * removed unused import * fixed windows tests * fixed windows test * removed unused modules after refactor * removed imports for removed modules * add tensorboard dependancies in test/requirements since it make test fail due to missing tensorboard for Poutyne import * Update deepparse/parser/address_parser.py Co-authored-by: David Beauchemin <[email protected]> * added error handling to data processor factory * fixed linting * Update deepparse/converter/data_processor_factory.py * fixed broken tests * fixed broken test * Update CHANGELOG.md * Bump docker/metadata-action from 4.1.1 to 4.3.0 (#173) Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.1.1 to 4.3.0. - [Release notes](https://github.com/docker/metadata-action/releases) - [Commits](docker/metadata-action@5739616...507c2f2) --- updated-dependencies: - dependency-name: docker/metadata-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Beauchemin <[email protected]> * Bump pylint from 2.15.9 to 2.15.10 (#174) Bumps [pylint](https://github.com/PyCQA/pylint) from 2.15.9 to 2.15.10. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Commits](pylint-dev/pylint@v2.15.9...v2.15.10) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Beauchemin <[email protected]> * Bump docker/build-push-action from 3.2.0 to 4.0.0 (#175) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.2.0 to 4.0.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](docker/build-push-action@c56af95...3b5e802) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Beauchemin <[email protected]> * Bump black from 22.12.0 to 23.1.0 (#176) * Bump black from 22.12.0 to 23.1.0 Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@22.12.0...23.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * bump pyproject.toml --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Beauchemin <[email protected]> * bump version * black formatting --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Marouane Yassine <[email protected]> Co-authored-by: Ajinkya Indulkar <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marouane Yassine <[email protected]>
- Loading branch information