Skip to content

Commit 7b8d6b9

Browse files
authored
Merge pull request #230 from ISISComputingGroup/fix_ufloat_warning
Fix erroneous ufloat warning during fitting
2 parents 648d587 + 1531f94 commit 7b8d6b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ dependencies = [
5151
"scippneutron", # neutron-specific utilities for scipp
5252
"typing-extensions", # TypeVar with default-arg support
5353
"tzdata", # Windows timezone support
54+
55+
# Transitive dependency of lmfit, but we want to pin this to avoid https://github.com/lmfit/lmfit-py/issues/999
56+
# Remove this dependency here once lmfit >= 1.3.4 is released.
57+
"uncertainties<3.2.3",
5458
]
5559

5660
[project.optional-dependencies]
@@ -83,6 +87,7 @@ asyncio_mode = "auto"
8387
addopts = "--cov --cov-report=html -vv"
8488
filterwarnings = [
8589
'ignore:FigureCanvasAgg is non-interactive, and thus cannot be shown:UserWarning',
90+
'error:Using UFloat objects with std_dev==0 may give unexpected results.:UserWarning',
8691
]
8792

8893
[tool.pytest_env]

0 commit comments

Comments
 (0)