You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hydra CI is suffering from a number of failures.
These failures should all be reproducible via nox.
For example, to reproduce the lint-3.7 failure, run nox -s lint-3.7 using python version 3.7.
To reproduce the lint_plugins-3.8(hydra-nevergrad-sweeper) failure, run nox -s 'lint_plugins-3.8(hydra-nevergrad-sweeper)' using python version 3.8.
git clone https://github.com/facebookresearch/hydra
cd hydra
# Check that we're using python version 3.7:
[[ $(python --version)=~"Python 3.7." ]] ||echo"not using python3.7"
pip install nox
nox -s lint-3.7
excerpt from log files: File "/home/circleci/project/.nox/test_plugins-3-8-hydra-ax-sweeper/lib/python3.8/site-packages/pandas/core/frame.py", line 675, in __init__ raise ValueError("columns cannot be a set") ValueError: columns cannot be a set
excerpt from log files: ../../.nox/test_plugins-3-8-hydra-optuna-sweeper/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:1899: in _warnings_warn warnings.warn(message, stacklevel=stacklevel + 1) E sqlalchemy.exc.MovedIn20Warning: The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
excerpt from log files: File "/home/circleci/project/.nox/test_plugins-3-8-hydra-ray-launcher/lib/python3.8/site-packages/ray/_private/services.py", line 2041, in determine_plasma_store_config raise ValueError( ValueError: Attempting to cap object store memory usage at 70864896 bytes, but the minimum allowed is 78643200 bytes.
excerpt from log files: File "/home/circleci/project/.nox/test_plugins-3-8-hydra-submitit-launcher/lib/python3.8/site-packages/pkg_resources/__init__.py", line 118, in <module> warnings.warn( DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
possible remedies: update the pytest deprecation warnings filter used in noxfile.py or pyproject.py
excerpt from log files: .nox/test_plugins_vs_core-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn( E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
possible remedies: update the pytest deprecation warnings filter used in noxfile.py or pyproject.py
Hydra CI is suffering from a number of failures.
These failures should all be reproducible via
nox
.For example, to reproduce the
lint-3.7
failure, runnox -s lint-3.7
using python version 3.7.To reproduce the
lint_plugins-3.8(hydra-nevergrad-sweeper)
failure, runnox -s 'lint_plugins-3.8(hydra-nevergrad-sweeper)'
using python version 3.8.File "/home/circleci/project/.nox/lint-3-7/lib/python3.7/site-packages/flake8/plugins/manager.py", line 254, in _load_entrypoint_plugins eps = importlib_metadata.entry_points().get(self.namespace, ()) AttributeError: 'EntryPoints' object has no attribute 'get' nox > [2024-01-18 12:31:05,224] Command flake8 --config .flake8 failed with exit code 1 nox > [2024-01-18 12:31:05,225] Session lint-3.7 failed.
importlib-metadata<=4; python_version <= '3.7'
inhydra/requirements/dev.txt
.Reference: https://stackoverflow.com/a/73932581
plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py:15: error: Skipping analyzing "nevergrad": module is installed, but missing library stubs or py.typed marker [import-untyped] plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py:15: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py:79: error: Unused "type: ignore" comment [unused-ignore]
plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py:22: error: Unused "type: ignore" comment [unused-ignore] plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py:127: error: Argument after ** must be a mapping, not "Union[Dict[Union[str, bytes, int, Enum, float, bool], Any], Dict[Any, Any]]" [arg-type]
File "/home/circleci/project/.nox/test_plugins-3-8-hydra-ax-sweeper/lib/python3.8/site-packages/pandas/core/frame.py", line 675, in __init__ raise ValueError("columns cannot be a set") ValueError: columns cannot be a set
../../.nox/test_plugins-3-8-hydra-optuna-sweeper/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py:1899: in _warnings_warn warnings.warn(message, stacklevel=stacklevel + 1) E sqlalchemy.exc.MovedIn20Warning: The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
File "/home/circleci/project/.nox/test_plugins-3-8-hydra-ray-launcher/lib/python3.8/site-packages/ray/_private/services.py", line 2041, in determine_plasma_store_config raise ValueError( ValueError: Attempting to cap object store memory usage at 70864896 bytes, but the minimum allowed is 78643200 bytes.
File "/home/circleci/project/.nox/test_plugins-3-8-hydra-submitit-launcher/lib/python3.8/site-packages/pkg_resources/__init__.py", line 118, in <module> warnings.warn( DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
noxfile.py
orpyproject.py
.nox/test_plugins_vs_core-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:118: in <module> warnings.warn( E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
noxfile.py
orpyproject.py
In this issue I've just focused on python3.7 and python3.8, which is where the most failures are occurring
The text was updated successfully, but these errors were encountered: