Skip to content

Commit

Permalink
Add importlib-resources as a test requirement for ofrak
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyatt committed Jan 10, 2024
1 parent c211f6d commit 909bd70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion ofrak_core/requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ hypothesis~=6.39.3
hypothesis-trio
trio-asyncio
mypy==0.942
ofrak-angr~=1.0
psutil~=5.9
pyelftools==0.29
pytest-aiohttp
Expand Down
6 changes: 5 additions & 1 deletion ofrak_core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ def read_requirements(requirements_path):
+ read_requirements("requirements.txt"),
extras_require={
"docs": read_requirements("requirements-docs.txt"),
"test": ["ofrak_angr~=1.0", "ofrak_capstone~=1.0"]
"test": [
"importlib-resources", # Needed because of https://github.com/redballoonsecurity/ofrak/issues/398
"ofrak_angr~=1.0",
"ofrak_capstone~=1.0",
]
+ read_requirements("requirements-test.txt"),
"non-pypi": read_requirements("requirements-non-pypi.txt"),
},
Expand Down

0 comments on commit 909bd70

Please sign in to comment.