Fix importlib dependency (#1088)

* Set requirement ``importlib-metadata~=4.13``

* Update changelog
This commit is contained in:
Quentin Gallouédec 2022-10-03 12:03:51 +02:00 committed by GitHub
parent 537a82a7fd
commit d3eb0e3ed6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -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:
^^^^^^^^^^^^^

View file

@ -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