mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-05-14 20:58:03 +00:00
Fix overly relaxed version requirement on NumPy (#1472)
Since commit 489b1fda, this package has been using
`numpy.typing.DTypeLike`, which was only added in [NumPy 1.20][1].
[1]: https://numpy.org/doc/stable/release/1.20.0-notes.html#numpy-is-now-typed
Co-authored-by: troiganto <troiganto@proton.me>
Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
This commit is contained in:
parent
6cbb2c9303
commit
4f9805eeb8
2 changed files with 3 additions and 2 deletions
|
|
@ -35,6 +35,7 @@ New Features:
|
|||
Bug Fixes:
|
||||
^^^^^^^^^^
|
||||
- Fixed ``VecExtractDictObs`` does not handle terminal observation (@WeberSamuel)
|
||||
- Set NumPy version to ``>=1.20`` due to use of ``numpy.typing`` (@troiganto)
|
||||
- Fixed loading DQN changes ``target_update_interval`` (@tobirohrer)
|
||||
|
||||
Deprecations:
|
||||
|
|
@ -1331,4 +1332,4 @@ And all the contributors:
|
|||
@carlosluis @arjun-kg @tlpss
|
||||
@Melanol @qgallouedec @francescoluciano @jlp-ue @burakdmb @timothe-chaumont @honglu2875
|
||||
@anand-bala @hughperkins @sidney-tio @AlexPasqua @dominicgkerr @Akhilez @Rocamonde @tobirohrer @ZikangXiong
|
||||
@DavyMorgan @luizapozzobon @Bonifatius94 @theSquaredError @harveybellini @DavyMorgan @FieteO @jonasreiher @npit @WeberSamuel
|
||||
@DavyMorgan @luizapozzobon @Bonifatius94 @theSquaredError @harveybellini @DavyMorgan @FieteO @jonasreiher @npit @WeberSamuel @troiganto
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -103,7 +103,7 @@ setup(
|
|||
package_data={"stable_baselines3": ["py.typed", "version.txt"]},
|
||||
install_requires=[
|
||||
"gymnasium==0.28.1",
|
||||
"numpy",
|
||||
"numpy>=1.20",
|
||||
"torch>=1.11",
|
||||
'typing_extensions>=4.0,<5; python_version < "3.8.0"',
|
||||
# For saving models
|
||||
|
|
|
|||
Loading…
Reference in a new issue