From aab136f095faaa8777cb3957e02d735200bd6faf Mon Sep 17 00:00:00 2001 From: f-allian Date: Mon, 30 Jun 2025 13:54:15 +0100 Subject: [PATCH 1/3] fix: build distribution --- .github/workflows/publish-to-pypi.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index abd55a03..c3c244e0 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -17,16 +17,15 @@ jobs: uses: actions/setup-python@v3 with: python-version: '3.10' - - name: Installing package + + - name: Install build tools 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 95ecc4f4850ab4875b00dbbcf7722610d7bc09e8 Mon Sep 17 00:00:00 2001 From: f-allian Date: Mon, 30 Jun 2025 13:55:10 +0100 Subject: [PATCH 2/3] fix: /estimation module as package --- causal_testing/estimation/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) 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 From a7fc0afa9cf94d9c692c416b55f80883c4e64715 Mon Sep 17 00:00:00 2001 From: f-allian Date: Mon, 30 Jun 2025 13:55:53 +0100 Subject: [PATCH 3/3] fix: setuptools config --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7cdc1cbc..a7554496 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ Documentation = "https://causal-testing-framework.readthedocs.io/" Source = "https://github.com/CITCOM-project/CausalTestingFramework" [tool.setuptools.packages] -find = { } +find = {} [tool.setuptools_scm]