Skip to content

feat: catch Polars exceptions, unify exception raising more #9959

feat: catch Polars exceptions, unify exception raising more

feat: catch Polars exceptions, unify exception raising more #9959

Triggered via pull request February 2, 2025 20:40
Status Success
Total duration 38s
Artifacts

release-drafter.yml

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

Annotations

2 errors and 4 warnings
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '13102297429', status: 403, response: { url: 'https://api.github.com/repos/narwhals-dev/narwhals/releases', status: 403, 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-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Sun, 02 Feb 2025 20:40:56 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write; contents=write,workflows=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': '4041:20F463:1140C8F:22CE43B:679FD857', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4963', 'x-ratelimit-reset': '1738532401', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '37', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/narwhals-dev/narwhals/releases', 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': '13102297429', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/1918/merge","name":"Narwhals unreleased","tag_name":"","body":"## Changes\\n\\n## ✨ Enhancements\\n\\n- feat: add duckdb `.str.to_datetime` (#1916)\\n- feat: enable `ModuleType` and `str` for backend in `.lazy()` method (#1914)\\n- feat: add `LazyFrame.unpivot` for spark and duckdb (#1890)\\n- feat: `LazyFrame.collect` with backend and **kwargs (#1734)\\n- feat: spark date and datetimedata types, allow for `dtype` in `nw.lit` for pyspark (#1913)\\n\\n## 📖 Documentation\\n\\n- docs: shorten docstring examples in narwhals/expr.py (#1915)\\n\\n## 🛠️ Other improvements\\n\\n- chore: simplify duckdb group-by (#1911)\\n\\nThank you to all our contributors for making this release possible!\\n@FBruzzesi and @MarcoGorelli\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: {} }, event: { id: '13102297429', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: 'Unify exceptions, and re-raise Polars ones as Narwhals ones\r\n' + '\r\n' + "This doesn't unify _everything_...but I think it's a nice step forwards, and should be totally backwards-compatible" } }, number: 1918, 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}'
update_release_draft
HttpError: Resource not accessible by integration 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: '13102297429', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: 'Unify exceptions, and re-raise Polars ones as Narwhals ones\r\n' + '\r\n' + "This doesn't unify _everything_...but I think it's a nice step forwards, and should be totally backwards-compatible" } }, number: 1918, 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/1918/comments' }, commits: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/1918/commits' }, html: { href: 'https://github.com/narwhals-dev/narwhals/pull/1918' }, issue: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/issues/1918' }, 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/1918/comments' }, self: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/1918' }, statuses: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/statuses/1b0fdad1baf68be5116c10c000fb173d96e37275' } }, active_lock_reason: null, additions: 92, 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}', branches_url: 'https://api.github.com/repos/narwhals-dev/narwhals/branches{/branch}', clone_url: 'https://github.com/narwhals-dev/narwhals.git', collaborators_url: 'https://api.github.com/repos/narwhals-dev/narwhals/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/narwhals-dev/narwhals/comments{/number}', commits_url: 'https://api.github.com/repos/narwhals-dev/narwhals/commits{/sha}', compare_url: 'https://api.github.com/repos/narwhals-dev/narwhals/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/narwhals-dev/narwhals/contents/{+path}', contribu
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/)