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
Compatibility with parfive 1.1 #3822
Conversation
I find it curious that python3.8 tests should fail. I read somewhere that they are changing the way |
It's not python 3.8, the only online test build happens to be the python 3.8 one. |
There looks to be a real issue with the example gallery and one of the online test issues look real (the SUVI tests are a known issue). |
You were right @Cadair setting the |
I am chatting to the people who maintain JSOC, we might want to reduce the default from 12 in parfive (12*5 in parfive leads to a default of 60 connections, which seems like a lot!). However, should we also consider if we can override the default reliably in the JSOC client? |
Conclusion with the JSOC folk is we probably shouldn't be hammering them with a lot of open connections, I propose that the |
That is what I did here. Set the default to 1 and the tests worked. For this, we can simply implement |
Doesn't |
In a series of poor naming choices, We should override the max_splits default in JSOCClient but allow users to override it I would think. |
One of the two |
Latest intel on JSOC is that the max connection limit is 10 per IP. So I suggest we go for |
I've applied your suggestions for JSOC. NORH fails despite the changes |
I wasn't really suggesting it would be a fix for NORH. I think we should allow the user, through the A pattern like: def func(**kwargs):
defaults = {'max_conn': 4}
defaults.update(kwargs)
enqueue_file(**defaults) (all be it with better variable names) works well for this situation. |
212c97e
to
4643097
Compare
Hello @Raahul-Singh! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-04-15 17:19:48 UTC |
Yeah I know. Was just wondering if I'll get lucky and it'll fix this too. 😁
I have applied the changes. However, the change of the variable names would need to be done first in parfive. |
oh I was mostly referring to |
The |
a5d4bd4
to
1930c29
Compare
Any idea why the database tests would be failing? |
The |
The doc build has downloaded the example data so far, have to see if the example fails again. |
The doc build passed. It must have been trainsist. |
@Cadair These failed jsoc tests are because I switched the parfive version from 1.1rc2 to >=1.0 ? |
Well we definitely shouldn't have broken support for 1.0 😟 |
Most likely because of the new kwargs that we've added to JSOC and are passing on parfive, I believe. |
Makes v1.0.2 the minimum version.
b473124
to
1e79edd
Compare
Co-Authored-By: Stuart Mumford <stuart@cadair.com>
Devdeps failed on downloading a file in an example. |
Thanks again @Raahul-Singh |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub.
git fetch
# Create new working tree.
git worktree add .worktrees/backport 1.0
# Navigate to the new directory.
cd .worktrees/backport
# Cherry-pick all the commits of this pull request and resolve the likely conflicts.
git cherry-pick 69284c2fe5d06231a109bb2813b8e9f7b73e692b ed15986cc925fc112843769c457cb23f9c45f346 1e79edd0be5fa1bd01ff1443c49dc722d711ae35 17f2e5c77b60517a76cd7e6c2ee2e015a590aaea
# Create a new branch with these backported commits.
git checkout -b backport-3822-to-1.0
# Push it to GitHub.
git push --set-upstream origin backport-3822-to-1.0
# Go back to the original working tree.
cd ../..
# Delete the working tree.
git worktree remove .worktrees/backport Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub.
git fetch
# Create new working tree.
git worktree add .worktrees/backport 1.1
# Navigate to the new directory.
cd .worktrees/backport
# Cherry-pick all the commits of this pull request and resolve the likely conflicts.
git cherry-pick 69284c2fe5d06231a109bb2813b8e9f7b73e692b ed15986cc925fc112843769c457cb23f9c45f346 1e79edd0be5fa1bd01ff1443c49dc722d711ae35 17f2e5c77b60517a76cd7e6c2ee2e015a590aaea
# Create a new branch with these backported commits.
git checkout -b backport-3822-to-1.1
# Push it to GitHub.
git push --set-upstream origin backport-3822-to-1.1
# Go back to the original working tree.
cd ../..
# Delete the working tree.
git worktree remove .worktrees/backport Then, create a pull request where the |
Created to verify the new parfive release against sunpy's CI.
(Also fixes #3844 as a side effect)