Skip to content

TST: Remove fsspec internals from tests #50925

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

Merged
merged 3 commits into from
Jan 22, 2023
Merged

Conversation

lithomas1
Copy link
Member

@lithomas1 lithomas1 commented Jan 21, 2023

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

I don't think clearing the registry does anything. The public registry var is supposed to be immutable, and we were just clearing the internal registry dict.

However, we didn't remove gcs from the known_implementations dict, so gcs would've technically still been in the registry IIUC this code correctly.

https://github.com/fsspec/filesystem_spec/blob/0f3ecd8e629043646ab19b1a2b00d895f0553a81/fsspec/registry.py#L206-L209

@lithomas1 lithomas1 added Testing pandas testing functions or related to the test suite IO Data IO issues that don't fit into a more specific label labels Jan 21, 2023
@lithomas1 lithomas1 marked this pull request as ready for review January 21, 2023 22:38
@lithomas1
Copy link
Member Author

CircleCI failure is separate and unrelated.

Copy link
Member

@phofl phofl left a comment

Choose a reason for hiding this comment

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

lgtm. merging to get ci back to green

@phofl phofl added this to the 1.5.4 milestone Jan 22, 2023
@phofl phofl merged commit ce9e3d6 into pandas-dev:main Jan 22, 2023
@lumberbot-app
Copy link

lumberbot-app bot commented Jan 22, 2023

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout 1.5.x
git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 ce9e3d658d6efa3600a4563ca7a00e7a15b80272
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #50925: TST: Remove fsspec internals from tests'
  1. Push to a named branch:
git push YOURFORK 1.5.x:auto-backport-of-pr-50925-on-1.5.x
  1. Create a PR against branch 1.5.x, I would have named this PR:

"Backport PR #50925 on branch 1.5.x (TST: Remove fsspec internals from tests)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the Still Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free to suggest an improvement.

@phofl
Copy link
Member

phofl commented Jan 22, 2023

thx @lithomas1, could you backport manually?

@phofl
Copy link
Member

phofl commented Jan 28, 2023

backported in #51038

@lithomas1 lithomas1 deleted the fix-ci branch January 28, 2023 02:24
phofl added a commit that referenced this pull request Jan 28, 2023
… tests) (#51038)

TST: Remove fsspec internals from tests (#50925)

Co-authored-by: Thomas Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Data IO issues that don't fit into a more specific label Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants