astropy / astropy/specutils

TST: Remote data job has 5 failures with HTTP Error 503

Open
#1,295 12 comments 0 reactions 0 assignees View on GitHub
bug testing
Dominant language
Python
Stars
204
Forks
134
Avg merge
12h 55m
Merged PRs (30d)
1

Description

https://das.sdss.org/spectro/1d_26/0273/1d/spSpec-51957-0273-016.fit now throws `503 Service Unavailable`. Need to find new data for these tests or rewrite them to not require remote data.

* `specutils/tests/test_loaders.py::test_sdss_spspec`
* `specutils/tests/test_loaders.py::test_sdss_spspec_stream`
* `specutils/tests/test_loaders.py::test_sdss_compressed[gzip]`
* `specutils/tests/test_loaders.py::test_sdss_compressed[bzip2]`
* `specutils/tests/test_loaders.py::test_sdss_compressed[xz]`

Contributor guide

Open the contributing guide

Research direction

Start by running the five listed tests in specutils/tests/test_loaders.py and inspect how they access the failing SDSS URL. Determine whether replacement data is available or whether the tests can avoid remote data, then verify all five tests pass without the 503 failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.