astropy / astropy/astroquery

BUG: better handle optional dependencies for testing

Open
#3,556 1 comment 0 reactions 0 assignees View on GitHub
bug infrastructure
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

There are a couple of optional dependencies that are seemed to be pulled in for all the test runs and thus we don't notice if a module using it without padding for them not being available. Even if we decide that there are required dependencies, the testing infrastructure needs to be fixed.

E.g:

- pillow is used in `hips2fits` while it could be not available.
- botocore, as reported in https://github.com/astropy/astroquery/issues/3546

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the test dependency configuration and the hips2fits and botocore usage mentioned in the issue. Run tests in an environment without those optional dependencies to identify where they are installed or assumed available. Done means the testing infrastructure exposes missing optional dependencies and affected modules handle their absence.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.