Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: temporarily exclude gdrivefs from extras #5483

Merged
merged 1 commit into from
Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
python-version: 3.8
- name: Install requirements
run: pip install ".[all,tests]" Pygments collective.checkdocs pre-commit
run: pip install ".[all,tests]" Pygments collective.checkdocs pre-commit git+https://github.com/intake/gdrivefs.git
- name: Check README
run: python setup.py checkdocs
- uses: pre-commit/action@v2.0.0
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ def run(self):
"mypy",
"wsgidav",
"crc32c",
"gdrivefs @ git+https://github.com/intake/gdrivefs.git",
# pypi doesn't allow for direct dependencies
# "gdrivefs @ git+https://github.com/intake/gdrivefs.git",
]

setup(
Expand Down
6 changes: 5 additions & 1 deletion tests/remotes/gdrive.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ def get_url():
@cached_property
def client(self):
import pydata_google_auth
from gdrivefs import GoogleDriveFileSystem

try:
from gdrivefs import GoogleDriveFileSystem
except ImportError:
pytest.skip("gdrivefs is not installed")

tmp_path = tmp_fname()
with open(tmp_path, "w") as stream:
Expand Down