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

Warnings and deprecations when running tests #513

Open
wd15 opened this issue Aug 13, 2020 · 0 comments
Open

Warnings and deprecations when running tests #513

wd15 opened this issue Aug 13, 2020 · 0 comments
Labels
Milestone

Comments

@wd15
Copy link
Contributor

wd15 commented Aug 13, 2020

ib/python3.7/site-packages/pymks/fmks/func.py::pymks.fmks.func.deprecate                                                                                                                                          
  /home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/fmks/func.py:1: DeprecationWarning: Call to deprecated function (or staticmethod) wrapper. (Use pymks.fmks instead.) -- Deprecated since version 0.4.                                           
    """Functional helper functions for fmks.

lib/python3.7/site-packages/pymks/fmks/data/multiphase.py::pymks.fmks.data.multiphase.generate
lib/python3.7/site-packages/pymks/fmks/data/multiphase.py::pymks.fmks.data.multiphase.quantile_ndim
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_2d
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_1d
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_3d
lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_versus_old
  /home/wd15/.local/lib/python3.7/site-packages/toolz/functoolz.py:303: FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future.                               
    return self._partial(*args, **kwargs)

lib/python3.7/site-packages/pymks/fmks/tests/test_homogenization_fmks.py::test_classification
  /home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/dask/array/core.py:1359: FutureWarning: The `numpy.may_share_memory` function is not implemented by Dask array. You may want to use the da.map_blocks function or something similar to silence this warning. Your code may stop working in a future release.
    FutureWarning,                                  

lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_versus_old
  /home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py:107: DeprecationWarning: Call to deprecated method wrapper. (Use pymks.fmks instead.) -- Deprecated since version 0.4.                                            
    percent_variance=percent_variance,

lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_versus_old
  /home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/datasets/base_microstructure_generator.py:54: DeprecationWarning: Call to deprecated method wrapper. (Use pymks.fmks instead.) -- Deprecated since version 0.4.                                 
    super(_BaseMicrostructureGenerator, self).__init__()

lib/python3.7/site-packages/pymks/fmks/tests/test_multiphase.py::test_versus_old
  /home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/datasets/microstructure_generator.py:43: DeprecationWarning: Call to deprecated method wrapper. (Use pymks.fmks instead.) -- Deprecated since version 0.4.                                      
    filter_ = Filter(self._fftn(gaussian[None, ..., None]), self)

lib/python3.7/site-packages/pymks/fmks/tests/test_plot.py::test_plot
  /home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/fmks/plot.py:12: MatplotlibDeprecationWarning: 
  The colNum attribute was deprecated in Matplotlib 3.2 and will be removed two minor releases later. Use ax.get_subplotspec().colspan.start instead.
    axis.set_title(titles[axis.colNum])

lib/python3.7/site-packages/pymks/fmks/tests/test_plot.py::test_plot
  /home/wd15/miniconda3/envs/pymksa4/lib/python3.7/site-packages/pymks/fmks/plot.py:14: MatplotlibDeprecationWarning: 
  The colNum attribute was deprecated in Matplotlib 3.2 and will be removed two minor releases later. Use ax.get_subplotspec().colspan.start instead.
    arrs[axis.colNum],                              

-- Docs: https://docs.pytest.org/en/stable/warnings.html
@wd15 wd15 added the bug label Aug 13, 2020
@wd15 wd15 modified the milestones: 0.4.1, 0.4.2 Aug 13, 2020
@wd15 wd15 modified the milestones: 0.4.2, 0.5 Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant