From 347d48b2e6bfa7e6d4d9e0dcbe253a3b6f8e3e99 Mon Sep 17 00:00:00 2001 From: bastien-mva <bastien.batardiere@gmail.com> Date: Mon, 3 Jun 2024 11:53:41 +0200 Subject: [PATCH 1/3] add pkg_resources as dependency --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index ae5c5f4f..bcc8dc4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,7 @@ dependencies = [ "scikit-learn", "patsy", "tqdm", +"pkg_resources", ] [project.optional-dependencies] tests = ["pytest","pytest_lazy_fixture"] -- GitLab From 3e8279eba48a8ebe6c78011edddfa5de51a9cac3 Mon Sep 17 00:00:00 2001 From: bastien-mva <bastien.batardiere@gmail.com> Date: Mon, 3 Jun 2024 11:53:59 +0200 Subject: [PATCH 2/3] add pkg_resources as dependency. --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e8fbedc3..af48a48f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,11 +22,11 @@ tests: pip install '.[tests]' script: - pip install . - # - jupyter nbconvert Getting_started.ipynb --to python --output tests/test_getting_started - # - cd tests - # - python create_readme_getting_started_and_docstrings_tests.py - # - rm test_getting_started.py # remove as it has been modified in a directory. - # - pytest . + - jupyter nbconvert Getting_started.ipynb --to python --output tests/test_getting_started + - cd tests + - python create_readme_getting_started_and_docstrings_tests.py + - rm test_getting_started.py # remove as it has been modified in a directory. + - pytest . only: - main - dev -- GitLab From 161d674d53ab6a6ab0e9b0647c79ffea7eab2f06 Mon Sep 17 00:00:00 2001 From: bastien-mva <bastien.batardiere@gmail.com> Date: Mon, 3 Jun 2024 11:58:42 +0200 Subject: [PATCH 3/3] remove pkg_resources dependencies. --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bcc8dc4c..ae5c5f4f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,6 @@ dependencies = [ "scikit-learn", "patsy", "tqdm", -"pkg_resources", ] [project.optional-dependencies] tests = ["pytest","pytest_lazy_fixture"] -- GitLab