From 88f28d8c8fe34009997e581df43e1e8a9f901ac4 Mon Sep 17 00:00:00 2001 From: Farhad Allian <39086289+f-allian@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:12:40 +0000 Subject: [PATCH 1/6] Update publish-to-pypi.yaml fix: python 3.10 --- .github/workflows/publish-to-pypi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index e28a35d2..b8281bdf 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -16,7 +16,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v3 with: - python-version: 3.9 + python-version: 3.10 - name: Installing package run: | pip3 install . @@ -30,4 +30,4 @@ jobs: - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} From 83cbb3dd0811d8d1079ca1fb3f3643bfb40875f2 Mon Sep 17 00:00:00 2001 From: Farhad Allian <39086289+f-allian@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:13:09 +0000 Subject: [PATCH 2/6] Update publish-to-dafni.yaml fix: python 3.10 --- .github/workflows/publish-to-dafni.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-dafni.yaml b/.github/workflows/publish-to-dafni.yaml index 7d6da5b4..e5c054b0 100644 --- a/.github/workflows/publish-to-dafni.yaml +++ b/.github/workflows/publish-to-dafni.yaml @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 with: - python-version: 3.9 + python-version: 3.10 - name: Build the container run: | From 93ef37d0f9b003434613f85761692cccfe8fa250 Mon Sep 17 00:00:00 2001 From: Farhad Allian <39086289+f-allian@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:31:01 +0000 Subject: [PATCH 3/6] Update publish-to-pypi.yaml fix: quotation marks in python-version --- .github/workflows/publish-to-pypi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index b8281bdf..abd55a03 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -16,7 +16,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v3 with: - python-version: 3.10 + python-version: '3.10' - name: Installing package run: | pip3 install . From 19789cbad177c2e9b78a711a83a460dfd86d2bb8 Mon Sep 17 00:00:00 2001 From: Farhad Allian <39086289+f-allian@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:31:54 +0000 Subject: [PATCH 4/6] Update publish-to-dafni.yaml fix: quotation marks in python-version --- .github/workflows/publish-to-dafni.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-dafni.yaml b/.github/workflows/publish-to-dafni.yaml index e5c054b0..424a0fe6 100644 --- a/.github/workflows/publish-to-dafni.yaml +++ b/.github/workflows/publish-to-dafni.yaml @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 with: - python-version: 3.10 + python-version: '3.10' - name: Build the container run: | From ceffc7f6fc60cce4ad77628946dc97a5e9aabfb8 Mon Sep 17 00:00:00 2001 From: Farhad Allian <39086289+f-allian@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:42:59 +0000 Subject: [PATCH 5/6] Update pyproject.toml Fix: versions in pyproject.toml --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1b35e510..8821bd4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ name = "causal_testing_framework" authors = [{ name = "The CITCOM team" }] description = "A framework for causal testing using causal directed acyclic graphs." readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" license = { text = "MIT" } keywords = ["causal inference", "verification"] dependencies = [ @@ -63,7 +63,7 @@ find = { } [tool.black] # https://github.com/psf/black line-length = 120 -target-version = ["py39"] +target-version = ["py310"] [tool.autopep8] max_line_length = 120 From 18d0356df86487a887d6f0338e75ccae802a58f5 Mon Sep 17 00:00:00 2001 From: Farhad Allian <39086289+f-allian@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:45:37 +0000 Subject: [PATCH 6/6] Update README.md Fix: Python version in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7739e8d8..1158d44e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ system-under-test that is expected to cause a change to some output(s). ## Installation ### Requirements -- Python 3.9, 3.10, 3.11 and 3.12 +- Python 3.10, 3.11 and 3.12 - Microsoft Visual C++ 14.0+ (Windows only). @@ -121,4 +121,4 @@ To find the other (optional) developer dependencies, please check `pyproject.tom The Causal Testing Framework is supported by the UK's Engineering and Physical Sciences Research Council (EPSRC), with the project name [CITCOM](https://gow.epsrc.ukri.org/NGBOViewGrant.aspx?GrantRef=EP/T030526/1) - "_Causal Inference for Testing of Computational Models_" -under the grant EP/T030526/1. \ No newline at end of file +under the grant EP/T030526/1.