From f20c3331d40f9cc4725f5d9a3943fc8a8f8b8cdb Mon Sep 17 00:00:00 2001 From: Micah Gale Date: Sun, 8 Dec 2024 22:38:06 -0600 Subject: [PATCH 1/9] Relaxed and allowed sly 0.4. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0ad39002..c7bccad6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ classifiers = [ ] dependencies = [ "numpy>=1.18", - "sly==0.5" + "sly~=0, >= 0.4" ] [project.optional-dependencies] From da4dca20ac0ab49e52456784d6215d61d168dc3e Mon Sep 17 00:00:00 2001 From: Micah Gale Date: Sun, 8 Dec 2024 22:40:36 -0600 Subject: [PATCH 2/9] Fixed dependency syntax. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c7bccad6..ffd7be5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ classifiers = [ ] dependencies = [ "numpy>=1.18", - "sly~=0, >= 0.4" + "sly==0.*, >= 0.4" ] [project.optional-dependencies] From 0bca7ef6f4f3f3d4d12532a85467582ece36b4ae Mon Sep 17 00:00:00 2001 From: "Micah D. Gale" Date: Mon, 9 Dec 2024 07:32:16 -0600 Subject: [PATCH 3/9] Distrusted any SLY updates due to EOL. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ffd7be5c..06ef2d9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ classifiers = [ ] dependencies = [ "numpy>=1.18", - "sly==0.*, >= 0.4" + "sly>= 0.4, <=0.5" ] [project.optional-dependencies] From b375c245ed3fe177b6aa4c88068593c5d5c20b9f Mon Sep 17 00:00:00 2001 From: "Micah D. Gale" Date: Mon, 9 Dec 2024 07:40:45 -0600 Subject: [PATCH 4/9] Added SLY version testing to matrix. --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c7f7ee9..4bafab5a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -55,6 +55,12 @@ jobs: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] numpy-version: ["1.0", "2.0"] + sly-version: ["0.5"] + include: + -python-version: "3.11" + -numpy-version: "2.0" + -sly-version: "0.4" + name: "Python ${{ matrix.python-version }}, numpy ${{ matrix.numpy-version }}, SLY ${{ sly-version }}" steps: - uses: actions/checkout@v4 From f5177d43b54d727d3e65268ab267a9e96af58ece Mon Sep 17 00:00:00 2001 From: Micah Gale Date: Mon, 9 Dec 2024 07:42:23 -0600 Subject: [PATCH 5/9] Fixed GHA syntax. --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4bafab5a..26bcbd65 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,9 +57,9 @@ jobs: numpy-version: ["1.0", "2.0"] sly-version: ["0.5"] include: - -python-version: "3.11" - -numpy-version: "2.0" - -sly-version: "0.4" + - python-version: "3.11" + numpy-version: "2.0" + sly-version: "0.4" name: "Python ${{ matrix.python-version }}, numpy ${{ matrix.numpy-version }}, SLY ${{ sly-version }}" steps: From 39cc85938825a5556cb6e78683b95d228a7a29b5 Mon Sep 17 00:00:00 2001 From: Micah Gale Date: Mon, 9 Dec 2024 07:47:52 -0600 Subject: [PATCH 6/9] Tried again. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 26bcbd65..42084973 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,7 +60,7 @@ jobs: - python-version: "3.11" numpy-version: "2.0" sly-version: "0.4" - name: "Python ${{ matrix.python-version }}, numpy ${{ matrix.numpy-version }}, SLY ${{ sly-version }}" + name: "Python ${{ matrix.python-version }}, numpy ${{ matrix.numpy-version }}, SLY ${{ matrix.sly-version }}" steps: - uses: actions/checkout@v4 From 98f9fd4a6bd647eb971e8b7b90ac37cefbfe8de2 Mon Sep 17 00:00:00 2001 From: Micah Gale Date: Mon, 9 Dec 2024 07:48:34 -0600 Subject: [PATCH 7/9] Just gave up on job names. --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 42084973..460d46ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,7 +60,6 @@ jobs: - python-version: "3.11" numpy-version: "2.0" sly-version: "0.4" - name: "Python ${{ matrix.python-version }}, numpy ${{ matrix.numpy-version }}, SLY ${{ matrix.sly-version }}" steps: - uses: actions/checkout@v4 From 6bea2fec6dbd6c53b931489a8514cdde58363070 Mon Sep 17 00:00:00 2001 From: "Micah D. Gale" Date: Wed, 11 Dec 2024 10:21:14 -0600 Subject: [PATCH 8/9] Install SLY in CI workflow. --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e7439929..dfcc34cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -69,8 +69,9 @@ jobs: python-version: ${{ matrix.python-version }} - run: pip install numpy~=${{ matrix.numpy-version }} name: install specific numpy version - - run: pip install --user . montepy[test] - - run: pip install --user . montepy[build] + - run: pip install sly~=${{ matrix.sly-version }} + name: install specific sly version + - run: pip install --user . montepy[test, build] - run: pip uninstall -y pytest-profiling name: Uninstall incompatible library if: ${{ matrix.python-version == '3.13' }} From 0909241f7626a402c5a3348707044e676d3e67b6 Mon Sep 17 00:00:00 2001 From: "Micah D. Gale" Date: Wed, 11 Dec 2024 10:22:23 -0600 Subject: [PATCH 9/9] fixed pip install syntax. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dfcc34cc..946f1443 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -71,7 +71,7 @@ jobs: name: install specific numpy version - run: pip install sly~=${{ matrix.sly-version }} name: install specific sly version - - run: pip install --user . montepy[test, build] + - run: pip install --user . montepy[test,build] - run: pip uninstall -y pytest-profiling name: Uninstall incompatible library if: ${{ matrix.python-version == '3.13' }}