Skip to content

Commit

Permalink
fix: PackageNotFoundError in py36 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
newgene committed Dec 18, 2024
1 parent 4737d5a commit 90035fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/run-tests-py36.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
# Install dependencies manually as pyproject.toml is not supported in Python 3.6
# caching dependencies requires Python 3.8+, skipping it for Python 3.6
run: pip install httpx importlib-metadata pandas pytest pytest-asyncio
- run: pwd; ls -l
# the following command is needed to get aorund the Python 3.6 specific PackageNotFoundError
# from importlib_metadata.version("biothings_client") in biothings_client/__init__.py
- run: mkdir biothings_client.egg-info
- name: Run Tests
# since we cannot install packages directly from source in Py<3.7, we will use biothings_client
# directly from the current working directory
Expand Down

0 comments on commit 90035fb

Please sign in to comment.