Skip to content

feat: Add PyPI support #324

feat: Add PyPI support

feat: Add PyPI support #324

Triggered via pull request March 12, 2025 22:44
Status Success
Total duration 15s
Artifacts

chore.yml

on: pull_request
Check PR Title
4s
Check PR Title
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
Check PR Title
Resource not accessible by integration { name: 'HttpError', id: '13822972658', status: 403, response: { url: 'https://api.github.com/repos/Quantco/pixi-pack/issues/116/labels', 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: 'Wed, 12 Mar 2025 22:44:36 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': 'issues=write; pull_requests=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': '93C6:192BA5:D1FD9A:1A5F8C4:67D20E54', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14995', 'x-ratelimit-reset': '1741823074', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '5', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/issues/labels#add-labels-to-an-issue', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/Quantco/pixi-pack/issues/116/labels', 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': '13822972658', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"labels":["enhancement"]}', request: {} }, event: { id: '13822972658', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '# Motivation\r\n' + '\r\n' + 'https://github.com/Quantco/pixi-pack/issues/38\r\n' + '\r\n' + 'pixi-pack is a great work to deploy packages to anywhere, but I hope to support pypi packages as well. So I am trying to make support for pypi packages.\r\n' + '\r\n' + 'But I am not familar with how `pixi` or `uv` works. So it roughly imitates the way pixi works.\r\n' + '\r\n' + '# Changes\r\n' + '\r\n' + 'Use `pixi-pack pack --experimental-pypi-support` to package a project which has pypi dependencies.\r\n' + '\r\n' + 'It will do these things internally:\r\n' + '- Collect all pypi record from `pixi.lock`, It accept wheel files currently. source distribution would reject\r\n' + '- Create `simple` repository\r\n' + '- Download all wheel files into `simple` directory\r\n' + '- Create some `index.html` make it becomes PyPI-compatible package repository\r\n' + '- Writing `pip` section when creating `environment.yml`, make it compatible to conda/micromamba\r\n' + '\r\n' + 'Use `pixi-pack unpack` to unpack. When `simple` directory is exist, it will continue install wheel files after conda prefix is installed.\r\n' + '\r\n' + 'It will do these things internally:\r\n' + '- Find installed `python` from this prefix\r\n' + '- Load python interpreter and python environment\r\n' + '- Collect all `.whl` files\r\n' + '- Unpack these wheel files\r\n' +
Check PR Title
HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/b1476f6e6eb133afa41ed8589daba6dc69b4d3f5/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/b1476f6e6eb133afa41ed8589daba6dc69b4d3f5/dist/index.js:61885:18) { name: 'AggregateError', event: { id: '13822972658', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '# Motivation\r\n' + '\r\n' + 'https://github.com/Quantco/pixi-pack/issues/38\r\n' + '\r\n' + 'pixi-pack is a great work to deploy packages to anywhere, but I hope to support pypi packages as well. So I am trying to make support for pypi packages.\r\n' + '\r\n' + 'But I am not familar with how `pixi` or `uv` works. So it roughly imitates the way pixi works.\r\n' + '\r\n' + '# Changes\r\n' + '\r\n' + 'Use `pixi-pack pack --experimental-pypi-support` to package a project which has pypi dependencies.\r\n' + '\r\n' + 'It will do these things internally:\r\n' + '- Collect all pypi record from `pixi.lock`, It accept wheel files currently. source distribution would reject\r\n' + '- Create `simple` repository\r\n' + '- Download all wheel files into `simple` directory\r\n' + '- Create some `index.html` make it becomes PyPI-compatible package repository\r\n' + '- Writing `pip` section when creating `environment.yml`, make it compatible to conda/micromamba\r\n' + '\r\n' + 'Use `pixi-pack unpack` to unpack. When `simple` directory is exist, it will continue install wheel files after conda prefix is installed.\r\n' + '\r\n' + 'It will do these things internally:\r\n' + '- Find installed `python` from this prefix\r\n' + '- Load python interpreter and python environment\r\n' + '- Collect all `.whl` files\r\n' + '- Unpack these wheel files\r\n' + '- Install them into this python environment\r\n' + '\r\n' + '---\r\n' + '\r\n' + 'If updating documentation:\r\n' + '\r\n' + '- [x] Updated documentation in https://github.com/prefix-dev/pixi/blob/main/docs/deployment/pixi_pack.md as well\r\n' } }, enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/210677?v=4', created_at: '2024-08-13T11:33:57Z', description: null, html_url: 'https://github.com/enterprises/quantco', id: 210677, name: 'QuantCo', node_id: 'E_kgDOAAM29Q', slug: 'quantco', updated_at: '2025-03-05T18:01:06Z', website_url: null }, number: 116, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/15262568?v=4', description: '', events_url: 'https://api.github.com/orgs/Quantco/events', hooks_url: 'https://api.github.com/orgs/Quantco/hooks', id: 15262568, issues_url: 'https://api.github.com/orgs/Quantco/issues', login: 'Quantco', members_url: 'https://api.github.com/orgs/Quantco/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjE1MjYyNTY4', public_members_url: 'https://api.github.com/orgs/Quantco/public_members{/member}', repos_url: 'https://api.github.com/orgs/Quantco/repos', url: 'https://api.github.com/orgs/Quantco' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/Quantco/pixi-pack/issues/116/comments' }, commits: { href: 'https://api.github.com/repos/Quantco/pixi-pack/pulls/116/commits' }, html: { href: 'https://github.com/Quantco/pixi-pack/pull/116' },
Check PR Title
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
Check PR Title
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
Check PR Title
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
Check PR Title
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)