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

test: [Automatic] Constraints upgrades: dask, hypothesis, ipython, jsonschema, lxml, npe2, numpy, pillow, psutil, pytest, scipy, tensorstore, toolz, xarray #6608

Merged
merged 1 commit into from Jan 28, 2024

Conversation

napari-bot
Copy link
Contributor

@napari-bot napari-bot commented Jan 21, 2024

This PR is automatically created and updated by this napari GitHub Action:
https://github.com/napari/napari/tree/main/.github/workflows/upgrade_test_contraints.yml
It ensures that dependencies are tested with the most recent version.

The updated packages are:

  • alabaster
  • attrs
  • comm
  • coverage
  • dask
  • fonttools
  • hypothesis
  • ipykernel
  • ipython
  • jinja2
  • jsonschema
  • jupyter-core
  • lxml
  • markupsafe
  • ml-dtypes
  • nest-asyncio
  • npe2
  • numpy
  • pillow
  • pluggy
  • psutil
  • pytest
  • referencing
  • rpds-py
  • scipy
  • sphinxcontrib-applehelp
  • sphinxcontrib-devhelp
  • sphinxcontrib-htmlhelp
  • sphinxcontrib-qthelp
  • sphinxcontrib-serializinghtml
  • tensorstore
  • toolz
  • traitlets
  • tzdata
  • wcwidth
  • xarray

@napari-bot napari-bot added the maintenance PR with maintance changes, label Jan 21, 2024
Czaki added a commit that referenced this pull request Jan 22, 2024
# Description

The #6608 shows that new pandas warning crash our tests. 
```
  /tmp/.tox/py39-linux-pyqt5/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
      exec(co, module.__dict__)
  napari/layers/base/base.py:28: in <module>
      from napari.layers.utils.layer_utils import (
  <frozen importlib._bootstrap>:1007: in _find_and_load
      ???
  <frozen importlib._bootstrap>:986: in _find_and_load_unlocked
      ???
  <frozen importlib._bootstrap>:680: in _load_unlocked
      ???
  /tmp/.tox/py39-linux-pyqt5/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
      exec(co, module.__dict__)
  napari/layers/utils/layer_utils.py:10: in <module>
      import pandas as pd
  /tmp/.tox/py39-linux-pyqt5/lib/python3.9/site-packages/pandas/__init__.py:221: in <module>
      warnings.warn(
  E   DeprecationWarning: 
  E   Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),
  E   (to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)
  E   but was not found to be installed on your system.
  E   If this would cause problems for you,
  E   please provide us feedback at pandas-dev/pandas#54466
```

This PR adds filter warnings to prevent this failure. Because warnings
start with an empty line, this fix is fragile and heavily depends on the
order of imports.

Pull request to fix warning message in pandas 
pandas-dev/pandas#57003

cPython issue:
python/cpython#114426

This PR also fixes usage of chained assignment.

---------

Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com>
Co-authored-by: Lorenzo Gaifas <brisvag@gmail.com>
Czaki added a commit that referenced this pull request Jan 23, 2024
# Description

The #6608 shows that new pandas warning crash our tests. 
```
  /tmp/.tox/py39-linux-pyqt5/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
      exec(co, module.__dict__)
  napari/layers/base/base.py:28: in <module>
      from napari.layers.utils.layer_utils import (
  <frozen importlib._bootstrap>:1007: in _find_and_load
      ???
  <frozen importlib._bootstrap>:986: in _find_and_load_unlocked
      ???
  <frozen importlib._bootstrap>:680: in _load_unlocked
      ???
  /tmp/.tox/py39-linux-pyqt5/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
      exec(co, module.__dict__)
  napari/layers/utils/layer_utils.py:10: in <module>
      import pandas as pd
  /tmp/.tox/py39-linux-pyqt5/lib/python3.9/site-packages/pandas/__init__.py:221: in <module>
      warnings.warn(
  E   DeprecationWarning: 
  E   Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),
  E   (to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)
  E   but was not found to be installed on your system.
  E   If this would cause problems for you,
  E   please provide us feedback at pandas-dev/pandas#54466
```

This PR adds filter warnings to prevent this failure. Because warnings
start with an empty line, this fix is fragile and heavily depends on the
order of imports.

Pull request to fix warning message in pandas 
pandas-dev/pandas#57003

cPython issue:
python/cpython#114426

This PR also fixes usage of chained assignment.

---------

Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com>
Co-authored-by: Lorenzo Gaifas <brisvag@gmail.com>
@napari-bot napari-bot force-pushed the auto-dependency-upgrades-v0.4.19x branch from 112428b to f40884a Compare January 23, 2024 08:54
@napari-bot napari-bot changed the title test: [Automatic] Constraints upgrades: dask, hypothesis, ipython, jsonschema, lxml, numpy, pandas, pillow, psutil, pytest, scipy, tensorstore, xarray test: [Automatic] Constraints upgrades: dask, hypothesis, ipython, jsonschema, lxml, numpy, pillow, psutil, pytest, scipy, tensorstore, xarray Jan 23, 2024
@napari-bot napari-bot force-pushed the auto-dependency-upgrades-v0.4.19x branch from f40884a to 398cbca Compare January 28, 2024 14:05
@napari-bot napari-bot changed the title test: [Automatic] Constraints upgrades: dask, hypothesis, ipython, jsonschema, lxml, numpy, pillow, psutil, pytest, scipy, tensorstore, xarray test: [Automatic] Constraints upgrades: dask, hypothesis, ipython, jsonschema, lxml, npe2, numpy, pillow, psutil, pytest, scipy, tensorstore, toolz, xarray Jan 28, 2024
@Czaki Czaki added this to the 0.4.19 milestone Jan 28, 2024
@Czaki Czaki merged commit e752541 into v0.4.19x Jan 28, 2024
31 checks passed
@Czaki Czaki deleted the auto-dependency-upgrades-v0.4.19x branch January 28, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PR with maintance changes,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants