diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst index 5f98147..738b676 100644 --- a/docs/misc/changelog.rst +++ b/docs/misc/changelog.rst @@ -36,6 +36,7 @@ Bug Fixes: - Removed ``forward()`` abstract method declaration from ``common.policies.BaseModel`` (already defined in ``torch.nn.Module``) to fix type errors in subclasses (@Rocamonde) - Fixed the return type of ``.load()`` and ``.learn()`` methods in ``BaseAlgorithm`` so that they now use ``TypeVar`` (@Rocamonde) - Fixed an issue where keys with different tags but the same key raised an error in ``common.logger.HumanOutputFormat`` (@Rocamonde and @AdamGleave) +- Set importlib-metadata version to `~=4.13` Deprecations: ^^^^^^^^^^^^^ diff --git a/setup.py b/setup.py index 8c410a3..fd1ee47 100644 --- a/setup.py +++ b/setup.py @@ -94,6 +94,8 @@ setup( "pytype", # Lint code "flake8>=3.8", + # flake8 not compatible with importlib-metadata>5.0 + "importlib-metadata~=4.13", # Find likely bugs "flake8-bugbear", # Sort imports