Skip to content

Commit

Permalink
Fix CI for python 3.8 (#243)
Browse files Browse the repository at this point in the history
* Fix CI for python 3.8

* Update version
  • Loading branch information
belerico authored Mar 27, 2024
1 parent b1382c2 commit 939d30d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ homepage = "https://eclecticsheep.ai"
repository = "https://github.com/Eclectic-Sheep/sheeprl"

[project.optional-dependencies]
test = ["pytest==7.3.1", "pytest-timeout==2.1.0", "pytest-coverage"]
test = ["pytest==7.3.1", "pytest-timeout==2.1.0", "pytest-coverage", "importlib_resources>=6.2.0"]
dev = [
"pre-commit==3.5.0",
"mypy==1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion sheeprl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
np.int = np.int64
np.bool = bool

__version__ = "0.5.4"
__version__ = "0.5.5.dev0"


# Replace `moviepy.decorators.use_clip_fps_by_default` method to work with python 3.8, 3.9, and 3.10
Expand Down
2 changes: 2 additions & 0 deletions sheeprl/algos/a2c/agent.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from typing import Any, Dict, List, Optional, Sequence, Tuple

import gymnasium
Expand Down
2 changes: 2 additions & 0 deletions sheeprl/algos/sac_ae/agent.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import copy
from math import prod
from typing import Any, Dict, List, Optional, Sequence, SupportsFloat, Tuple, Union
Expand Down

0 comments on commit 939d30d

Please sign in to comment.