Skip to content

feat: add native property and deprecate .to_native() method #7062

feat: add native property and deprecate .to_native() method

feat: add native property and deprecate .to_native() method #7062

Triggered via pull request November 2, 2024 15:03
Status Success
Total duration 14s
Artifacts

release-drafter.yml

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

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '11643668267', status: 422, response: { url: 'https://api.github.com/repos/narwhals-dev/narwhals/releases/176561850', 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', connection: 'close', 'content-length': '210', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Sat, 02 Nov 2024 15:04:07 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': '2388:18C877:156E6A44:297869FC:67263F67', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4951', 'x-ratelimit-reset': '1730560402', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '49', '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/176561850', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Changes\\n\\n## ✨ Enhancements\\n\\n- feat: add is_into_dataframe (#1288)\\n- Enh: adding automated inferencing of format `%Y-%m-%dT%H:%M` in pyarrow (#1292)\\n\\n## 🐞 Bug fixes\\n\\n- fix: `narwhals_to_native_dtype` raise if polars dtype is passed (#1307)\\n- fix: fixed-offset datetime weren\'t being parsed (#1303)\\n- fix: consistent to_numpy behaviour for tz-aware (#1305)\\n- fix: np.datetime64 scalar with ns resolution was become int instead of datetime in to_py_scalar (#1304)\\n\\n## 🛠️ Other improvements\\n\\n- ci: add vegafusion in ci checks (#1228)\\n\\nThank you to all our contributors for making this release possible!\\n@EdAbati, @FBruzzesi, @MarcoGorelli and @raisadz\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Narwhals v1.12.2","tag_name":"untagged-a7560488ad26559bf327","target_commitish":"refs/pull/1301/merge"}', request: {} }, event: { id: '11643668267', name: 'pull_request', payload: { action: 'synchronize', after: 'b06e674e88a94fddf412f7a716aa1808eb44245e', before: 'b099f87228bf94c2e900c16069f6e339473c063a', number: 1301, 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}', r
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:8462: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:30793:18) { name: 'AggregateError', event: { id: '11643668267', name: 'pull_request', payload: { action: 'synchronize', after: 'b06e674e88a94fddf412f7a716aa1808eb44245e', before: 'b099f87228bf94c2e900c16069f6e339473c063a', number: 1301, 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/1301/comments' }, commits: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/1301/commits' }, html: { href: 'https://github.com/narwhals-dev/narwhals/pull/1301' }, issue: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/issues/1301' }, 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/1301/comments' }, self: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/1301' }, statuses: { href: 'https://api.github.com/repos/narwhals-dev/narwhals/statuses/b06e674e88a94fddf412f7a716aa1808eb44245e' } }, active_lock_reason: null, additions: 325, 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: false, 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}', contributors_url: 'https://api.github.com/repos/narwhals-dev/narwhals/contributors', created_at: '2024-02-19T17:51