Skip to content

Commit

Permalink
927 Github workflow failing (#928)
Browse files Browse the repository at this point in the history
* Update README.md

* Update ontology_code_generator.py

* remove type ignore

* fix black

* fix protobuf version

* change versions

* Update README.md
  • Loading branch information
nikhilranjan7 committed Mar 29, 2023
1 parent 6e2d6ea commit 6a92c17
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# myst requires sphinx <4
sphinx<4
myst-parser>=0.14.0
sphinx-rtd-theme >= 0.5.0
sphinx==3.5.4
myst-parser==0.17.2
sphinx-rtd-theme == 1.1.1
Pygments >= 2.1.1
funcsigs~=1.0.2
mypy_extensions~=0.4.1
sphinxcontrib-spelling
sphinxcontrib-spelling==7.7.0
sphinx-comments
docutils==0.16

# Pipeline remote features
fastapi==0.65.2
Expand Down Expand Up @@ -44,7 +45,7 @@ transformers>=3.1
nltk==3.6.6

nbsphinx==0.8.8
jinja2<=3.0.3
jinja2==3.0.3
asyml_utilities
sphinx_autodoc_typehints

2 changes: 1 addition & 1 deletion forte/data/ontology/ontology_code_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
except ImportError:
# Try backported to PY<39 `importlib_resources`.
import importlib_resources as resources # type: ignore
from importlib_resources.abc import Traversable # type: ignore
from importlib_resources.abc import Traversable

from forte.data.ontology import top, utils
from forte.data.ontology.code_generation_exceptions import (
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'dataclasses~=0.7;python_version<"3.7"',
'importlib-resources>=5.1.4;python_version<"3.9"',
"asyml-utilities",
"protobuf==3.20.0"
],
extras_require={
"data_aug": [
Expand Down

0 comments on commit 6a92c17

Please sign in to comment.