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

CI: unpin numpy for CI / Checks github action #36092

Merged
merged 140 commits into from
Mar 10, 2021

Conversation

simonjayhawkins
Copy link
Member

@simonjayhawkins simonjayhawkins commented Sep 3, 2020

xref #39513

@WillAyd
Copy link
Member

WillAyd commented Sep 3, 2020

Cool thanks for taking a look. Are you expecting this new environment to be part of CI or to just leave here for visibility as we clean up the existing failures?

@WillAyd WillAyd added Typing type annotations, mypy/pyright type checking labels Sep 3, 2020
@simonjayhawkins
Copy link
Member Author

Cool thanks for taking a look. Are you expecting this new environment to be part of CI or to just leave here for visibility as we clean up the existing failures?

open to suggestions.

vendoring stub or adding additional steps to current check (update environment and run mypy again) are other options.

@simonjayhawkins simonjayhawkins changed the title CI: static analysis with np-dev CI: type checking with np-dev Sep 4, 2020
@jbrockmendel
Copy link
Member

@simonjayhawkins is getting this passing viable? a bunch of the complaints are about e.g. np.random.randn, not clear how to resolve

@pep8speaks
Copy link

pep8speaks commented Oct 3, 2020

Hello @simonjayhawkins! 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-10-03 15:46:30 UTC

@simonjayhawkins
Copy link
Member Author

simonjayhawkins commented Oct 3, 2020

a bunch of the complaints are about e.g. np.random.randn, not clear how to resolve

probably need to submit some fixes upstream

is getting this passing viable?

imo not with the current review process, even though I normally put the errors in the OP for typing fixes

I'm now going to add the errors directly to code here, so it that it may be easier to identify the problems (and the low hanging fruit)

I may open another PR that sits on top of this with the fixes so that it is easier to see the reason for the code changes from the diff

(if this process is more successful, could maybe do the same for check-untyped-defs, many fixes were sorted 12 months ago, trying to get them into the codebase is a nightmare)

@jreback
Copy link
Contributor

jreback commented Mar 10, 2021

this lgtm @simonjayhawkins rebase once more just to be sure and let's merge!

@simonjayhawkins
Copy link
Member Author

ok. will merge shortly if green (hopefully will be, one 1 commit to master since last rebase)

There will likely be some ci errors with merging subsequent PRs that are not rebased to this one. I think that we could take the hit and follow-up with ci fixes rather than asking too many PR authors to rebase.

@simonjayhawkins simonjayhawkins merged commit ac3e3f7 into pandas-dev:master Mar 10, 2021
@simonjayhawkins simonjayhawkins deleted the numpy-types branch March 10, 2021 20:42
@jreback
Copy link
Contributor

jreback commented Mar 10, 2021

thanks @simonjayhawkins very nice!

@jreback
Copy link
Contributor

jreback commented Mar 10, 2021

ok. will merge shortly if green (hopefully will be, one 1 commit to master since last rebase)

There will likely be some ci errors with merging subsequent PRs that are not rebased to this one. I think that we could take the hit and follow-up with ci fixes rather than asking too many PR authors to rebase.

yep we'll see and that's fine too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants