Update pyglet requirement from <2 to <3 #9
release-drafter.yml
on: pull_request
update_release_draft
5m 52s
require_label
2s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9154208918',
status: 422,
response: {
url: 'https://api.github.com/repos/gdsfactory/gdsfactory7/releases/156449587',
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': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 20 May 2024 06:02:32 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': '8C03:3B09D6:156508EF:15921389:664AE778',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4963',
'x-ratelimit-reset': '1716187250',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '37',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/gdsfactory/gdsfactory7/releases/156449587',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"body":"# What's Changed\\n\\n## Dependency Updates\\n\\n- Update trimesh requirement from <4.4,>=4 to >=4,<4.5 [#2](https://github.com/gdsfactory/gdsfactory/pull/2)\\n\\n**Full Changelog**: https://github.com/gdsfactory/gdsfactory7/compare/...v0.1.0\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.0","tag_name":"v0.1.0","target_commitish":"refs/pull/1/merge"}`,
request: {}
},
event: {
id: '9154208918',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: 'Updates the requirements on [pyglet](https://github.com/pyglet/pyglet) to permit the latest version.\n' +
'<details>\n' +
'<summary>Release notes</summary>\n' +
`<p><em>Sourced from <a href="https://github.com/pyglet/pyglet/releases">pyglet's releases</a>.</em></p>\n` +
'<blockquote>\n' +
'<h2>v2.0.15</h2>\n' +
'<h2>Changes and Improvements</h2>\n' +
'<ul>\n' +
'<li>font: Clean up win32 legacy font renderer to remove unused or outdated code.</li>\n' +
'<li>font: Boxes are now primary update method for TextLayout instead of relying on the vertex_list of the TextLayout.</li>\n' +
'<li>font: More typing additions.</li>\n' +
'<li>gui.widgets: Add _set_enabled hook (<a href="https://redirect.github.com/pyglet/pyglet/issues/1073">#1073</a>)</li>\n' +
'<li>shapes: Add missing BezierCurve thickness property.</li>\n' +
'<li>graphics: Re-raise error for attributes during shader creation with better error descriptions. (<a href="https://redirect.github.com/pyglet/pyglet/issues/1076">#1076</a>)</li>\n' +
'<li>docs: Start adding GUI section to the progra
|
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: '9154208918',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: 'Updates the requirements on [pyglet](https://github.com/pyglet/pyglet) to permit the latest version.\n' +
'<details>\n' +
'<summary>Release notes</summary>\n' +
`<p><em>Sourced from <a href="https://github.com/pyglet/pyglet/releases">pyglet's releases</a>.</em></p>\n` +
'<blockquote>\n' +
'<h2>v2.0.15</h2>\n' +
'<h2>Changes and Improvements</h2>\n' +
'<ul>\n' +
'<li>font: Clean up win32 legacy font renderer to remove unused or outdated code.</li>\n' +
'<li>font: Boxes are now primary update method for TextLayout instead of relying on the vertex_list of the TextLayout.</li>\n' +
'<li>font: More typing additions.</li>\n' +
'<li>gui.widgets: Add _set_enabled hook (<a href="https://redirect.github.com/pyglet/pyglet/issues/1073">#1073</a>)</li>\n' +
'<li>shapes: Add missing BezierCurve thickness property.</li>\n' +
'<li>graphics: Re-raise error for attributes during shader creation with better error descriptions. (<a href="https://redirect.github.com/pyglet/pyglet/issues/1076">#1076</a>)</li>\n' +
'<li>docs: Start adding GUI section to the programming guide.</li>\n' +
'<li>typing: Add stub file for init package to workaround IDE inspection/completion issues with lazy loading modules. (<a href="https://redirect.github.com/pyglet/pyglet/issues/1077">#1077</a>)</li>\n' +
'<li>examples: Add more visual feedback to the Controller example</li>\n' +
'</ul>\n' +
'<h2>Bugfixes</h2>\n' +
'<ul>\n' +
'<li>Xaudio2: Fix missing <code>)</code> to POINTER which causes XAudio2 to fail to be imported. (<a href="https://redirect.github.com/pyglet/pyglet/issues/1068">#1068</a>)</li>\n' +
'<li>font.caret: Fix caret positioning and moving the cursor during cursor selection. (<a href="https://redirect.github.com/pyglet/pyglet/issues/932">#932</a>)</li>\n' +
'<li>input.controller: User added mappings should take higher priority over default mappings.</li>\n' +
'<li>input.controller: Properly handle inverted axis as dpad (<a href="https://redirect.github.com/pyglet/pyglet/issues/1078">#1078</a>)</li>\n' +
'<li>shapes: Added a None check to ShapeBase.delete (<a href="https://redirect.github.com/pyglet/pyglet/issues/1075">#1075</a>)</li>\n' +
'<li>shapes: Fix Line being off-centered when setting thickness <a href="https://redirect.github.com/pyglet/pyglet/issues/1083">#1083</a></li>\n' +
'<li>image: Fix BufferManager.get_depth_buffer() for GL3+.</li>\n' +
'</ul>\n' +
'</blockquote>\n' +
'</details>\n' +
'<details>\n' +
'<summary>Changelog</summary>\n' +
`<p><em>Sourced from <a href="https://github.com/pyglet/pyglet/blob/master/RELEASE_NOTES">pyglet's changelog</a>.</em></p>\n` +
'<blockquote>\n' +
'<p>pyglet 2.0.16</p>\n' +
'<h2>Changes and Improvements</h2>\n' +
'<ul>\n' +
'<li>library-wide overhaul of docstrings, and addition of type hints (<a href="https://redirect.github.com/pyglet/pyglet/issues/1084">#1084</a>)</li>\n' +
'</ul>\n' +
'<h2>Bugfixes</h2>\n' +
'<ul>\n' +
'<li>resource: Fix indexing of directories inside of Zip files. Remove broken code for multi-part archives.</li>\n' +
'</ul>\n'
|