Deprecation warning using old scipy namespace for gaussian_filter
Open
- Dominant language
- Python
- Stars
- 3k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
foolbox is importing gaussian_filter from the namespace scipy.ndimage.filters, which is deprecated in more recent versions of scipy so yields a deprecation warning. The correct namespace of scipy.ndimage has been available since at least v1.2 so importing from there should support all target versions of Python (3.6 - 3.8).
**To Reproduce**
Install latest stable version of scipy (1.9.3). Run a Gaussian blue attack.
**Expected behavior**
No deprecation warning if newer namespace employed.
**Software (please complete the following information):**
- Foolbox version: 3.3.3
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.