Skip to content

Commit

Permalink
Merge pull request #610 from idaholab/relax_sly
Browse files Browse the repository at this point in the history
Relax sly dependency to include sly 0.4
  • Loading branch information
MicahGale authored Dec 12, 2024
2 parents 965fafa + 0a5af05 commit b6df078
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ 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"

steps:
- uses: actions/checkout@v4
Expand All @@ -64,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' }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ classifiers = [
]
dependencies = [
"numpy>=1.18",
"sly==0.5"
"sly>= 0.4, <=0.5"
]

[project.optional-dependencies]
Expand Down

0 comments on commit b6df078

Please sign in to comment.