mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-11-18 09:54:10 +00:00
Fix importlib dependency (#1088)
* Set requirement ``importlib-metadata~=4.13`` * Update changelog
This commit is contained in:
parent
537a82a7fd
commit
d3eb0e3ed6
2 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
- 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 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)
|
- 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:
|
Deprecations:
|
||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -94,6 +94,8 @@ setup(
|
||||||
"pytype",
|
"pytype",
|
||||||
# Lint code
|
# Lint code
|
||||||
"flake8>=3.8",
|
"flake8>=3.8",
|
||||||
|
# flake8 not compatible with importlib-metadata>5.0
|
||||||
|
"importlib-metadata~=4.13",
|
||||||
# Find likely bugs
|
# Find likely bugs
|
||||||
"flake8-bugbear",
|
"flake8-bugbear",
|
||||||
# Sort imports
|
# Sort imports
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue