Skip to content

fix(typing): Resolve all mypy & pyright errors for _arrow #10394

fix(typing): Resolve all mypy & pyright errors for _arrow

fix(typing): Resolve all mypy & pyright errors for _arrow #10394

Triggered via pull request February 13, 2025 21:42
Status Success
Total duration 14s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
5s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '13317634442', status: 422, response: { url: 'https://api.github.com/repos/narwhals-dev/narwhals/releases/191688968', status: 422, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', 'content-length': '210', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Thu, 13 Feb 2025 21:42:21 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '9FC1:314229:ECC710:1DAC557:67AE673D', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4994', 'x-ratelimit-reset': '1739486539', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '6', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'invalid', field: 'target_commitish' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release', status: '422' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/narwhals-dev/narwhals/releases/191688968', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.18.0 (linux; x64)', 'x-github-delivery': '13317634442', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Changes\\n\\n- ci: remove `pyspark` from Windows CI (#1998)\\n- chore(typing): remove unused ignores (#1979)\\n- chore: parse series and ndarrays as expressions (#1994)\\n\\n## 🛠️ Other improvements\\n\\n- test: add test for `sum_horizontal` with column transformation (#2009)\\n- chore: simplify when implementation (#2003)\\n- chore(typing): add overloads to `isinstance_or_issubclass` (#1997)\\n- fix: use `mypy` pre-commit in local environment (#1966)\\n- chore: clean up flatten and extract (#1995)\\n- chore: determine whether to use compliant_frame.aggregate at narwhals level (#1993)\\n- chore: Refactor filter (#1992)\\n- chore: alias named expressions at narwhals level (#1990)\\n- chore: Expr metadata refactor (#1986)\\n- chore: use toArrow in PySpark 4.0+ (#1987)\\n- tests: skip cudf hist tests (#1988)\\n\\nThank you to all our contributors for making this release possible!\\n@EdAbati, @MarcoGorelli, @anopsy, @dangotbanned and @raisadz\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Narwhals unreleased","tag_name":"untagged-687e32e724ca1018ab08","target_commitish":"refs/pull/2007/merge"}', request: {} }, event: { id: '13317634442', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## What type of PR is this? (check all applicable)\r\n' + '\r\n' + '- [ ] 💾 Refactor\r\n' + '- [ ] ✨ Feature\r\n' + '- [ ] 🐛 Bug Fix\r\n' + '- [ ] 🔧 Optimization\r\n' + '- [ ] 📝 Documentation\r\n' + '- [ ] ✅ Test\r\n' + '- [x] 🐳 Other\r\n' + '\r\n' + '## Related issues\r\n' + '\r\n' + '- C
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7146:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:61885:18) { name: 'AggregateError', event: { id: '13317634442', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## What type of PR is this? (check all applicable)\r\n' + '\r\n' + '- [ ] 💾 Refactor\r\n' + '- [ ] ✨ Feature\r\n' + '- [ ] 🐛 Bug Fix\r\n' + '- [ ] 🔧 Optimization\r\n' + '- [ ] 📝 Documentation\r\n' + '- [ ] ✅ Test\r\n' + '- [x] 🐳 Other\r\n' + '\r\n' + '## Related issues\r\n' + '\r\n' + '- Closes #1961\r\n' + '\r\n' + '## Checklist\r\n' + '\r\n' + '- [x] Code follows style guide (ruff)\r\n' + '- [ ] Tests added\r\n' + '- [x] Documented the changes\r\n' + '\r\n' + '## If you have comments or can explain your changes, please do so below\r\n' + '- Still have ~50 errors for `mypy` to review' } }, number: 2007, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/169070048?v=4', description: 'Narwhals developers', events_url: 'https://api.github.com/orgs/narwhals-dev/events', hooks_url: 'https://api.github.com/orgs/narwhals-dev/hooks', id: 169070048, issues_url: 'https://api.github.com/orgs/narwhals-dev/issues', login: 'narwhals-dev', members_url: 'https://api.github.com/orgs/narwhals-dev/members{/member}', node_id: 'O_kgDOChPN4A', public_members_url: 'https://api.github.com/orgs/narwhals-dev/public_members{/member}', repos_url: 'https://api.github.com/orgs/narwhals-dev/repos', url: 'https://api.github.com/orgs/narwhals-dev' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/issues/2007/comments' }, commits: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/2007/commits' }, html: { href: 'https://github.com/narwhals-dev/narwhals/pull/2007' }, issue: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/issues/2007' }, review_comment: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/2007/comments' }, self: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/2007' }, statuses: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/statuses/1b537e75027ff69eaf5bb8f2bd5d88e9a6897a83' } }, active_lock_reason: null, additions: 731, assignee: null, assignees: [], author_association: 'MEMBER', auto_merge: null, base: { label: 'narwhals-dev:main', ref: 'main', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: false, allow_rebase_merge: false, allow_squash_merge: true, allow_update_branch: true, archive_url: 'https://api.github.com/repos/narwhals-dev/narwhals/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/narwhals-dev/narwhals/assignees{/user}', blobs_url: 'https://api.github.com/repos/narwhals-dev/narwhals/git/blobs{/sha}', br
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)