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

Remove the hard dep on parfive #7159

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Cadair
Copy link
Member

@Cadair Cadair commented Aug 17, 2023

We deprecated it already, this should practically fix #7150 but I think we need to add some testing infra before we close that.

@Cadair Cadair force-pushed the remove_download_sample_Data branch from 4df5b2e to c6f71ba Compare August 17, 2023 21:56
@@ -42,6 +40,8 @@ class ParfiveDownloader(DownloaderBase):
"""

def download(self, url, path):
from sunpy.util.parfive_helpers import Downloader
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is basically a hack. We need to be able to import sunpy.data for our tests, but the user API requires parfive. I am open to better suggestions.

tox.ini Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
@ayshih ayshih changed the title Remove download sample data Remove the deprecated download_sample_data() Sep 15, 2023
@wtbarnes wtbarnes added this to the 5.1.0 milestone Oct 4, 2023
Copy link
Member

@dstansby dstansby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting that CI is fixed 😉

@dstansby dstansby removed this from the 5.1.0 milestone Oct 24, 2023
@nabobalis nabobalis changed the title Remove the deprecated download_sample_data() Remove the hard dep on parfive Dec 29, 2023
@nabobalis nabobalis added net Affects the net submodule data Affects the data submodule Run cron CI Run cron CI on this PR labels Dec 29, 2023
@nabobalis

This comment was marked as outdated.

@nabobalis nabobalis force-pushed the remove_download_sample_Data branch 2 times, most recently from a826b7c to 4fbd20b Compare March 29, 2024 20:56
@nabobalis
Copy link
Contributor

I made this PR a mess, i'll fix it

@nabobalis nabobalis added this to the 6.0.0 milestone May 8, 2024
@wtbarnes wtbarnes removed this from the 6.0.0 milestone May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Affects the data submodule net Affects the net submodule Run cron CI Run cron CI on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sunpy map has a hard dep on parfive
5 participants