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
Grab bag of issues #4331
Grab bag of issues #4331
Conversation
What's the context/motivation for this? |
The context is trying to see what happens if we unindent the retry code in the sample data to get RTD to successfully do retry on the failed sample data. I need to rewrite more code here. |
Seems we are failing to download the sunspot data, I am not sure why. |
Some of this should be backported but will need to be done manually. |
I plan to update the CI guide as well. |
TODO:
|
On the warning for examples I can get this:
|
Now I can't get it to work again. Sometimes? |
Still getting: DEBUG: Failed to download EVE_TIMESERIES from http://data.sunpy.org/sunpy/v1/20110607_EVE_L0CS_DIODES_1m.txt: Timeout on reading data from socket [sunpy.data._sample]
loading translations [en]... done
Task was destroyed but it is pending!
task: <Task pending name='Task-120' coro=<Downloader._write_worker() running at /home/docs/checkouts/readthedocs.org/user_builds/sunpy/conda/4331/lib/python3.8/site-packages/parfive/downloader.py:469> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f44e4d46250>()]>>
Exception ignored in: <coroutine object Downloader._write_worker at 0x7f44e4d441c0>
Traceback (most recent call last):
File "/home/docs/checkouts/readthedocs.org/user_builds/sunpy/conda/4331/lib/python3.8/site-packages/parfive/downloader.py", line 469, in _write_worker
offset, chunk = await queue.get()
File "/home/docs/checkouts/readthedocs.org/user_builds/sunpy/conda/4331/lib/python3.8/asyncio/queues.py", line 165, in get
getter.cancel() # Just in case getter is not done yet.
File "/home/docs/checkouts/readthedocs.org/user_builds/sunpy/conda/4331/lib/python3.8/asyncio/base_events.py", line 719, in call_soon
self._check_closed()
File "/home/docs/checkouts/readthedocs.org/user_builds/sunpy/conda/4331/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
making output directory... done |
|
||
* `CodeCov <https://codecov.io/gh/sunpy/sunpy/>`_: Checks how many lines of the code lack test coverage. | ||
* figure_report/figure_tests (Giles): Show the final results of the figure tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed when writing this, we have three figure giles checks.
|
||
:meth:`numpy.ndarray.mean` but ``:func:`` will not. | ||
|
||
Never add ``:class:`` this will break the linking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much thanks to the MPL docs for this section.
@@ -72,10 +72,10 @@ repos: | |||
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable'] | |||
exclude: ".*(.fits|.fts|.fit|.txt|tca.*|extern.*|.rst|.md|__init__.py|sunpy/extern|docs/conf.py)$" | |||
- repo: https://github.com/timothycrosley/isort | |||
rev: 4.3.21-2 | |||
rev: 5.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isort update.
sunpy is open source, under the BSD-2 license, and by contributing you are stating that you have the right to and agree to, have your work distributed under the terms of this license. | ||
|
||
If you work at a university or research institution, you will need to check if you can contribute code you have written at work. | ||
You should start by checking if there is a Open Source Software Policy (e.g., `Standford's policy <https://otl.stanford.edu/open-source-stanford>`__) for your work place. | ||
If not, `OSS-Watch <http://oss-watch.ac.uk/resources/contributing>`__ summaries what you will need to check and who to ask, however this is from a UK point of view. | ||
`Standford's guidance <https://otl.stanford.edu/sites/g/files/sbiybj10286/f/otlcopyrightguide.pdf>`__ for example allows someone to contribute and open source their code. | ||
If you are unsure if your university or institution allows you to contribute under the BSD-2 license, you should contact the relevant department or administrator that deals with copyright. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs more passes and reviews. I was unsure what to suggest. I was able to find some resources but not many.
I might need to split this up. But I would rather not. |
Dev build
|
No description provided.