Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax sly dependency to include sly 0.4 #610

Merged
merged 12 commits into from
Dec 12, 2024
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
Loading