From 8f5222cce1f72f404eddaa41f820a16112e475bf Mon Sep 17 00:00:00 2001 From: f-allian Date: Thu, 26 Jun 2025 15:07:00 +0100 Subject: [PATCH 1/5] fix: scipy version --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7cdc1cbc..6a3c2c9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,14 +22,13 @@ dependencies = [ "numpy~=1.26", "pandas>=2.1", "scikit_learn~=1.4", - "scipy~=1.7", + "scipy>=1.12.0,<1.14.0", "statsmodels~=0.14", "tabulate~=0.9", "pydot~=2.0", "pygad~=3.3", "deap~=1.4.1", "sympy~=1.13.1", - "deap~=1.4.1", "pyarrow~=19.0.1", "fastparquet~=2024.11.0", ] From c7a43ad446c6f55714c4f90831df0fdd3e5f819f Mon Sep 17 00:00:00 2001 From: f-allian Date: Mon, 30 Jun 2025 13:01:33 +0100 Subject: [PATCH 2/5] fix: CD pipeline --- .github/workflows/publish-to-pypi.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index abd55a03..5ce0497f 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -13,20 +13,21 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Set up Python uses: actions/setup-python@v3 with: python-version: '3.10' - - name: Installing package + + - name: Install build tools first run: | - pip3 install . - pip3 install .[pypi] - pip3 install build wheel - pip3 install setuptools --upgrade - pip3 install setuptools_scm + pip install --upgrade pip setuptools wheel build setuptools_scm + - name: Build Package run: | + python -m build --no-isolation + - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: From 6038ec7c21b6b5cac9ee7fd2b54099f6aba1323b Mon Sep 17 00:00:00 2001 From: f-allian Date: Mon, 30 Jun 2025 13:22:22 +0100 Subject: [PATCH 3/5] fix: setuptools config and causal_testng/estimation --- causal_testing/estimation/__init__.py | 0 pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 causal_testing/estimation/__init__.py diff --git a/causal_testing/estimation/__init__.py b/causal_testing/estimation/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/pyproject.toml b/pyproject.toml index 6a3c2c9c..df20099d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ Documentation = "https://causal-testing-framework.readthedocs.io/" Source = "https://github.com/CITCOM-project/CausalTestingFramework" [tool.setuptools.packages] -find = { } +where = ["causal_tesing"] [tool.setuptools_scm] From 34ec784a67d4fa85532738db139a313fd6f3fcae Mon Sep 17 00:00:00 2001 From: f-allian Date: Mon, 30 Jun 2025 13:48:31 +0100 Subject: [PATCH 4/5] Revert "fix: setuptools config and causal_testng/estimation" This reverts commit 6038ec7c21b6b5cac9ee7fd2b54099f6aba1323b. --- causal_testing/estimation/__init__.py | 0 pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 causal_testing/estimation/__init__.py diff --git a/causal_testing/estimation/__init__.py b/causal_testing/estimation/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/pyproject.toml b/pyproject.toml index df20099d..6a3c2c9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ Documentation = "https://causal-testing-framework.readthedocs.io/" Source = "https://github.com/CITCOM-project/CausalTestingFramework" [tool.setuptools.packages] -where = ["causal_tesing"] +find = { } [tool.setuptools_scm] From 8711cab2645bcd45bc2af82c011a96f6eea30950 Mon Sep 17 00:00:00 2001 From: f-allian Date: Mon, 30 Jun 2025 13:48:59 +0100 Subject: [PATCH 5/5] Revert "fix: CD pipeline" This reverts commit c7a43ad446c6f55714c4f90831df0fdd3e5f819f. --- .github/workflows/publish-to-pypi.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index 5ce0497f..abd55a03 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -13,21 +13,20 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up Python uses: actions/setup-python@v3 with: python-version: '3.10' - - - name: Install build tools first + - name: Installing package run: | - pip install --upgrade pip setuptools wheel build setuptools_scm - + pip3 install . + pip3 install .[pypi] + pip3 install build wheel + pip3 install setuptools --upgrade + pip3 install setuptools_scm - name: Build Package run: | - python -m build --no-isolation - - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: