id
int64 959M
2.55B
| title
stringlengths 3
133
| body
stringlengths 1
65.5k
⌀ | description
stringlengths 5
65.6k
| state
stringclasses 2
values | created_at
stringlengths 20
20
| updated_at
stringlengths 20
20
| closed_at
stringlengths 20
20
⌀ | user
stringclasses 174
values |
---|---|---|---|---|---|---|---|---|
2,230,611,906 | Fix fsspec and s3fs dependencies | This PR:
- Adds explicit dependency on fsspec by using the tilde requirement because fsspec does not use semantic versioning.
- ~~Removes dependency on s3fs because this package is no longer used.~~
- ~~Sets s3fs as dev dependency (also using the tilde requirement) because 2 tests use it (see [comment](https://github.com/huggingface/dataset-viewer/pull/2671#issuecomment-2042277624) below)~~
- Sets the indirect dependence on s3fs through the extras of fsspec: `fsspec[s3]` (see [comment](https://github.com/huggingface/dataset-viewer/pull/2671#issuecomment-2043126529) and [comment](https://github.com/huggingface/dataset-viewer/pull/2671#issuecomment-2043149269) below) | Fix fsspec and s3fs dependencies: This PR:
- Adds explicit dependency on fsspec by using the tilde requirement because fsspec does not use semantic versioning.
- ~~Removes dependency on s3fs because this package is no longer used.~~
- ~~Sets s3fs as dev dependency (also using the tilde requirement) because 2 tests use it (see [comment](https://github.com/huggingface/dataset-viewer/pull/2671#issuecomment-2042277624) below)~~
- Sets the indirect dependence on s3fs through the extras of fsspec: `fsspec[s3]` (see [comment](https://github.com/huggingface/dataset-viewer/pull/2671#issuecomment-2043126529) and [comment](https://github.com/huggingface/dataset-viewer/pull/2671#issuecomment-2043149269) below) | closed | 2024-04-08T08:42:57Z | 2024-04-09T10:25:36Z | 2024-04-09T10:25:36Z | albertvillanova |
2,230,454,645 | Update pyarrow to 14.0.2 | Update pyarrow from 14.0.1 to 14.0.2: https://arrow.apache.org/release/14.0.2.html | Update pyarrow to 14.0.2: Update pyarrow from 14.0.1 to 14.0.2: https://arrow.apache.org/release/14.0.2.html | closed | 2024-04-08T07:21:39Z | 2024-04-08T09:29:27Z | 2024-04-08T09:29:26Z | albertvillanova |
2,228,460,307 | Move docs from /datasets-server to /dataset-viewer | We need to change:
- here
- in moon-landing
- in datasets?
- in blog posts, observable, notion, google colabs?... | Move docs from /datasets-server to /dataset-viewer: We need to change:
- here
- in moon-landing
- in datasets?
- in blog posts, observable, notion, google colabs?... | closed | 2024-04-05T16:58:04Z | 2024-07-30T16:57:04Z | 2024-07-30T16:57:04Z | severo |
2,228,456,912 | Rework the docs and README after renaming datasets-server -> dataset-viewer | Now that we call the project "Dataset viewer", we should make it clear in the docs and READMEs that:
- that the project powers the Hub's dataset viewer
- people can file issues if something is broken in the Hub dataset viewer
- contributions here will help improving the dataset viewer
- that it does not contain source code for the viewer frontend | Rework the docs and README after renaming datasets-server -> dataset-viewer: Now that we call the project "Dataset viewer", we should make it clear in the docs and READMEs that:
- that the project powers the Hub's dataset viewer
- people can file issues if something is broken in the Hub dataset viewer
- contributions here will help improving the dataset viewer
- that it does not contain source code for the viewer frontend | closed | 2024-04-05T16:55:48Z | 2024-08-01T15:11:01Z | 2024-08-01T15:11:01Z | severo |
2,228,454,037 | Rename datasets-server to dataset-viewer in infra internals? | Follow-up to #2650.
Is it necessary? Not urgent in any Case.
Some elements to review:
- [ ] https://github.com/huggingface/infra
- [ ] https://github.com/huggingface/infra-deployments
- [ ] docker image tags (https://hub.docker.com/r/huggingface/datasets-server-services-search -> https://hub.docker.com/r/huggingface/dataset-viewer-services-search)
- [ ] Helm chart name
- [ ] AWS parameters
- [ ] kubernetes namespaces
- [ ] Hub app names and tokens
- [ ] https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets-server
- [ ] buckets: hf-datasets-server-statics-test, hf-datasets-server-statics
- [ ] MongoDB databases
- [ ] BetterUptime
- [ ] shared directories (PARQUET_METADATA_CACHE_APPNAME)
| Rename datasets-server to dataset-viewer in infra internals?: Follow-up to #2650.
Is it necessary? Not urgent in any Case.
Some elements to review:
- [ ] https://github.com/huggingface/infra
- [ ] https://github.com/huggingface/infra-deployments
- [ ] docker image tags (https://hub.docker.com/r/huggingface/datasets-server-services-search -> https://hub.docker.com/r/huggingface/dataset-viewer-services-search)
- [ ] Helm chart name
- [ ] AWS parameters
- [ ] kubernetes namespaces
- [ ] Hub app names and tokens
- [ ] https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets-server
- [ ] buckets: hf-datasets-server-statics-test, hf-datasets-server-statics
- [ ] MongoDB databases
- [ ] BetterUptime
- [ ] shared directories (PARQUET_METADATA_CACHE_APPNAME)
| closed | 2024-04-05T16:53:34Z | 2024-04-08T09:26:14Z | 2024-04-08T09:26:13Z | severo |
2,228,448,367 | Change API URL to dataset-viewer.huggingface.co? | Follow-up to https://github.com/huggingface/dataset-viewer/issues/2650
Should we do it?
- https://github.com/huggingface/dataset-viewer/issues/2650#issuecomment-2040217875
- https://github.com/huggingface/moon-landing/pull/9520#issuecomment-2040220911
If we change it, we would have to update:
- moon-landing
- datasets
- the docs (hub, datasets, dataset-viewer)
- other written support (blog, observable, notion...)
If so, also change the dev URL: https://datasets-server.us.dev.moon.huggingface.tech.
We should also handle the redirection from the old URL to the new one. | Change API URL to dataset-viewer.huggingface.co?: Follow-up to https://github.com/huggingface/dataset-viewer/issues/2650
Should we do it?
- https://github.com/huggingface/dataset-viewer/issues/2650#issuecomment-2040217875
- https://github.com/huggingface/moon-landing/pull/9520#issuecomment-2040220911
If we change it, we would have to update:
- moon-landing
- datasets
- the docs (hub, datasets, dataset-viewer)
- other written support (blog, observable, notion...)
If so, also change the dev URL: https://datasets-server.us.dev.moon.huggingface.tech.
We should also handle the redirection from the old URL to the new one. | closed | 2024-04-05T16:49:13Z | 2024-04-08T09:24:43Z | 2024-04-08T09:24:43Z | severo |
2,228,404,959 | Renaming part2 | Wait for https://github.com/huggingface/moon-landing/pull/9520 to be merged and deployed to hub-ci before testing this and merging. | Renaming part2: Wait for https://github.com/huggingface/moon-landing/pull/9520 to be merged and deployed to hub-ci before testing this and merging. | closed | 2024-04-05T16:20:56Z | 2024-04-08T15:05:14Z | 2024-04-08T15:05:13Z | severo |
2,228,061,635 | Remove unnecessary types-pillow | Now that we require pillow >= 10.3.0, the package types-pillow is no longer necessary.
This PR removes it as dev dependency. | Remove unnecessary types-pillow: Now that we require pillow >= 10.3.0, the package types-pillow is no longer necessary.
This PR removes it as dev dependency. | closed | 2024-04-05T13:37:34Z | 2024-04-08T06:15:11Z | 2024-04-08T06:15:11Z | albertvillanova |
2,227,966,381 | Rename to dataset viewer part1 | See #2650. The first part of changes has no side-effects. See https://github.com/huggingface/datasets-server/issues/2650#issuecomment-2039609308 for the following tasks | Rename to dataset viewer part1: See #2650. The first part of changes has no side-effects. See https://github.com/huggingface/datasets-server/issues/2650#issuecomment-2039609308 for the following tasks | closed | 2024-04-05T12:51:55Z | 2024-04-05T13:49:14Z | 2024-04-05T13:49:13Z | severo |
2,227,839,042 | Fix dependency on pillow in libs | Both libs (libcommon and libapi) use the pillow package in their code, but do not explicitly depend on it.
See:
- In libcommon src code:
https://github.com/huggingface/datasets-server/blob/33f0c9c098d1fb94ad09c8b6e9f89cebf08d8f20/libs/libcommon/src/libcommon/viewer_utils/asset.py#L10
- In libapi tests code:
https://github.com/huggingface/datasets-server/blob/33f0c9c098d1fb94ad09c8b6e9f89cebf08d8f20/libs/libapi/tests/test_response.py#L10
This PR adds their explicit dependence on pillow. | Fix dependency on pillow in libs: Both libs (libcommon and libapi) use the pillow package in their code, but do not explicitly depend on it.
See:
- In libcommon src code:
https://github.com/huggingface/datasets-server/blob/33f0c9c098d1fb94ad09c8b6e9f89cebf08d8f20/libs/libcommon/src/libcommon/viewer_utils/asset.py#L10
- In libapi tests code:
https://github.com/huggingface/datasets-server/blob/33f0c9c098d1fb94ad09c8b6e9f89cebf08d8f20/libs/libapi/tests/test_response.py#L10
This PR adds their explicit dependence on pillow. | closed | 2024-04-05T11:46:07Z | 2024-04-05T13:32:05Z | 2024-04-05T13:32:04Z | albertvillanova |
2,227,682,468 | Increase the number of backfill workers? | Today, it's 8. Let's try increasing it and see if it speeds up the backfill job.
The current throughput is 577 datasets/minute. | Increase the number of backfill workers?: Today, it's 8. Let's try increasing it and see if it speeds up the backfill job.
The current throughput is 577 datasets/minute. | open | 2024-04-05T10:42:11Z | 2024-04-05T16:42:13Z | null | severo |
2,227,641,869 | move backfill time (we changed hour in France) | null | move backfill time (we changed hour in France): | closed | 2024-04-05T10:20:29Z | 2024-04-05T10:21:10Z | 2024-04-05T10:20:34Z | severo |
2,227,635,895 | move backfill job time again | null | move backfill job time again: | closed | 2024-04-05T10:17:28Z | 2024-04-05T10:18:13Z | 2024-04-05T10:17:34Z | severo |
2,227,573,929 | move the backfill cron job | null | move the backfill cron job: | closed | 2024-04-05T09:53:22Z | 2024-04-05T09:53:53Z | 2024-04-05T09:53:26Z | severo |
2,226,471,890 | Parallelize the backfill cron job | fix #2250 | Parallelize the backfill cron job: fix #2250 | closed | 2024-04-04T20:41:20Z | 2024-04-05T09:45:38Z | 2024-04-05T09:45:37Z | severo |
2,223,386,106 | Bump the pip group across 11 directories with 1 update | Bumps the pip group with 1 update in the /front/admin_ui directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /jobs/cache_maintenance directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /jobs/mongodb_migration directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /libs/libapi directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /libs/libcommon directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/admin directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/api directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/rows directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/search directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/sse-api directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/worker directory: [pillow](https://github.com/python-pillow/Pillow).
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions <a href="https://redirect.github.com/python-pillow/Pillow/issues/7881">#7881</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed Python and NumPy pinning on Cygwin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7880">#7880</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Update UnidentifiedImageError and <strong>version</strong> imports <a href="https://redirect.github.com/python-pillow/Pillow/issues/7644">#7644</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Stop reading EPS image at EOF marker <a href="https://redirect.github.com/python-pillow/Pillow/issues/7753">#7753</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>PSD layer co-ordinates may be negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7706">#7706</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer <a href="https://redirect.github.com/python-pillow/Pillow/issues/7791">#7791</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>When saving GIF frame that restores to background color, do not fill identical pixels <a href="https://redirect.github.com/python-pillow/Pillow/issues/7788">#7788</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed reading PNG iCCP compression method <a href="https://redirect.github.com/python-pillow/Pillow/issues/7823">#7823</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Allow writing IFDRational to UNDEFINED tag <a href="https://redirect.github.com/python-pillow/Pillow/issues/7840">#7840</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix logged tag name when loading Exif data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7842">#7842</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use maximum frame size in IHDR chunk when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7821">#7821</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Prevent opening P TGA images without a palette <a href="https://redirect.github.com/python-pillow/Pillow/issues/7797">#7797</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use palette when loading ICO images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7798">#7798</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use consistent arguments for load_read and load_seek <a href="https://redirect.github.com/python-pillow/Pillow/issues/7713">#7713</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Turn off nullability warnings for macOS SDK <a href="https://redirect.github.com/python-pillow/Pillow/issues/7827">#7827</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix shift-sign issue in Convert.c <a href="https://redirect.github.com/python-pillow/Pillow/issues/7838">#7838</a> [<a href="https://github.com/r-barnes"><code>@r-barnes</code></a>]</li>
<li>winbuild: Refactor dependency versions into constants <a href="https://redirect.github.com/python-pillow/Pillow/issues/7843">#7843</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Build macOS arm64 wheels natively <a href="https://redirect.github.com/python-pillow/Pillow/issues/7852">#7852</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed typo <a href="https://redirect.github.com/python-pillow/Pillow/issues/7855">#7855</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Open 16-bit grayscale PNGs as I;16 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7849">#7849</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Handle truncated chunks at the end of PNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7709">#7709</a> [<a href="https://github.com/lajiyuan"><code>@lajiyuan</code></a>]</li>
<li>Match mask size to pasted image size in GifImagePlugin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7779">#7779</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Changed SupportsGetMesh protocol to be public <a href="https://redirect.github.com/python-pillow/Pillow/issues/7841">#7841</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Release GIL while calling <code>WebPAnimDecoderGetNext</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7782">#7782</a> [<a href="https://github.com/evanmiller"><code>@evanmiller</code></a>]</li>
<li>Fixed reading FLI/FLC images with a prefix chunk <a href="https://redirect.github.com/python-pillow/Pillow/issues/7804">#7804</a> [<a href="https://github.com/twolife"><code>@twolife</code></a>]</li>
<li>Updated package name for Tidelift <a href="https://redirect.github.com/python-pillow/Pillow/issues/7810">#7810</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed unused code <a href="https://redirect.github.com/python-pillow/Pillow/issues/7744">#7744</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p>
<blockquote>
<h2>10.3.0 (2024-04-01)</h2>
<ul>
<li>
<p>CVE-2024-28219: Use <code>strncpy</code> to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Deprecate <code>eval()</code>, replacing it with <code>lambda_eval()</code> and <code>unsafe_eval()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Raise <code>ValueError</code> if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a>
[radarhere]</p>
</li>
<li>
<p>Add <code>--report</code> argument to <code>__main__.py</code> to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a>
[nulano, radarhere, hugovk]</p>
</li>
<li>
<p>Added RGB to I;16, I;16L, I;16B and I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a>, <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a>
[radarhere]</p>
</li>
<li>
<p>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a>
[nulano, radarhere]</p>
</li>
<li>
<p>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a>
[Yay295, hugovk, radarhere]</p>
</li>
<li>
<p>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a>
[radarhere]</p>
</li>
<li>
<p>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a>
[radarhere]</p>
</li>
<li>
<p>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a>
[radarhere]</p>
</li>
<li>
<p>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a>
[scaramallion, radarhere]</p>
</li>
<li>
<p>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a>
[radarhere]</p>
</li>
<li>
<p>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a>
[radarhere]</p>
</li>
<li>
<p>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a>
[radarhere]</p>
</li>
<li>
<p>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a>
[radarhere]</p>
</li>
<li>
<p>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a>
[radarhere]</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-pillow/Pillow/commit/5c89d88eee199ba53f64581ea39b6a1bc52feb1a"><code>5c89d88</code></a> 10.3.0 version bump</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/63cbfcfdea2d163ec93bae8d283fcfe4b73b5dc7"><code>63cbfcf</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2776126aa9af322b416eaca247f4f8ebefd08128"><code>2776126</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> from python-pillow/lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/aeb51cbb169eb3285818ba1390ddf2771d897e6e"><code>aeb51cb</code></a> Merge branch 'main' into lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/5beb0b66648db8b542bb5260eed79b25e33d643b"><code>5beb0b6</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/cac6ffa7b399ea79b6239984d1307056a0b19af2"><code>cac6ffa</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a> from python-pillow/imagemath</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/f5eeeacf7539eaa0d93a677d7666bc7c142c8d1c"><code>f5eeeac</code></a> Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/facf3af93dabcbdd8cdbda8c3b50eefafa3bb04c"><code>facf3af</code></a> Added release notes</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061"><code>2a93aba</code></a> Use strncpy to avoid buffer overflow</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/a670597bc30e9d489656fc9d807170b8f3d7ca57"><code>a670597</code></a> Update CHANGES.rst [ci skip]</li>
<li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions <a href="https://redirect.github.com/python-pillow/Pillow/issues/7881">#7881</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed Python and NumPy pinning on Cygwin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7880">#7880</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Update UnidentifiedImageError and <strong>version</strong> imports <a href="https://redirect.github.com/python-pillow/Pillow/issues/7644">#7644</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Stop reading EPS image at EOF marker <a href="https://redirect.github.com/python-pillow/Pillow/issues/7753">#7753</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>PSD layer co-ordinates may be negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7706">#7706</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer <a href="https://redirect.github.com/python-pillow/Pillow/issues/7791">#7791</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>When saving GIF frame that restores to background color, do not fill identical pixels <a href="https://redirect.github.com/python-pillow/Pillow/issues/7788">#7788</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed reading PNG iCCP compression method <a href="https://redirect.github.com/python-pillow/Pillow/issues/7823">#7823</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Allow writing IFDRational to UNDEFINED tag <a href="https://redirect.github.com/python-pillow/Pillow/issues/7840">#7840</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix logged tag name when loading Exif data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7842">#7842</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use maximum frame size in IHDR chunk when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7821">#7821</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Prevent opening P TGA images without a palette <a href="https://redirect.github.com/python-pillow/Pillow/issues/7797">#7797</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use palette when loading ICO images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7798">#7798</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use consistent arguments for load_read and load_seek <a href="https://redirect.github.com/python-pillow/Pillow/issues/7713">#7713</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Turn off nullability warnings for macOS SDK <a href="https://redirect.github.com/python-pillow/Pillow/issues/7827">#7827</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix shift-sign issue in Convert.c <a href="https://redirect.github.com/python-pillow/Pillow/issues/7838">#7838</a> [<a href="https://github.com/r-barnes"><code>@r-barnes</code></a>]</li>
<li>winbuild: Refactor dependency versions into constants <a href="https://redirect.github.com/python-pillow/Pillow/issues/7843">#7843</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Build macOS arm64 wheels natively <a href="https://redirect.github.com/python-pillow/Pillow/issues/7852">#7852</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed typo <a href="https://redirect.github.com/python-pillow/Pillow/issues/7855">#7855</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Open 16-bit grayscale PNGs as I;16 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7849">#7849</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Handle truncated chunks at the end of PNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7709">#7709</a> [<a href="https://github.com/lajiyuan"><code>@lajiyuan</code></a>]</li>
<li>Match mask size to pasted image size in GifImagePlugin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7779">#7779</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Changed SupportsGetMesh protocol to be public <a href="https://redirect.github.com/python-pillow/Pillow/issues/7841">#7841</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Release GIL while calling <code>WebPAnimDecoderGetNext</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7782">#7782</a> [<a href="https://github.com/evanmiller"><code>@evanmiller</code></a>]</li>
<li>Fixed reading FLI/FLC images with a prefix chunk <a href="https://redirect.github.com/python-pillow/Pillow/issues/7804">#7804</a> [<a href="https://github.com/twolife"><code>@twolife</code></a>]</li>
<li>Updated package name for Tidelift <a href="https://redirect.github.com/python-pillow/Pillow/issues/7810">#7810</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed unused code <a href="https://redirect.github.com/python-pillow/Pillow/issues/7744">#7744</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p>
<blockquote>
<h2>10.3.0 (2024-04-01)</h2>
<ul>
<li>
<p>CVE-2024-28219: Use <code>strncpy</code> to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Deprecate <code>eval()</code>, replacing it with <code>lambda_eval()</code> and <code>unsafe_eval()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Raise <code>ValueError</code> if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a>
[radarhere]</p>
</li>
<li>
<p>Add <code>--report</code> argument to <code>__main__.py</code> to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a>
[nulano, radarhere, hugovk]</p>
</li>
<li>
<p>Added RGB to I;16, I;16L, I;16B and I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a>, <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a>
[radarhere]</p>
</li>
<li>
<p>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a>
[nulano, radarhere]</p>
</li>
<li>
<p>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a>
[Yay295, hugovk, radarhere]</p>
</li>
<li>
<p>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a>
[radarhere]</p>
</li>
<li>
<p>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a>
[radarhere]</p>
</li>
<li>
<p>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a>
[radarhere]</p>
</li>
<li>
<p>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a>
[scaramallion, radarhere]</p>
</li>
<li>
<p>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a>
[radarhere]</p>
</li>
<li>
<p>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a>
[radarhere]</p>
</li>
<li>
<p>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a>
[radarhere]</p>
</li>
<li>
<p>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a>
[radarhere]</p>
</li>
<li>
<p>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a>
[radarhere]</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-pillow/Pillow/commit/5c89d88eee199ba53f64581ea39b6a1bc52feb1a"><code>5c89d88</code></a> 10.3.0 version bump</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/63cbfcfdea2d163ec93bae8d283fcfe4b73b5dc7"><code>63cbfcf</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2776126aa9af322b416eaca247f4f8ebefd08128"><code>2776126</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> from python-pillow/lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/aeb51cbb169eb3285818ba1390ddf2771d897e6e"><code>aeb51cb</code></a> Merge branch 'main' into lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/5beb0b66648db8b542bb5260eed79b25e33d643b"><code>5beb0b6</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/cac6ffa7b399ea79b6239984d1307056a0b19af2"><code>cac6ffa</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a> from python-pillow/imagemath</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/f5eeeacf7539eaa0d93a677d7666bc7c142c8d1c"><code>f5eeeac</code></a> Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/facf3af93dabcbdd8cdbda8c3b50eefafa3bb04c"><code>facf3af</code></a> Added release notes</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061"><code>2a93aba</code></a> Use strncpy to avoid buffer overflow</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/a670597bc30e9d489656fc9d807170b8f3d7ca57"><code>a670597</code></a> Update CHANGES.rst [ci skip]</li>
<li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions <a href="https://redirect.github.com/python-pillow/Pillow/issues/7881">#7881</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed Python and NumPy pinning on Cygwin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7880">#7880</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Update UnidentifiedImageError and <strong>version</strong> imports <a href="https://redirect.github.com/python-pillow/Pillow/issues/7644">#7644</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Stop reading EPS image at EOF marker <a href="https://redirect.github.com/python-pillow/Pillow/issues/7753">#7753</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>PSD layer co-ordinates may be negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7706">#7706</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer <a href="https://redirect.github.com/python-pillow/Pillow/issues/7791">#7791</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>When saving GIF frame that restores to background color, do not fill identical pixels <a href="https://redirect.github.com/python-pillow/Pillow/issues/7788">#7788</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed reading PNG iCCP compression method <a href="https://redirect.github.com/python-pillow/Pillow/issues/7823">#7823</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Allow writing IFDRational to UNDEFINED tag <a href="https://redirect.github.com/python-pillow/Pillow/issues/7840">#7840</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix logged tag name when loading Exif data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7842">#7842</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use maximum frame size in IHDR chunk when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7821">#7821</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Prevent opening P TGA images without a palette <a href="https://redirect.github.com/python-pillow/Pillow/issues/7797">#7797</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use palette when loading ICO images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7798">#7798</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use consistent arguments for load_read and load_seek <a href="https://redirect.github.com/python-pillow/Pillow/issues/7713">#7713</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Turn off nullability warnings for macOS SDK <a href="https://redirect.github.com/python-pillow/Pillow/issues/7827">#7827</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix shift-sign issue in Convert.c <a href="https://redirect.github.com/python-pillow/Pillow/issues/7838">#7838</a> [<a href="https://github.com/r-barnes"><code>@r-barnes</code></a>]</li>
<li>winbuild: Refactor dependency versions into constants <a href="https://redirect.github.com/python-pillow/Pillow/issues/7843">#7843</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Build macOS arm64 wheels natively <a href="https://redirect.github.com/python-pillow/Pillow/issues/7852">#7852</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed typo <a href="https://redirect.github.com/python-pillow/Pillow/issues/7855">#7855</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Open 16-bit grayscale PNGs as I;16 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7849">#7849</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Handle truncated chunks at the end of PNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7709">#7709</a> [<a href="https://github.com/lajiyuan"><code>@lajiyuan</code></a>]</li>
<li>Match mask size to pasted image size in GifImagePlugin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7779">#7779</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Changed SupportsGetMesh protocol to be public <a href="https://redirect.github.com/python-pillow/Pillow/issues/7841">#7841</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Release GIL while calling <code>WebPAnimDecoderGetNext</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7782">#7782</a> [<a href="https://github.com/evanmiller"><code>@evanmiller</code></a>]</li>
<li>Fixed reading FLI/FLC images with a prefix chunk <a href="https://redirect.github.com/python-pillow/Pillow/issues/7804">#7804</a> [<a href="https://github.com/twolife"><code>@twolife</code></a>]</li>
<li>Updated package name for Tidelift <a href="https://redirect.github.com/python-pillow/Pillow/issues/7810">#7810</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed unused code <a href="https://redirect.github.com/python-pillow/Pillow/issues/7744">#7744</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p>
<blockquote>
<h2>10.3.0 (2024-04-01)</h2>
<ul>
<li>
<p>CVE-2024-28219: Use <code>strncpy</code> to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Deprecate <code>eval()</code>, replacing it with <code>lambda_eval()</code> and <code>unsafe_eval()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Raise <code>ValueError</code> if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a>
[radarhere]</p>
</li>
<li>
<p>Add <code>--report</code> argument to <code>__main__.py</code> to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a>
[nulano, radarhere, hugovk]</p>
</li>
<li>
<p>Added RGB to I;16, I;16L, I;16B and I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a>, <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a>
[radarhere]</p>
</li>
<li>
<p>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a>
[nulano, radarhere]</p>
</li>
<li>
<p>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a>
[Yay295, hugovk, radarhere]</p>
</li>
<li>
<p>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a>
[radarhere]</p>
</li>
<li>
<p>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a>
[radarhere]</p>
</li>
<li>
<p>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a>
[radarhere]</p>
</li>
<li>
<p>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a>
[scaramallion, radarhere]</p>
</li>
<li>
<p>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a>
[radarhere]</p>
</li>
<li>
<p>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a>
[radarhere]</p>
</li>
<li>
<p>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a>
[radarhere]</p>
</li>
<li>
<p>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a>
[radarhere]</p>
</li>
<li>
<p>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a>
[radarhere]</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-pillow/Pillow/commit/5c89d88eee199ba53f64581ea39b6a1bc52feb1a"><code>5c89d88</code></a> 10.3.0 version bump</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/63cbfcfdea2d163ec93bae8d283fcfe4b73b5dc7"><code>63cbfcf</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2776126aa9af322b416eaca247f4f8ebefd08128"><code>2776126</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> from python-pillow/lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/aeb51cbb169eb3285818ba1390ddf2771d897e6e"><code>aeb51cb</code></a> Merge branch 'main' into lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/5beb0b66648db8b542bb5260eed79b25e33d643b"><code>5beb0b6</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/cac6ffa7b399ea79b6239984d1307056a0b19af2"><code>cac6ffa</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a> from python-pillow/imagemath</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/f5eeeacf7539eaa0d93a677d7666bc7c142c8d1c"><code>f5eeeac</code></a> Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/facf3af93dabcbdd8cdbda8c3b50eefafa3bb04c"><code>facf3af</code></a> Added release notes</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061"><code>2a93aba</code></a> Use strncpy to avoid buffer overflow</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/a670597bc30e9d489656fc9d807170b8f3d7ca57"><code>a670597</code></a> Update CHANGES.rst [ci skip]</li>
<li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions <a href="https://redirect.github.com/python-pillow/Pillow/issues/7881">#7881</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed Python and NumPy pinning on Cygwin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7880">#7880</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Update UnidentifiedImageError and <strong>version</strong> imports <a href="https://redirect.github.com/python-pillow/Pillow/issues/7644">#7644</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Stop reading EPS image at EOF marker <a href="https://redirect.github.com/python-pillow/Pillow/issues/7753">#7753</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>PSD layer co-ordinates may be negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7706">#7706</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer <a href="https://redirect.github.com/python-pillow/Pillow/issues/7791">#7791</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>When saving GIF frame that restores to background color, do not fill identical pixels <a href="https://redirect.github.com/python-pillow/Pillow/issues/7788">#7788</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed reading PNG iCCP compression method <a href="https://redirect.github.com/python-pillow/Pillow/issues/7823">#7823</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Allow writing IFDRational to UNDEFINED tag <a href="https://redirect.github.com/python-pillow/Pillow/issues/7840">#7840</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix logged tag name when loading Exif data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7842">#7842</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use maximum frame size in IHDR chunk when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7821">#7821</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Prevent opening P TGA images without a palette <a href="https://redirect.github.com/python-pillow/Pillow/issues/7797">#7797</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use palette when loading ICO images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7798">#7798</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use consistent arguments for load_read and load_seek <a href="https://redirect.github.com/python-pillow/Pillow/issues/7713">#7713</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Turn off nullability warnings for macOS SDK <a href="https://redirect.github.com/python-pillow/Pillow/issues/7827">#7827</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix shift-sign issue in Convert.c <a href="https://redirect.github.com/python-pillow/Pillow/issues/7838">#7838</a> [<a href="https://github.com/r-barnes"><code>@r-barnes</code></a>]</li>
<li>winbuild: Refactor dependency versions into constants <a href="https://redirect.github.com/python-pillow/Pillow/issues/7843">#7843</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Build macOS arm64 wheels natively <a href="https://redirect.github.com/python-pillow/Pillow/issues/7852">#7852</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed typo <a href="https://redirect.github.com/python-pillow/Pillow/issues/7855">#7855</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Open 16-bit grayscale PNGs as I;16 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7849">#7849</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Handle truncated chunks at the end of PNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7709">#7709</a> [<a href="https://github.com/lajiyuan"><code>@lajiyuan</code></a>]</li>
<li>Match mask size to pasted image size in GifImagePlugin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7779">#7779</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Changed SupportsGetMesh protocol to be public <a href="https://redirect.github.com/python-pillow/Pillow/issues/7841">#7841</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Release GIL while calling <code>WebPAnimDecoderGetNext</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7782">#7782</a> [<a href="https://github.com/evanmiller"><code>@evanmiller</code></a>]</li>
<li>Fixed reading FLI/FLC images with a prefix chunk <a href="https://redirect.github.com/python-pillow/Pillow/issues/7804">#7804</a> [<a href="https://github.com/twolife"><code>@twolife</code></a>]</li>
<li>Updated package name for Tidelift <a href="https://redirect.github.com/python-pillow/Pillow/issues/7810">#7810</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed unused code <a href="https://redirect.github.com/python-pillow/Pillow/issues/7744">#7744</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p>
<blockquote>
<h2>10.3.0 (2024-04-01)</h2>
<ul>
<li>
<p>CVE-2024-28219: Use <code>strncpy</code> to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Deprecate <code>eval()</code>, replacing it with <code>lambda_eval()</code> and <code>unsafe_eval()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Raise <code>ValueError</code> if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a>
[radarhere]</p>
</li>
<li>
<p>Add <code>--report</code> argument to <code>__main__.py</code> to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a>
[nulano, radarhere, hugovk]</p>
</li>
<li>
<p>Added RGB to I;16, I;16L, I;16B and I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a>, <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a>
[radarhere]</p>
</li>
<li>
<p>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a>
[nulano, radarhere]</p>
</li>
<li>
<p>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a>
[Yay295, hugovk, radarhere]</p>
</li>
<li>
<p>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a>
[radarhere]</p>
</li>
<li>
<p>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a>
[radarhere]</p>
</li>
<li>
<p>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a>
[radarhere]</p>
</li>
<li>
<p>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a>
[scaramallion, radarhere]</p>
</li>
<li>
<p>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a>
[radarhere]</p>
</li>
<li>
<p>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a>
[radarhere]</p>
</li>
<li>
<p>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a>
[radarhere]</p>
</li>
<li>
<p>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a>
[radarhere]</p>
</li>
<li>
<p>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a>
[radarhere]</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-pillow/Pillow/commit/5c89d88eee199ba53f64581ea39b6a1bc52feb1a"><code>5c89d88</code></a> 10.3.0 version bump</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/63cbfcfdea2d163ec93bae8d283fcfe4b73b5dc7"><code>63cbfcf</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2776126aa9af322b416eaca247f4f8ebefd08128"><code>2776126</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> from python-pillow/lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/aeb51cbb169eb3285818ba1390ddf2771d897e6e"><code>aeb51cb</code></a> Merge branch 'main' into lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/5beb0b66648db8b542bb5260eed79b25e33d643b"><code>5beb0b6</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/cac6ffa7b399ea79b6239984d1307056a0b19af2"><code>cac6ffa</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a> from python-pillow/imagemath</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/f5eeeacf7539eaa0d93a677d7666bc7c142c8d1c"><code>f5eeeac</code></a> Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/facf3af93dabcbdd8cdbda8c3b50eefafa3bb04c"><code>facf3af</code></a> Added release notes</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061"><code>2a93aba</code></a> Use strncpy to avoid buffer overflow</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/a670597bc30e9d489656fc9d807170b8f3d7ca57"><code>a670597</code></a> Update CHANGES.rst [ci skip]</li>
<li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when savi...
_Description has been truncated_ | Bump the pip group across 11 directories with 1 update: Bumps the pip group with 1 update in the /front/admin_ui directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /jobs/cache_maintenance directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /jobs/mongodb_migration directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /libs/libapi directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /libs/libcommon directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/admin directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/api directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/rows directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/search directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/sse-api directory: [pillow](https://github.com/python-pillow/Pillow).
Bumps the pip group with 1 update in the /services/worker directory: [pillow](https://github.com/python-pillow/Pillow).
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions <a href="https://redirect.github.com/python-pillow/Pillow/issues/7881">#7881</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed Python and NumPy pinning on Cygwin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7880">#7880</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Update UnidentifiedImageError and <strong>version</strong> imports <a href="https://redirect.github.com/python-pillow/Pillow/issues/7644">#7644</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Stop reading EPS image at EOF marker <a href="https://redirect.github.com/python-pillow/Pillow/issues/7753">#7753</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>PSD layer co-ordinates may be negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7706">#7706</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer <a href="https://redirect.github.com/python-pillow/Pillow/issues/7791">#7791</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>When saving GIF frame that restores to background color, do not fill identical pixels <a href="https://redirect.github.com/python-pillow/Pillow/issues/7788">#7788</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed reading PNG iCCP compression method <a href="https://redirect.github.com/python-pillow/Pillow/issues/7823">#7823</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Allow writing IFDRational to UNDEFINED tag <a href="https://redirect.github.com/python-pillow/Pillow/issues/7840">#7840</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix logged tag name when loading Exif data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7842">#7842</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use maximum frame size in IHDR chunk when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7821">#7821</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Prevent opening P TGA images without a palette <a href="https://redirect.github.com/python-pillow/Pillow/issues/7797">#7797</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use palette when loading ICO images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7798">#7798</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use consistent arguments for load_read and load_seek <a href="https://redirect.github.com/python-pillow/Pillow/issues/7713">#7713</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Turn off nullability warnings for macOS SDK <a href="https://redirect.github.com/python-pillow/Pillow/issues/7827">#7827</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix shift-sign issue in Convert.c <a href="https://redirect.github.com/python-pillow/Pillow/issues/7838">#7838</a> [<a href="https://github.com/r-barnes"><code>@r-barnes</code></a>]</li>
<li>winbuild: Refactor dependency versions into constants <a href="https://redirect.github.com/python-pillow/Pillow/issues/7843">#7843</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Build macOS arm64 wheels natively <a href="https://redirect.github.com/python-pillow/Pillow/issues/7852">#7852</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed typo <a href="https://redirect.github.com/python-pillow/Pillow/issues/7855">#7855</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Open 16-bit grayscale PNGs as I;16 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7849">#7849</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Handle truncated chunks at the end of PNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7709">#7709</a> [<a href="https://github.com/lajiyuan"><code>@lajiyuan</code></a>]</li>
<li>Match mask size to pasted image size in GifImagePlugin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7779">#7779</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Changed SupportsGetMesh protocol to be public <a href="https://redirect.github.com/python-pillow/Pillow/issues/7841">#7841</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Release GIL while calling <code>WebPAnimDecoderGetNext</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7782">#7782</a> [<a href="https://github.com/evanmiller"><code>@evanmiller</code></a>]</li>
<li>Fixed reading FLI/FLC images with a prefix chunk <a href="https://redirect.github.com/python-pillow/Pillow/issues/7804">#7804</a> [<a href="https://github.com/twolife"><code>@twolife</code></a>]</li>
<li>Updated package name for Tidelift <a href="https://redirect.github.com/python-pillow/Pillow/issues/7810">#7810</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed unused code <a href="https://redirect.github.com/python-pillow/Pillow/issues/7744">#7744</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p>
<blockquote>
<h2>10.3.0 (2024-04-01)</h2>
<ul>
<li>
<p>CVE-2024-28219: Use <code>strncpy</code> to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Deprecate <code>eval()</code>, replacing it with <code>lambda_eval()</code> and <code>unsafe_eval()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Raise <code>ValueError</code> if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a>
[radarhere]</p>
</li>
<li>
<p>Add <code>--report</code> argument to <code>__main__.py</code> to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a>
[nulano, radarhere, hugovk]</p>
</li>
<li>
<p>Added RGB to I;16, I;16L, I;16B and I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a>, <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a>
[radarhere]</p>
</li>
<li>
<p>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a>
[nulano, radarhere]</p>
</li>
<li>
<p>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a>
[Yay295, hugovk, radarhere]</p>
</li>
<li>
<p>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a>
[radarhere]</p>
</li>
<li>
<p>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a>
[radarhere]</p>
</li>
<li>
<p>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a>
[radarhere]</p>
</li>
<li>
<p>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a>
[scaramallion, radarhere]</p>
</li>
<li>
<p>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a>
[radarhere]</p>
</li>
<li>
<p>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a>
[radarhere]</p>
</li>
<li>
<p>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a>
[radarhere]</p>
</li>
<li>
<p>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a>
[radarhere]</p>
</li>
<li>
<p>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a>
[radarhere]</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-pillow/Pillow/commit/5c89d88eee199ba53f64581ea39b6a1bc52feb1a"><code>5c89d88</code></a> 10.3.0 version bump</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/63cbfcfdea2d163ec93bae8d283fcfe4b73b5dc7"><code>63cbfcf</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2776126aa9af322b416eaca247f4f8ebefd08128"><code>2776126</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> from python-pillow/lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/aeb51cbb169eb3285818ba1390ddf2771d897e6e"><code>aeb51cb</code></a> Merge branch 'main' into lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/5beb0b66648db8b542bb5260eed79b25e33d643b"><code>5beb0b6</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/cac6ffa7b399ea79b6239984d1307056a0b19af2"><code>cac6ffa</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a> from python-pillow/imagemath</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/f5eeeacf7539eaa0d93a677d7666bc7c142c8d1c"><code>f5eeeac</code></a> Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/facf3af93dabcbdd8cdbda8c3b50eefafa3bb04c"><code>facf3af</code></a> Added release notes</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061"><code>2a93aba</code></a> Use strncpy to avoid buffer overflow</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/a670597bc30e9d489656fc9d807170b8f3d7ca57"><code>a670597</code></a> Update CHANGES.rst [ci skip]</li>
<li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions <a href="https://redirect.github.com/python-pillow/Pillow/issues/7881">#7881</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed Python and NumPy pinning on Cygwin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7880">#7880</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Update UnidentifiedImageError and <strong>version</strong> imports <a href="https://redirect.github.com/python-pillow/Pillow/issues/7644">#7644</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Stop reading EPS image at EOF marker <a href="https://redirect.github.com/python-pillow/Pillow/issues/7753">#7753</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>PSD layer co-ordinates may be negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7706">#7706</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer <a href="https://redirect.github.com/python-pillow/Pillow/issues/7791">#7791</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>When saving GIF frame that restores to background color, do not fill identical pixels <a href="https://redirect.github.com/python-pillow/Pillow/issues/7788">#7788</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed reading PNG iCCP compression method <a href="https://redirect.github.com/python-pillow/Pillow/issues/7823">#7823</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Allow writing IFDRational to UNDEFINED tag <a href="https://redirect.github.com/python-pillow/Pillow/issues/7840">#7840</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix logged tag name when loading Exif data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7842">#7842</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use maximum frame size in IHDR chunk when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7821">#7821</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Prevent opening P TGA images without a palette <a href="https://redirect.github.com/python-pillow/Pillow/issues/7797">#7797</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use palette when loading ICO images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7798">#7798</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use consistent arguments for load_read and load_seek <a href="https://redirect.github.com/python-pillow/Pillow/issues/7713">#7713</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Turn off nullability warnings for macOS SDK <a href="https://redirect.github.com/python-pillow/Pillow/issues/7827">#7827</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix shift-sign issue in Convert.c <a href="https://redirect.github.com/python-pillow/Pillow/issues/7838">#7838</a> [<a href="https://github.com/r-barnes"><code>@r-barnes</code></a>]</li>
<li>winbuild: Refactor dependency versions into constants <a href="https://redirect.github.com/python-pillow/Pillow/issues/7843">#7843</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Build macOS arm64 wheels natively <a href="https://redirect.github.com/python-pillow/Pillow/issues/7852">#7852</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed typo <a href="https://redirect.github.com/python-pillow/Pillow/issues/7855">#7855</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Open 16-bit grayscale PNGs as I;16 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7849">#7849</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Handle truncated chunks at the end of PNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7709">#7709</a> [<a href="https://github.com/lajiyuan"><code>@lajiyuan</code></a>]</li>
<li>Match mask size to pasted image size in GifImagePlugin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7779">#7779</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Changed SupportsGetMesh protocol to be public <a href="https://redirect.github.com/python-pillow/Pillow/issues/7841">#7841</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Release GIL while calling <code>WebPAnimDecoderGetNext</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7782">#7782</a> [<a href="https://github.com/evanmiller"><code>@evanmiller</code></a>]</li>
<li>Fixed reading FLI/FLC images with a prefix chunk <a href="https://redirect.github.com/python-pillow/Pillow/issues/7804">#7804</a> [<a href="https://github.com/twolife"><code>@twolife</code></a>]</li>
<li>Updated package name for Tidelift <a href="https://redirect.github.com/python-pillow/Pillow/issues/7810">#7810</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed unused code <a href="https://redirect.github.com/python-pillow/Pillow/issues/7744">#7744</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p>
<blockquote>
<h2>10.3.0 (2024-04-01)</h2>
<ul>
<li>
<p>CVE-2024-28219: Use <code>strncpy</code> to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Deprecate <code>eval()</code>, replacing it with <code>lambda_eval()</code> and <code>unsafe_eval()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Raise <code>ValueError</code> if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a>
[radarhere]</p>
</li>
<li>
<p>Add <code>--report</code> argument to <code>__main__.py</code> to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a>
[nulano, radarhere, hugovk]</p>
</li>
<li>
<p>Added RGB to I;16, I;16L, I;16B and I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a>, <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a>
[radarhere]</p>
</li>
<li>
<p>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a>
[nulano, radarhere]</p>
</li>
<li>
<p>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a>
[Yay295, hugovk, radarhere]</p>
</li>
<li>
<p>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a>
[radarhere]</p>
</li>
<li>
<p>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a>
[radarhere]</p>
</li>
<li>
<p>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a>
[radarhere]</p>
</li>
<li>
<p>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a>
[scaramallion, radarhere]</p>
</li>
<li>
<p>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a>
[radarhere]</p>
</li>
<li>
<p>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a>
[radarhere]</p>
</li>
<li>
<p>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a>
[radarhere]</p>
</li>
<li>
<p>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a>
[radarhere]</p>
</li>
<li>
<p>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a>
[radarhere]</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-pillow/Pillow/commit/5c89d88eee199ba53f64581ea39b6a1bc52feb1a"><code>5c89d88</code></a> 10.3.0 version bump</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/63cbfcfdea2d163ec93bae8d283fcfe4b73b5dc7"><code>63cbfcf</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2776126aa9af322b416eaca247f4f8ebefd08128"><code>2776126</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> from python-pillow/lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/aeb51cbb169eb3285818ba1390ddf2771d897e6e"><code>aeb51cb</code></a> Merge branch 'main' into lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/5beb0b66648db8b542bb5260eed79b25e33d643b"><code>5beb0b6</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/cac6ffa7b399ea79b6239984d1307056a0b19af2"><code>cac6ffa</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a> from python-pillow/imagemath</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/f5eeeacf7539eaa0d93a677d7666bc7c142c8d1c"><code>f5eeeac</code></a> Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/facf3af93dabcbdd8cdbda8c3b50eefafa3bb04c"><code>facf3af</code></a> Added release notes</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061"><code>2a93aba</code></a> Use strncpy to avoid buffer overflow</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/a670597bc30e9d489656fc9d807170b8f3d7ca57"><code>a670597</code></a> Update CHANGES.rst [ci skip]</li>
<li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions <a href="https://redirect.github.com/python-pillow/Pillow/issues/7881">#7881</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed Python and NumPy pinning on Cygwin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7880">#7880</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Update UnidentifiedImageError and <strong>version</strong> imports <a href="https://redirect.github.com/python-pillow/Pillow/issues/7644">#7644</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Stop reading EPS image at EOF marker <a href="https://redirect.github.com/python-pillow/Pillow/issues/7753">#7753</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>PSD layer co-ordinates may be negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7706">#7706</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer <a href="https://redirect.github.com/python-pillow/Pillow/issues/7791">#7791</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>When saving GIF frame that restores to background color, do not fill identical pixels <a href="https://redirect.github.com/python-pillow/Pillow/issues/7788">#7788</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed reading PNG iCCP compression method <a href="https://redirect.github.com/python-pillow/Pillow/issues/7823">#7823</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Allow writing IFDRational to UNDEFINED tag <a href="https://redirect.github.com/python-pillow/Pillow/issues/7840">#7840</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix logged tag name when loading Exif data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7842">#7842</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use maximum frame size in IHDR chunk when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7821">#7821</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Prevent opening P TGA images without a palette <a href="https://redirect.github.com/python-pillow/Pillow/issues/7797">#7797</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use palette when loading ICO images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7798">#7798</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use consistent arguments for load_read and load_seek <a href="https://redirect.github.com/python-pillow/Pillow/issues/7713">#7713</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Turn off nullability warnings for macOS SDK <a href="https://redirect.github.com/python-pillow/Pillow/issues/7827">#7827</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix shift-sign issue in Convert.c <a href="https://redirect.github.com/python-pillow/Pillow/issues/7838">#7838</a> [<a href="https://github.com/r-barnes"><code>@r-barnes</code></a>]</li>
<li>winbuild: Refactor dependency versions into constants <a href="https://redirect.github.com/python-pillow/Pillow/issues/7843">#7843</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Build macOS arm64 wheels natively <a href="https://redirect.github.com/python-pillow/Pillow/issues/7852">#7852</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed typo <a href="https://redirect.github.com/python-pillow/Pillow/issues/7855">#7855</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Open 16-bit grayscale PNGs as I;16 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7849">#7849</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Handle truncated chunks at the end of PNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7709">#7709</a> [<a href="https://github.com/lajiyuan"><code>@lajiyuan</code></a>]</li>
<li>Match mask size to pasted image size in GifImagePlugin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7779">#7779</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Changed SupportsGetMesh protocol to be public <a href="https://redirect.github.com/python-pillow/Pillow/issues/7841">#7841</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Release GIL while calling <code>WebPAnimDecoderGetNext</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7782">#7782</a> [<a href="https://github.com/evanmiller"><code>@evanmiller</code></a>]</li>
<li>Fixed reading FLI/FLC images with a prefix chunk <a href="https://redirect.github.com/python-pillow/Pillow/issues/7804">#7804</a> [<a href="https://github.com/twolife"><code>@twolife</code></a>]</li>
<li>Updated package name for Tidelift <a href="https://redirect.github.com/python-pillow/Pillow/issues/7810">#7810</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed unused code <a href="https://redirect.github.com/python-pillow/Pillow/issues/7744">#7744</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p>
<blockquote>
<h2>10.3.0 (2024-04-01)</h2>
<ul>
<li>
<p>CVE-2024-28219: Use <code>strncpy</code> to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Deprecate <code>eval()</code>, replacing it with <code>lambda_eval()</code> and <code>unsafe_eval()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Raise <code>ValueError</code> if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a>
[radarhere]</p>
</li>
<li>
<p>Add <code>--report</code> argument to <code>__main__.py</code> to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a>
[nulano, radarhere, hugovk]</p>
</li>
<li>
<p>Added RGB to I;16, I;16L, I;16B and I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a>, <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a>
[radarhere]</p>
</li>
<li>
<p>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a>
[nulano, radarhere]</p>
</li>
<li>
<p>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a>
[Yay295, hugovk, radarhere]</p>
</li>
<li>
<p>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a>
[radarhere]</p>
</li>
<li>
<p>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a>
[radarhere]</p>
</li>
<li>
<p>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a>
[radarhere]</p>
</li>
<li>
<p>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a>
[scaramallion, radarhere]</p>
</li>
<li>
<p>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a>
[radarhere]</p>
</li>
<li>
<p>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a>
[radarhere]</p>
</li>
<li>
<p>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a>
[radarhere]</p>
</li>
<li>
<p>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a>
[radarhere]</p>
</li>
<li>
<p>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a>
[radarhere]</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-pillow/Pillow/commit/5c89d88eee199ba53f64581ea39b6a1bc52feb1a"><code>5c89d88</code></a> 10.3.0 version bump</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/63cbfcfdea2d163ec93bae8d283fcfe4b73b5dc7"><code>63cbfcf</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2776126aa9af322b416eaca247f4f8ebefd08128"><code>2776126</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> from python-pillow/lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/aeb51cbb169eb3285818ba1390ddf2771d897e6e"><code>aeb51cb</code></a> Merge branch 'main' into lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/5beb0b66648db8b542bb5260eed79b25e33d643b"><code>5beb0b6</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/cac6ffa7b399ea79b6239984d1307056a0b19af2"><code>cac6ffa</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a> from python-pillow/imagemath</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/f5eeeacf7539eaa0d93a677d7666bc7c142c8d1c"><code>f5eeeac</code></a> Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/facf3af93dabcbdd8cdbda8c3b50eefafa3bb04c"><code>facf3af</code></a> Added release notes</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061"><code>2a93aba</code></a> Use strncpy to avoid buffer overflow</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/a670597bc30e9d489656fc9d807170b8f3d7ca57"><code>a670597</code></a> Update CHANGES.rst [ci skip]</li>
<li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions <a href="https://redirect.github.com/python-pillow/Pillow/issues/7881">#7881</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed Python and NumPy pinning on Cygwin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7880">#7880</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Update UnidentifiedImageError and <strong>version</strong> imports <a href="https://redirect.github.com/python-pillow/Pillow/issues/7644">#7644</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Stop reading EPS image at EOF marker <a href="https://redirect.github.com/python-pillow/Pillow/issues/7753">#7753</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>PSD layer co-ordinates may be negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7706">#7706</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer <a href="https://redirect.github.com/python-pillow/Pillow/issues/7791">#7791</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>When saving GIF frame that restores to background color, do not fill identical pixels <a href="https://redirect.github.com/python-pillow/Pillow/issues/7788">#7788</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed reading PNG iCCP compression method <a href="https://redirect.github.com/python-pillow/Pillow/issues/7823">#7823</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Allow writing IFDRational to UNDEFINED tag <a href="https://redirect.github.com/python-pillow/Pillow/issues/7840">#7840</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix logged tag name when loading Exif data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7842">#7842</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use maximum frame size in IHDR chunk when saving APNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7821">#7821</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Prevent opening P TGA images without a palette <a href="https://redirect.github.com/python-pillow/Pillow/issues/7797">#7797</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use palette when loading ICO images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7798">#7798</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use consistent arguments for load_read and load_seek <a href="https://redirect.github.com/python-pillow/Pillow/issues/7713">#7713</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Turn off nullability warnings for macOS SDK <a href="https://redirect.github.com/python-pillow/Pillow/issues/7827">#7827</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix shift-sign issue in Convert.c <a href="https://redirect.github.com/python-pillow/Pillow/issues/7838">#7838</a> [<a href="https://github.com/r-barnes"><code>@r-barnes</code></a>]</li>
<li>winbuild: Refactor dependency versions into constants <a href="https://redirect.github.com/python-pillow/Pillow/issues/7843">#7843</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Build macOS arm64 wheels natively <a href="https://redirect.github.com/python-pillow/Pillow/issues/7852">#7852</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fixed typo <a href="https://redirect.github.com/python-pillow/Pillow/issues/7855">#7855</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Open 16-bit grayscale PNGs as I;16 <a href="https://redirect.github.com/python-pillow/Pillow/issues/7849">#7849</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Handle truncated chunks at the end of PNG images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7709">#7709</a> [<a href="https://github.com/lajiyuan"><code>@lajiyuan</code></a>]</li>
<li>Match mask size to pasted image size in GifImagePlugin <a href="https://redirect.github.com/python-pillow/Pillow/issues/7779">#7779</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Changed SupportsGetMesh protocol to be public <a href="https://redirect.github.com/python-pillow/Pillow/issues/7841">#7841</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Release GIL while calling <code>WebPAnimDecoderGetNext</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7782">#7782</a> [<a href="https://github.com/evanmiller"><code>@evanmiller</code></a>]</li>
<li>Fixed reading FLI/FLC images with a prefix chunk <a href="https://redirect.github.com/python-pillow/Pillow/issues/7804">#7804</a> [<a href="https://github.com/twolife"><code>@twolife</code></a>]</li>
<li>Updated package name for Tidelift <a href="https://redirect.github.com/python-pillow/Pillow/issues/7810">#7810</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Removed unused code <a href="https://redirect.github.com/python-pillow/Pillow/issues/7744">#7744</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p>
<blockquote>
<h2>10.3.0 (2024-04-01)</h2>
<ul>
<li>
<p>CVE-2024-28219: Use <code>strncpy</code> to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Deprecate <code>eval()</code>, replacing it with <code>lambda_eval()</code> and <code>unsafe_eval()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a>
[radarhere, hugovk]</p>
</li>
<li>
<p>Raise <code>ValueError</code> if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a>
[radarhere]</p>
</li>
<li>
<p>Add <code>--report</code> argument to <code>__main__.py</code> to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a>
[nulano, radarhere, hugovk]</p>
</li>
<li>
<p>Added RGB to I;16, I;16L, I;16B and I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a>, <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a>
[radarhere]</p>
</li>
<li>
<p>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a>
[nulano, radarhere]</p>
</li>
<li>
<p>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a>
[Yay295, hugovk, radarhere]</p>
</li>
<li>
<p>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a>
[radarhere]</p>
</li>
<li>
<p>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a>
[radarhere]</p>
</li>
<li>
<p>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a>
[radarhere]</p>
</li>
<li>
<p>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a>
[scaramallion, radarhere]</p>
</li>
<li>
<p>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a>
[radarhere]</p>
</li>
<li>
<p>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a>
[radarhere]</p>
</li>
<li>
<p>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a>
[radarhere]</p>
</li>
<li>
<p>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a>
[radarhere]</p>
</li>
<li>
<p>Added alpha_quality argument when saving WebP images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7872">#7872</a>
[radarhere]</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python-pillow/Pillow/commit/5c89d88eee199ba53f64581ea39b6a1bc52feb1a"><code>5c89d88</code></a> 10.3.0 version bump</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/63cbfcfdea2d163ec93bae8d283fcfe4b73b5dc7"><code>63cbfcf</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2776126aa9af322b416eaca247f4f8ebefd08128"><code>2776126</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> from python-pillow/lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/aeb51cbb169eb3285818ba1390ddf2771d897e6e"><code>aeb51cb</code></a> Merge branch 'main' into lcms</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/5beb0b66648db8b542bb5260eed79b25e33d643b"><code>5beb0b6</code></a> Update CHANGES.rst [ci skip]</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/cac6ffa7b399ea79b6239984d1307056a0b19af2"><code>cac6ffa</code></a> Merge pull request <a href="https://redirect.github.com/python-pillow/Pillow/issues/7927">#7927</a> from python-pillow/imagemath</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/f5eeeacf7539eaa0d93a677d7666bc7c142c8d1c"><code>f5eeeac</code></a> Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/facf3af93dabcbdd8cdbda8c3b50eefafa3bb04c"><code>facf3af</code></a> Added release notes</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/2a93aba5cfcf6e241ab4f9392c13e3b74032c061"><code>2a93aba</code></a> Use strncpy to avoid buffer overflow</li>
<li><a href="https://github.com/python-pillow/Pillow/commit/a670597bc30e9d489656fc9d807170b8f3d7ca57"><code>a670597</code></a> Update CHANGES.rst [ci skip]</li>
<li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/10.2.0...10.3.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pillow` from 10.2.0 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p>
<blockquote>
<h2>10.3.0</h2>
<p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html</a></p>
<h2>Changes</h2>
<ul>
<li>CVE-2024-28219: Use strncpy to avoid buffer overflow <a href="https://redirect.github.com/python-pillow/Pillow/issues/7928">#7928</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Use <code>functools.lru_cache</code> for <code>hopper()</code> <a href="https://redirect.github.com/python-pillow/Pillow/issues/7912">#7912</a> [<a href="https://github.com/hugovk"><code>@hugovk</code></a>]</li>
<li>Raise ValueError if seeking to greater than offset-sized integer in TIFF <a href="https://redirect.github.com/python-pillow/Pillow/issues/7883">#7883</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improve speed of loading QOI images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7925">#7925</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added RGB to I;16N conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7920">#7920</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Add --report argument to <strong>main</strong>.py to omit supported formats <a href="https://redirect.github.com/python-pillow/Pillow/issues/7818">#7818</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Added RGB to I;16, I;16L and I;16B conversion <a href="https://redirect.github.com/python-pillow/Pillow/issues/7918">#7918</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Fix editable installation with custom build backend and configuration options <a href="https://redirect.github.com/python-pillow/Pillow/issues/7658">#7658</a> [<a href="https://github.com/nulano"><code>@nulano</code></a>]</li>
<li>Fix putdata() for I;16N on big-endian <a href="https://redirect.github.com/python-pillow/Pillow/issues/7209">#7209</a> [<a href="https://github.com/Yay295"><code>@Yay295</code></a>]</li>
<li>Determine MPO size from markers, not EXIF data <a href="https://redirect.github.com/python-pillow/Pillow/issues/7884">#7884</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Improved conversion from RGB to RGBa, LA and La <a href="https://redirect.github.com/python-pillow/Pillow/issues/7888">#7888</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Support FITS images with GZIP_1 compression <a href="https://redirect.github.com/python-pillow/Pillow/issues/7894">#7894</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Use I;16 mode for 9-bit JPEG 2000 images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7900">#7900</a> [<a href="https://github.com/scaramallion"><code>@scaramallion</code></a>]</li>
<li>Raise ValueError if kmeans is negative <a href="https://redirect.github.com/python-pillow/Pillow/issues/7891">#7891</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Remove TIFF tag OSUBFILETYPE when saving using libtiff <a href="https://redirect.github.com/python-pillow/Pillow/issues/7893">#7893</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Raise ValueError for negative values when loading P1-P3 PPM images <a href="https://redirect.github.com/python-pillow/Pillow/issues/7882">#7882</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added reading of JPEG2000 palettes <a href="https://redirect.github.com/python-pillow/Pillow/issues/7870">#7870</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li>
<li>Added alpha_quality argument when savi...
_Description has been truncated_ | closed | 2024-04-03T16:30:31Z | 2024-04-05T09:48:34Z | 2024-04-05T09:48:34Z | dependabot[bot] |
2,219,449,122 | try if search works in big datasets | Before https://github.com/huggingface/datasets-server/pull/2641, I wanted to try changing the memory limit.
Maybe it is a dummy doubt, but I don't understand why we have many search replicas when there are a low number of requests (we have only 12 for rows, which is highly requested).
![image](https://github.com/huggingface/datasets-server/assets/5564745/46e8267b-8a5f-4ed4-a89a-40674526923b)
Isn't it better to have less replicas with a high memory limit so that we avoid OOM? (Not sure how it impacts in terms of infra costs)
I might be wrong but I chose 7 replicas with a 30 GB memory based on:
- Our biggest index with FTS support is 30 GB size:
![image](https://github.com/huggingface/datasets-server/assets/5564745/30657045-216b-4b8c-b486-0785d423ef4b)
I am still investigating, but even with the JOIN with a small stage in the left table at https://github.com/huggingface/datasets-server/pull/2641, duckdb looks to be doing a SEQ_SCAN (full table scan) when retrieving all the columns. (I will ask the duckdb team and document here if possible). Doing a SEQ_SCAN implies almost loading the full table, so, if we have a 30 GB database, in the worst scenario, it will be needed a 30 GB of memory allocated.
I am not sure if it is ok to calculate this way, but I am assuming that before, we had 24 replicas with a memory limit of 9 GB, which gives 24*9 = 216 GB, and then 216/30 = 7.2 replicas | try if search works in big datasets: Before https://github.com/huggingface/datasets-server/pull/2641, I wanted to try changing the memory limit.
Maybe it is a dummy doubt, but I don't understand why we have many search replicas when there are a low number of requests (we have only 12 for rows, which is highly requested).
![image](https://github.com/huggingface/datasets-server/assets/5564745/46e8267b-8a5f-4ed4-a89a-40674526923b)
Isn't it better to have less replicas with a high memory limit so that we avoid OOM? (Not sure how it impacts in terms of infra costs)
I might be wrong but I chose 7 replicas with a 30 GB memory based on:
- Our biggest index with FTS support is 30 GB size:
![image](https://github.com/huggingface/datasets-server/assets/5564745/30657045-216b-4b8c-b486-0785d423ef4b)
I am still investigating, but even with the JOIN with a small stage in the left table at https://github.com/huggingface/datasets-server/pull/2641, duckdb looks to be doing a SEQ_SCAN (full table scan) when retrieving all the columns. (I will ask the duckdb team and document here if possible). Doing a SEQ_SCAN implies almost loading the full table, so, if we have a 30 GB database, in the worst scenario, it will be needed a 30 GB of memory allocated.
I am not sure if it is ok to calculate this way, but I am assuming that before, we had 24 replicas with a memory limit of 9 GB, which gives 24*9 = 216 GB, and then 216/30 = 7.2 replicas | closed | 2024-04-02T02:43:52Z | 2024-04-02T11:55:18Z | 2024-04-02T11:55:17Z | AndreaFrancis |
2,219,393,598 | Tutorial about how to start/run my own local dataset server. | Hey,
I'm new to the dataset server and rookie in the Web field. I wanted to build my own dataset server however, is there any tutorial that can guide me to build my own dataset server?
Many Thanks | Tutorial about how to start/run my own local dataset server.: Hey,
I'm new to the dataset server and rookie in the Web field. I wanted to build my own dataset server however, is there any tutorial that can guide me to build my own dataset server?
Many Thanks | closed | 2024-04-02T01:30:12Z | 2024-05-11T15:03:50Z | 2024-05-11T15:03:50Z | ANYMS-A |
2,215,191,562 | `StatisticsComputationError` for splits with 1 sample | For splits with 1 row we might get
`StatisticsComputationError: Unexpected result for column_name='audio': Some measures among minimum=694.0, maximum=694.0, mean=694.0, median=694.0, std=None are None but not all of them.`
Because std for 1 sample is None and I made a check to allow this only if all samples in a split are equal to None.
example: https://huggingface.co/datasets/Aryelissa/LilFuub
A bit related to https://github.com/huggingface/datasets-server/issues/2631 | `StatisticsComputationError` for splits with 1 sample: For splits with 1 row we might get
`StatisticsComputationError: Unexpected result for column_name='audio': Some measures among minimum=694.0, maximum=694.0, mean=694.0, median=694.0, std=None are None but not all of them.`
Because std for 1 sample is None and I made a check to allow this only if all samples in a split are equal to None.
example: https://huggingface.co/datasets/Aryelissa/LilFuub
A bit related to https://github.com/huggingface/datasets-server/issues/2631 | open | 2024-03-29T11:46:55Z | 2024-03-29T11:52:01Z | null | polinaeterna |
2,215,085,464 | trigger a backfill job in 15 min | null | trigger a backfill job in 15 min: | closed | 2024-03-29T10:29:01Z | 2024-03-29T10:29:34Z | 2024-03-29T10:29:06Z | severo |
2,214,924,829 | Ensure /webhook answers immediately (or quickly) | From https://huggingface.slack.com/archives/C04HZ32QV17/p1711698013265029
> Is there a time-out for webhooks? I take about 1 min to respond and I'm getting 500.
> yes 30 seconds
> you should respond immediately and do stuff in background if it takes that much time
| Ensure /webhook answers immediately (or quickly): From https://huggingface.slack.com/archives/C04HZ32QV17/p1711698013265029
> Is there a time-out for webhooks? I take about 1 min to respond and I'm getting 500.
> yes 30 seconds
> you should respond immediately and do stuff in background if it takes that much time
| open | 2024-03-29T08:33:22Z | 2024-05-13T21:33:08Z | null | severo |
2,213,481,141 | Rename this project `dataset-viewer` | idea from here: https://huggingface.slack.com/archives/C02V51Q3800/p1711555601697509?thread_ts=1711535232.998799&cid=C02V51Q3800 (internal)
> First is that I think nobody has any idea it’s related to the viewer (keep pointing people to it when they ask)
Making it clear that this code "powers the frontend feature":
- it would help when providing support (this project sends the data and the errors to the dataset viewer)
- it could foster more contributions: people contribute to see the features they want on HF (think Croissant for example)
---
## Name, repo, text, docs, variables
- [x] change the repo's name - everything will be redirected (https://docs.github.com/en/repositories/creating-and-managing-repositories/renaming-a-repository), so: we should be able to do it at any time
- [x] in this repo, change all the names / variables / docs to replace `datasets-server` with `dataset-viewer`, `Datasets Server` with `Dataset viewer`, etc. -> #2663, #2665
- [x] Slack channels
- [x] Notion pages
- [x] Grafana charts -> https://grafana.huggingface.tech/dashboards/f/e_I3EQ0Vz/dataset-viewer
- [x] https://huggingface.co/spaces/datasets-maintainers/datasets-server-admin-ui -> https://huggingface.co/spaces/datasets-maintainers/dataset-viewer-admin-ui (with redirection)
- [x] observable notebooks
- [x] Miro
- [x] kibana
- [x] https://github.com/orgs/huggingface/teams/datasets-server -> @huggingface/dataset-viewer
- [x] https://github.com/huggingface/moon-landing (https://github.com/huggingface/moon-landing/pull/9520 then https://github.com/huggingface/dataset-viewer/pull/2665)
- [x] https://github.com/huggingface/datasets (https://github.com/huggingface/datasets/pull/6785)
- [x] huggingface blogposts?
## Follow-ups
- https://github.com/huggingface/dataset-viewer/issues/2669
- https://github.com/huggingface/dataset-viewer/issues/2668
- https://github.com/huggingface/dataset-viewer/issues/2666
- https://github.com/huggingface/dataset-viewer/issues/2667
| Rename this project `dataset-viewer`: idea from here: https://huggingface.slack.com/archives/C02V51Q3800/p1711555601697509?thread_ts=1711535232.998799&cid=C02V51Q3800 (internal)
> First is that I think nobody has any idea it’s related to the viewer (keep pointing people to it when they ask)
Making it clear that this code "powers the frontend feature":
- it would help when providing support (this project sends the data and the errors to the dataset viewer)
- it could foster more contributions: people contribute to see the features they want on HF (think Croissant for example)
---
## Name, repo, text, docs, variables
- [x] change the repo's name - everything will be redirected (https://docs.github.com/en/repositories/creating-and-managing-repositories/renaming-a-repository), so: we should be able to do it at any time
- [x] in this repo, change all the names / variables / docs to replace `datasets-server` with `dataset-viewer`, `Datasets Server` with `Dataset viewer`, etc. -> #2663, #2665
- [x] Slack channels
- [x] Notion pages
- [x] Grafana charts -> https://grafana.huggingface.tech/dashboards/f/e_I3EQ0Vz/dataset-viewer
- [x] https://huggingface.co/spaces/datasets-maintainers/datasets-server-admin-ui -> https://huggingface.co/spaces/datasets-maintainers/dataset-viewer-admin-ui (with redirection)
- [x] observable notebooks
- [x] Miro
- [x] kibana
- [x] https://github.com/orgs/huggingface/teams/datasets-server -> @huggingface/dataset-viewer
- [x] https://github.com/huggingface/moon-landing (https://github.com/huggingface/moon-landing/pull/9520 then https://github.com/huggingface/dataset-viewer/pull/2665)
- [x] https://github.com/huggingface/datasets (https://github.com/huggingface/datasets/pull/6785)
- [x] huggingface blogposts?
## Follow-ups
- https://github.com/huggingface/dataset-viewer/issues/2669
- https://github.com/huggingface/dataset-viewer/issues/2668
- https://github.com/huggingface/dataset-viewer/issues/2666
- https://github.com/huggingface/dataset-viewer/issues/2667
| closed | 2024-03-28T15:10:46Z | 2024-04-30T15:54:39Z | 2024-04-30T15:54:39Z | severo |
2,213,351,470 | Should we support /filter on columns that contain SQL commands? | See the `schema` column on https://huggingface.co/datasets/motherduckdb/duckdb-text2sql-25k. Clicking on any of the 'classes' leads to an error
<img width="1209" alt="Capture d’écran 2024-03-28 à 15 11 50" src="https://github.com/huggingface/datasets-server/assets/1676121/3aaf779f-0465-429a-bafb-1a16ff5f2901">
The erroneous URL is:
https://datasets-server.huggingface.co/filter?dataset=motherduckdb%2Fduckdb-text2sql-25k&config=default&split=train&offset=0&length=100&where=schema%3D%27CREATE+TABLE+%22venue%22+%28%0A++%22venueId%22+INTEGER+NOT+NULL%2C%0A++%22venueName%22+VARCHAR%28100%29%2C%0A++%22venueInfo%22+JSON%2C%0A++PRIMARY+KEY+%28%22venueId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22author%22+%28%0A++%22authorId%22+INTEGER+NOT+NULL%2C%0A++%22authorName%22+VARCHAR%2850%29%2C%0A++%22authorPublications%22+INT%5B%5D%2C%0A++PRIMARY+KEY+%28%22authorId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22dataset%22+%28%0A++%22datasetId%22+INTEGER+NOT+NULL%2C%0A++%22datasetName%22+VARCHAR%2850%29%2C%0A++%22datasetInfo%22+STRUCT%28v+VARCHAR%2C+i+INTEGER%29%2C%0A++PRIMARY+KEY+%28%22datasetId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22journal%22+%28%0A++%22journalId%22+INTEGER+NOT+NULL%2C%0A++%22journalName%22+VARCHAR%28100%29%2C%0A++%22journalInfo%22+MAP%28INT%2C+DOUBLE%29%2C%0A++PRIMARY+KEY+%28%22journalId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22keyphrase%22+%28%0A++%22keyphraseId%22+INTEGER+NOT+NULL%2C%0A++%22keyphraseName%22+VARCHAR%2850%29%2C%0A++%22keyphraseInfo%22+VARCHAR%2850%29%5B%5D%2C%0A++PRIMARY+KEY+%28%22keyphraseId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22paper%22+%28%0A++%22paperId%22+INTEGER+NOT+NULL%2C%0A++%22title%22+VARCHAR%28300%29%2C%0A++%22venueId%22+INTEGER%2C%0A++%22year%22+INTEGER%2C%0A++%22numCiting%22+INTEGER%2C%0A++%22numCitedBy%22+INTEGER%2C%0A++%22journalId%22+INTEGER%2C%0A++%22paperInfo%22+UNION%28num+INT%2C+str+VARCHAR%29%2C%0A++PRIMARY+KEY+%28%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22journalId%22%29+REFERENCES+%22journal%22%28%22journalId%22%29%2C%0A++FOREIGN+KEY%28%22venueId%22%29+REFERENCES+%22venue%22%28%22venueId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22cite%22+%28%0A++%22citingPaperId%22+INTEGER+NOT+NULL%2C%0A++%22citedPaperId%22+INTEGER+NOT+NULL%2C%0A++%22citeInfo%22+INT%5B%5D%2C%0A++PRIMARY+KEY+%28%22citingPaperId%22%2C%22citedPaperId%22%29%2C%0A++FOREIGN+KEY%28%22citedpaperId%22%29+REFERENCES+%22paper%22%28%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22citingpaperId%22%29+REFERENCES+%22paper%22%28%22paperId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22paperDataset%22+%28%0A++%22paperId%22+INTEGER%2C%0A++%22datasetId%22+INTEGER%2C%0A++%22paperDatasetInfo%22+JSON%2C%0A++PRIMARY+KEY+%28%22datasetId%22%2C+%22paperId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22paperKeyphrase%22+%28%0A++%22paperId%22+INTEGER%2C%0A++%22keyphraseId%22+INTEGER%2C%0A++%22paperKeyphraseInfo%22+JSON%2C%0A++PRIMARY+KEY+%28%22keyphraseId%22%2C%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22paperId%22%29+REFERENCES+%22paper%22%28%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22keyphraseId%22%29+REFERENCES+%22keyphrase%22%28%22keyphraseId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22writes%22+%28%0A++%22paperId%22+INTEGER%2C%0A++%22authorId%22+INTEGER%2C%0A++%22writesInfo%22+JSON%2C%0A++PRIMARY+KEY+%28%22paperId%22%2C%22authorId%22%29%2C%0A++FOREIGN+KEY%28%22paperId%22%29+REFERENCES+%22paper%22%28%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22authorId%22%29+REFERENCES+%22author%22%28%22authorId%22%29%0A%29%3B%27
```json
{"error":"Parameter 'where' contains invalid symbols"}
```
It's because the content includes some of the forbidden symbols:
https://github.com/huggingface/datasets-server/blob/4dddea2e6a476d52ba5be0c7c64fb8eca9827935/services/search/src/search/routes/filter.py#L53
Do you think it's possible to support the above query? Or should we handle the error on the Hub (not easy to do more than currently)? | Should we support /filter on columns that contain SQL commands?: See the `schema` column on https://huggingface.co/datasets/motherduckdb/duckdb-text2sql-25k. Clicking on any of the 'classes' leads to an error
<img width="1209" alt="Capture d’écran 2024-03-28 à 15 11 50" src="https://github.com/huggingface/datasets-server/assets/1676121/3aaf779f-0465-429a-bafb-1a16ff5f2901">
The erroneous URL is:
https://datasets-server.huggingface.co/filter?dataset=motherduckdb%2Fduckdb-text2sql-25k&config=default&split=train&offset=0&length=100&where=schema%3D%27CREATE+TABLE+%22venue%22+%28%0A++%22venueId%22+INTEGER+NOT+NULL%2C%0A++%22venueName%22+VARCHAR%28100%29%2C%0A++%22venueInfo%22+JSON%2C%0A++PRIMARY+KEY+%28%22venueId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22author%22+%28%0A++%22authorId%22+INTEGER+NOT+NULL%2C%0A++%22authorName%22+VARCHAR%2850%29%2C%0A++%22authorPublications%22+INT%5B%5D%2C%0A++PRIMARY+KEY+%28%22authorId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22dataset%22+%28%0A++%22datasetId%22+INTEGER+NOT+NULL%2C%0A++%22datasetName%22+VARCHAR%2850%29%2C%0A++%22datasetInfo%22+STRUCT%28v+VARCHAR%2C+i+INTEGER%29%2C%0A++PRIMARY+KEY+%28%22datasetId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22journal%22+%28%0A++%22journalId%22+INTEGER+NOT+NULL%2C%0A++%22journalName%22+VARCHAR%28100%29%2C%0A++%22journalInfo%22+MAP%28INT%2C+DOUBLE%29%2C%0A++PRIMARY+KEY+%28%22journalId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22keyphrase%22+%28%0A++%22keyphraseId%22+INTEGER+NOT+NULL%2C%0A++%22keyphraseName%22+VARCHAR%2850%29%2C%0A++%22keyphraseInfo%22+VARCHAR%2850%29%5B%5D%2C%0A++PRIMARY+KEY+%28%22keyphraseId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22paper%22+%28%0A++%22paperId%22+INTEGER+NOT+NULL%2C%0A++%22title%22+VARCHAR%28300%29%2C%0A++%22venueId%22+INTEGER%2C%0A++%22year%22+INTEGER%2C%0A++%22numCiting%22+INTEGER%2C%0A++%22numCitedBy%22+INTEGER%2C%0A++%22journalId%22+INTEGER%2C%0A++%22paperInfo%22+UNION%28num+INT%2C+str+VARCHAR%29%2C%0A++PRIMARY+KEY+%28%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22journalId%22%29+REFERENCES+%22journal%22%28%22journalId%22%29%2C%0A++FOREIGN+KEY%28%22venueId%22%29+REFERENCES+%22venue%22%28%22venueId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22cite%22+%28%0A++%22citingPaperId%22+INTEGER+NOT+NULL%2C%0A++%22citedPaperId%22+INTEGER+NOT+NULL%2C%0A++%22citeInfo%22+INT%5B%5D%2C%0A++PRIMARY+KEY+%28%22citingPaperId%22%2C%22citedPaperId%22%29%2C%0A++FOREIGN+KEY%28%22citedpaperId%22%29+REFERENCES+%22paper%22%28%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22citingpaperId%22%29+REFERENCES+%22paper%22%28%22paperId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22paperDataset%22+%28%0A++%22paperId%22+INTEGER%2C%0A++%22datasetId%22+INTEGER%2C%0A++%22paperDatasetInfo%22+JSON%2C%0A++PRIMARY+KEY+%28%22datasetId%22%2C+%22paperId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22paperKeyphrase%22+%28%0A++%22paperId%22+INTEGER%2C%0A++%22keyphraseId%22+INTEGER%2C%0A++%22paperKeyphraseInfo%22+JSON%2C%0A++PRIMARY+KEY+%28%22keyphraseId%22%2C%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22paperId%22%29+REFERENCES+%22paper%22%28%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22keyphraseId%22%29+REFERENCES+%22keyphrase%22%28%22keyphraseId%22%29%0A%29%3B%0A%0ACREATE+TABLE+%22writes%22+%28%0A++%22paperId%22+INTEGER%2C%0A++%22authorId%22+INTEGER%2C%0A++%22writesInfo%22+JSON%2C%0A++PRIMARY+KEY+%28%22paperId%22%2C%22authorId%22%29%2C%0A++FOREIGN+KEY%28%22paperId%22%29+REFERENCES+%22paper%22%28%22paperId%22%29%2C%0A++FOREIGN+KEY%28%22authorId%22%29+REFERENCES+%22author%22%28%22authorId%22%29%0A%29%3B%27
```json
{"error":"Parameter 'where' contains invalid symbols"}
```
It's because the content includes some of the forbidden symbols:
https://github.com/huggingface/datasets-server/blob/4dddea2e6a476d52ba5be0c7c64fb8eca9827935/services/search/src/search/routes/filter.py#L53
Do you think it's possible to support the above query? Or should we handle the error on the Hub (not easy to do more than currently)? | open | 2024-03-28T14:14:01Z | 2024-03-28T14:24:34Z | null | severo |
2,213,183,259 | Add transformed columns (audio, image, string, lists) to duckdb file | To support filtering for columns that are stored as bytes (audio; image - when it' implemented), we need to store the transformed values that are used for stats computation. For example, for audio we should store their duration as a separate numerical column. We can also store other columns that require any other transformation, so that we don't do this on the fly. Currently it's length for string and list columns.
That would require recomputing of all the `duckdb.index` file so we should probably implement this after image statistics.
**Or** if recomputing all index files is not feasible, I imagine we can create a separate duckdb file for all transformed values. But this is an additional layer of complexity (additional job runner, additional file to download during filtering). | Add transformed columns (audio, image, string, lists) to duckdb file: To support filtering for columns that are stored as bytes (audio; image - when it' implemented), we need to store the transformed values that are used for stats computation. For example, for audio we should store their duration as a separate numerical column. We can also store other columns that require any other transformation, so that we don't do this on the fly. Currently it's length for string and list columns.
That would require recomputing of all the `duckdb.index` file so we should probably implement this after image statistics.
**Or** if recomputing all index files is not feasible, I imagine we can create a separate duckdb file for all transformed values. But this is an additional layer of complexity (additional job runner, additional file to download during filtering). | closed | 2024-03-28T12:58:17Z | 2024-06-07T13:28:08Z | 2024-06-07T13:28:08Z | polinaeterna |
2,212,932,173 | Fix row-group size for imagefolder and audiofolder datasets | Close https://github.com/huggingface/datasets-server/issues/2646
I'll recompute the parquet-and-info jobs for the impacted datasets, otherwise their Viewer will still be slow or get TooBigContentError | Fix row-group size for imagefolder and audiofolder datasets: Close https://github.com/huggingface/datasets-server/issues/2646
I'll recompute the parquet-and-info jobs for the impacted datasets, otherwise their Viewer will still be slow or get TooBigContentError | closed | 2024-03-28T11:00:52Z | 2024-04-02T10:08:54Z | 2024-03-28T15:57:12Z | lhoestq |
2,212,917,178 | Wrong row-group size for imagefolder and audiofolder datasets | This is due to the `builder.info.features` not being available which causes `get_writer_batch_size_from_info` to return the wrong value in `parquet-and-info` | Wrong row-group size for imagefolder and audiofolder datasets: This is due to the `builder.info.features` not being available which causes `get_writer_batch_size_from_info` to return the wrong value in `parquet-and-info` | closed | 2024-03-28T10:53:28Z | 2024-03-28T15:57:13Z | 2024-03-28T15:57:13Z | lhoestq |
2,212,810,237 | Remove croissant endpoint | after we have these two PRs in prod:
- https://github.com/huggingface/datasets-server/pull/2643
- https://github.com/huggingface/moon-landing/pull/9426 | Remove croissant endpoint: after we have these two PRs in prod:
- https://github.com/huggingface/datasets-server/pull/2643
- https://github.com/huggingface/moon-landing/pull/9426 | closed | 2024-03-28T10:00:29Z | 2024-03-29T10:02:32Z | 2024-03-29T10:02:31Z | severo |
2,211,928,889 | Try to improve fts time for some datasets | null | Try to improve fts time for some datasets: | closed | 2024-03-27T21:20:53Z | 2024-03-27T21:26:40Z | 2024-03-27T21:26:39Z | AndreaFrancis |
2,211,394,582 | /croissant -> /croissant-crumbs (only specific fields) | fixes #2624 | /croissant -> /croissant-crumbs (only specific fields): fixes #2624 | closed | 2024-03-27T17:37:22Z | 2024-03-28T10:25:13Z | 2024-03-28T10:25:12Z | severo |
2,211,376,717 | Update Croissant URL to use the HF Hub `/api` | I updated the URLs in the compatible-libraries jobs and also in the docs.
cc @severo | Update Croissant URL to use the HF Hub `/api`: I updated the URLs in the compatible-libraries jobs and also in the docs.
cc @severo | closed | 2024-03-27T17:29:52Z | 2024-03-28T10:20:15Z | 2024-03-28T10:20:14Z | lhoestq |
2,211,097,843 | Apply faster fts by stage table for all datasets | Enable https://github.com/huggingface/datasets-server/pull/2638 approach for all datasets | Apply faster fts by stage table for all datasets: Enable https://github.com/huggingface/datasets-server/pull/2638 approach for all datasets | closed | 2024-03-27T15:24:00Z | 2024-04-05T11:59:37Z | 2024-04-05T11:20:20Z | AndreaFrancis |
2,210,874,875 | Replace HF app token with 1 hour JWT (for workers?) | Same logic as https://github.com/huggingface/spaces-app-manager/pull/1709 (internal)
Discussion here: https://huggingface.slack.com/archives/C02ETJ9N2LE/p1711526336460819 (internal)
| Replace HF app token with 1 hour JWT (for workers?): Same logic as https://github.com/huggingface/spaces-app-manager/pull/1709 (internal)
Discussion here: https://huggingface.slack.com/archives/C02ETJ9N2LE/p1711526336460819 (internal)
| open | 2024-03-27T13:55:00Z | 2024-03-27T13:55:11Z | null | severo |
2,210,780,561 | Make dataset viewer configurable | Some examples of potential usages:
- specify that a string column should be treated as a class
- specify columns order
- set which config to display by default if it differs from `datasets`' default one.
Maybe in the future, when (i hope) we have more functionality, we can also provide which metrics and over which columns to compute.
### How to implement
1. We can support a dedicated field in README.md's yaml, something like:
```yaml
---
...
viewer_config:
default_config: python
features:
language: class
title: string
...
```
2. In datasets-server we can create a dedicated job runner `dataset-viewer-config` that would store this information. Or store this along with the `*-info` steps but this way it would be exposed in `/info` endpoint which is probably unnecessary.
wdyt @AndreaFrancis @severo @lhoestq @albertvillanova ? | Make dataset viewer configurable: Some examples of potential usages:
- specify that a string column should be treated as a class
- specify columns order
- set which config to display by default if it differs from `datasets`' default one.
Maybe in the future, when (i hope) we have more functionality, we can also provide which metrics and over which columns to compute.
### How to implement
1. We can support a dedicated field in README.md's yaml, something like:
```yaml
---
...
viewer_config:
default_config: python
features:
language: class
title: string
...
```
2. In datasets-server we can create a dedicated job runner `dataset-viewer-config` that would store this information. Or store this along with the `*-info` steps but this way it would be exposed in `/info` endpoint which is probably unnecessary.
wdyt @AndreaFrancis @severo @lhoestq @albertvillanova ? | open | 2024-03-27T13:15:38Z | 2024-05-13T14:03:23Z | null | polinaeterna |
2,209,488,348 | Try to improve fts for big datasets by stage table join | Following PR https://github.com/huggingface/datasets-server/pull/2633 and comment https://github.com/huggingface/datasets-server/pull/2633#issuecomment-2021117342 I would like to first try with a JOIN approach:
1. Get the rows that match the query criteria (score NOT NULL)
2. JOIN with the `data` table to get the other columns
This approach should be better than the current process, but it might still not work for big datasets since the "data" table does not have a PRIMARY KEY yet. See https://github.com/huggingface/datasets-server/blob/main/services/worker/src/worker/job_runners/split/duckdb_index.py#L58 we only define the sequence, but it is still a heap table (without indexes to improve the duckdb query plan).
If this approach sounds good, it will be necessary to change `split-duckdb-index` to add a PRIMARY KEY at table creation, but it will affect the file size. For `wikimedia/wikipedia`, I tried adding the index, and it increased from 9GB to 13 GB. We have to put in a balance between space/performance. Otherwise, growing memory of search pods would also help.
| Try to improve fts for big datasets by stage table join: Following PR https://github.com/huggingface/datasets-server/pull/2633 and comment https://github.com/huggingface/datasets-server/pull/2633#issuecomment-2021117342 I would like to first try with a JOIN approach:
1. Get the rows that match the query criteria (score NOT NULL)
2. JOIN with the `data` table to get the other columns
This approach should be better than the current process, but it might still not work for big datasets since the "data" table does not have a PRIMARY KEY yet. See https://github.com/huggingface/datasets-server/blob/main/services/worker/src/worker/job_runners/split/duckdb_index.py#L58 we only define the sequence, but it is still a heap table (without indexes to improve the duckdb query plan).
If this approach sounds good, it will be necessary to change `split-duckdb-index` to add a PRIMARY KEY at table creation, but it will affect the file size. For `wikimedia/wikipedia`, I tried adding the index, and it increased from 9GB to 13 GB. We have to put in a balance between space/performance. Otherwise, growing memory of search pods would also help.
| closed | 2024-03-26T22:57:31Z | 2024-03-27T13:33:48Z | 2024-03-27T13:33:47Z | AndreaFrancis |
2,209,471,530 | remove unused dependencies in workers | See https://github.com/huggingface/datasets-server/issues/2636#issuecomment-2021556425
It will fix #2636, and also partly #2476
It should also reduce the CI duration and the size of the service/worker docker image (no more tensorflow and pytorch!) | remove unused dependencies in workers: See https://github.com/huggingface/datasets-server/issues/2636#issuecomment-2021556425
It will fix #2636, and also partly #2476
It should also reduce the CI duration and the size of the service/worker docker image (no more tensorflow and pytorch!) | closed | 2024-03-26T22:41:31Z | 2024-03-27T13:06:25Z | 2024-03-27T12:57:59Z | severo |
2,208,390,726 | e2e is broken due to KenLM install | We get:
```
Note: This error originates from the build backend, and is likely not a problem with poetry but with kenlm (0.2.0 https://github.com/kpu/kenlm/archive/master.zip) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "kenlm @ https://github.com/kpu/kenlm/archive/master.zip"'.
```
Running this command gives:
```
$ poetry run pip wheel --no-cache-dir --use-pep517 "kenlm @ https://github.com/kpu/kenlm/archive/master.zip"
Collecting kenlm@ https://github.com/kpu/kenlm/archive/master.zip
Downloading https://github.com/kpu/kenlm/archive/master.zip
\ 553.6 kB 4.7 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: kenlm
Building wheel for kenlm (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for kenlm (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [60 lines of output]
Will build with KenLM max_order set to 6
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "/tmp/pip-build-env-irk6jevh/overlay/bin/cmake", line 5, in <module>
from cmake import cmake
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/cmake/__init__.py", line 6, in <module>
from importlib_metadata import distribution
ModuleNotFoundError: No module named 'importlib_metadata'
Traceback (most recent call last):
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 410, in build_wheel
return self._build_with_temp_dir(
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 124, in <module>
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 368, in run
self.run_command("build")
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "<string>", line 64, in run
File "/home/slesage/.pyenv/versions/3.9.18/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/slesage/.pyenv/versions/3.9.18/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '--version']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for kenlm
Failed to build kenlm
ERROR: Failed to build one or more wheels
``` | e2e is broken due to KenLM install: We get:
```
Note: This error originates from the build backend, and is likely not a problem with poetry but with kenlm (0.2.0 https://github.com/kpu/kenlm/archive/master.zip) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "kenlm @ https://github.com/kpu/kenlm/archive/master.zip"'.
```
Running this command gives:
```
$ poetry run pip wheel --no-cache-dir --use-pep517 "kenlm @ https://github.com/kpu/kenlm/archive/master.zip"
Collecting kenlm@ https://github.com/kpu/kenlm/archive/master.zip
Downloading https://github.com/kpu/kenlm/archive/master.zip
\ 553.6 kB 4.7 MB/s 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: kenlm
Building wheel for kenlm (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for kenlm (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [60 lines of output]
Will build with KenLM max_order set to 6
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "/tmp/pip-build-env-irk6jevh/overlay/bin/cmake", line 5, in <module>
from cmake import cmake
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/cmake/__init__.py", line 6, in <module>
from importlib_metadata import distribution
ModuleNotFoundError: No module named 'importlib_metadata'
Traceback (most recent call last):
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/slesage/hf/datasets-server/services/worker/.venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 410, in build_wheel
return self._build_with_temp_dir(
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 124, in <module>
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 104, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 368, in run
self.run_command("build")
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/tmp/pip-build-env-irk6jevh/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "<string>", line 64, in run
File "/home/slesage/.pyenv/versions/3.9.18/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/slesage/.pyenv/versions/3.9.18/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '--version']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for kenlm
Failed to build kenlm
ERROR: Failed to build one or more wheels
``` | closed | 2024-03-26T14:17:23Z | 2024-03-27T12:58:00Z | 2024-03-27T12:58:00Z | severo |
2,208,129,283 | Add login comment in code snippets | Example:
```python
from datasets import load_dataset
# Login using e.g. `huggingface-cli login` to access this dataset
ds = load_dataset("imagenet-1k")
```
The comment is only show for datasets that require a token to be accessed
Close https://github.com/huggingface/datasets-server/issues/2619 | Add login comment in code snippets: Example:
```python
from datasets import load_dataset
# Login using e.g. `huggingface-cli login` to access this dataset
ds = load_dataset("imagenet-1k")
```
The comment is only show for datasets that require a token to be accessed
Close https://github.com/huggingface/datasets-server/issues/2619 | closed | 2024-03-26T12:36:04Z | 2024-03-27T10:43:54Z | 2024-03-27T10:43:53Z | lhoestq |
2,207,984,335 | Upgrade huggingface_hub to 0.22 | See https://huggingface.co/spaces/Wauplin/huggingface_hub/discussions/5
Maybe wait for upgrade in datasets first? | Upgrade huggingface_hub to 0.22: See https://huggingface.co/spaces/Wauplin/huggingface_hub/discussions/5
Maybe wait for upgrade in datasets first? | closed | 2024-03-26T11:30:25Z | 2024-04-16T11:44:07Z | 2024-04-16T11:44:07Z | severo |
2,206,809,390 | Try to improve fts for big datasets by batches | Should fix https://github.com/huggingface/datasets-server/issues/2628 and help with search in big datasets.
When doing the
```
FTS_BY_TABLE_COMMAND = (
"SELECT * EXCLUDE (__hf_fts_score) FROM (SELECT *, fts_main_data.match_bm25(__hf_index_id, ?) AS __hf_fts_score"
" FROM data) A WHERE __hf_fts_score IS NOT NULL ORDER BY __hf_fts_score DESC OFFSET {offset} LIMIT {length};"
)
```
FTS command performs the fts_main_data.match_bm25 macro over the whole "data" table in the index.duckdb file causing many OOM fails because it needs to load all the tables in memory that is for instance, for `wikimedia/wikipedia` en config, it tries to load nearly 9 GB of data (the current pod only has 6GB of memory).
I haven't found a better way to restrict and match to a better query plan than doing it by batches using __hf_index_id index. Hopefully, it will help a lot with big index files (I tried it, and worked super fast at least for the first pages), so I enabled it only for `wikimedia/wikipedia`, if it works, we can enable it for other datasets or use it for all.
**Note:**
Currently, it is like an "incremental" scanning, which can lead to a long query time if someone looks for page 1M for example, I was thinking of processing the batches in parallel, but it will be unnecessary for small datasets. Maybe in an upcoming PR, try to fit the better approach by the dataset size.
I also tried loading in two steps, first, only `SELECT __hf_index_id, fts_main_data.match_bm25(__hf_index_id, ?)` (which is super fast since it uses the __hf_index_id index) instead of `SELECT *, fts_main_data.match_bm25(__hf_index_id, ?)` and then join it with the data table but for some reason, it still gets OOM even if the first left table is reduced (Will continue investigating that approach). | Try to improve fts for big datasets by batches: Should fix https://github.com/huggingface/datasets-server/issues/2628 and help with search in big datasets.
When doing the
```
FTS_BY_TABLE_COMMAND = (
"SELECT * EXCLUDE (__hf_fts_score) FROM (SELECT *, fts_main_data.match_bm25(__hf_index_id, ?) AS __hf_fts_score"
" FROM data) A WHERE __hf_fts_score IS NOT NULL ORDER BY __hf_fts_score DESC OFFSET {offset} LIMIT {length};"
)
```
FTS command performs the fts_main_data.match_bm25 macro over the whole "data" table in the index.duckdb file causing many OOM fails because it needs to load all the tables in memory that is for instance, for `wikimedia/wikipedia` en config, it tries to load nearly 9 GB of data (the current pod only has 6GB of memory).
I haven't found a better way to restrict and match to a better query plan than doing it by batches using __hf_index_id index. Hopefully, it will help a lot with big index files (I tried it, and worked super fast at least for the first pages), so I enabled it only for `wikimedia/wikipedia`, if it works, we can enable it for other datasets or use it for all.
**Note:**
Currently, it is like an "incremental" scanning, which can lead to a long query time if someone looks for page 1M for example, I was thinking of processing the batches in parallel, but it will be unnecessary for small datasets. Maybe in an upcoming PR, try to fit the better approach by the dataset size.
I also tried loading in two steps, first, only `SELECT __hf_index_id, fts_main_data.match_bm25(__hf_index_id, ?)` (which is super fast since it uses the __hf_index_id index) instead of `SELECT *, fts_main_data.match_bm25(__hf_index_id, ?)` and then join it with the data table but for some reason, it still gets OOM even if the first left table is reduced (Will continue investigating that approach). | closed | 2024-03-25T22:09:36Z | 2024-03-26T22:57:58Z | 2024-03-26T22:57:58Z | AndreaFrancis |
2,206,141,722 | DatasetScriptError should be retried | On dataset mozilla-foundation/common_voice_6_1, we have `DatasetScriptError`, caused by `DatasetGenerationError`, caused by a timeout.
In this case, for config `de`, step `config-parquet-and-info`:
```
{
"error": "An error occurred while generating the dataset",
"cause_exception": "DatasetGenerationError",
"cause_message": "An error occurred while generating the dataset",
"cause_traceback": [
"Traceback (most recent call last):\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/asyn.py\", line 56, in _runner\n result[0] = await coro\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py\", line 762, in _read\n out = await self.r.content.read(num)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/aiohttp/streams.py\", line 385, in read\n return self._read_nowait(n)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/aiohttp/streams.py\", line 492, in _read_nowait\n self._timer.assert_timeout()\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/aiohttp/helpers.py\", line 709, in assert_timeout\n raise asyncio.TimeoutError from None\n",
"asyncio.exceptions.TimeoutError\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py\", line 342, in read_with_retries\n out = read(*args, **kwargs)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/asyn.py\", line 118, in wrapper\n return sync(self.loop, func, *args, **kwargs)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/asyn.py\", line 101, in sync\n raise FSTimeoutError from return_result\n",
"fsspec.exceptions.FSTimeoutError\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py\", line 1726, in _prepare_split_single\n for key, record in generator:\n",
" File \"/src/services/worker/src/worker/job_runners/config/parquet_and_info.py\", line 804, in wrapped\n for item in generator(*args, **kwargs):\n",
" File \"/tmp/modules-cache/datasets_modules/datasets/mozilla-foundation--common_voice_6_1/d06c81622a9ea58a044f008c934f6c0f864b4051dacba0d920e36160ce362a33/common_voice_6_1.py\", line 256, in _generate_examples\n result[\"audio\"] = {\"path\": path, \"bytes\": f.read()}\n",
" File \"/usr/local/lib/python3.9/tarfile.py\", line 688, in read\n b = self.fileobj.read(length)\n",
" File \"/usr/local/lib/python3.9/tarfile.py\", line 525, in read\n buf = self._read(size)\n",
" File \"/usr/local/lib/python3.9/tarfile.py\", line 543, in _read\n buf = self.fileobj.read(self.bufsize)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py\", line 351, in read_with_retries\n raise ConnectionError(\"Server Disconnected\") from disconnect_err\n",
"ConnectionError: Server Disconnected\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
" File \"/src/services/worker/src/worker/job_manager.py\", line 125, in process\n job_result = self.job_runner.compute()\n",
" File \"/src/services/worker/src/worker/job_runners/config/parquet_and_info.py\", line 1392, in compute\n compute_config_parquet_and_info_response(\n",
" File \"/src/services/worker/src/worker/job_runners/config/parquet_and_info.py\", line 1300, in compute_config_parquet_and_info_response\n parquet_operations, partial = stream_convert_to_parquet(\n",
" File \"/src/services/worker/src/worker/job_runners/config/parquet_and_info.py\", line 895, in stream_convert_to_parquet\n builder._prepare_split(\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py\", line 1605, in _prepare_split\n for job_id, done, content in self._prepare_split_single(\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py\", line 1762, in _prepare_split_single\n raise DatasetGenerationError(\"An error occurred while generating the dataset\") from e\n",
"datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset\n"
]
}
```
I'm not sure if we should retry all the `DatasetScriptError` errors, or raise another error when the dataset could not be loaded due to a timeout error.
| DatasetScriptError should be retried: On dataset mozilla-foundation/common_voice_6_1, we have `DatasetScriptError`, caused by `DatasetGenerationError`, caused by a timeout.
In this case, for config `de`, step `config-parquet-and-info`:
```
{
"error": "An error occurred while generating the dataset",
"cause_exception": "DatasetGenerationError",
"cause_message": "An error occurred while generating the dataset",
"cause_traceback": [
"Traceback (most recent call last):\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/asyn.py\", line 56, in _runner\n result[0] = await coro\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/implementations/http.py\", line 762, in _read\n out = await self.r.content.read(num)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/aiohttp/streams.py\", line 385, in read\n return self._read_nowait(n)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/aiohttp/streams.py\", line 492, in _read_nowait\n self._timer.assert_timeout()\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/aiohttp/helpers.py\", line 709, in assert_timeout\n raise asyncio.TimeoutError from None\n",
"asyncio.exceptions.TimeoutError\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py\", line 342, in read_with_retries\n out = read(*args, **kwargs)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/asyn.py\", line 118, in wrapper\n return sync(self.loop, func, *args, **kwargs)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/asyn.py\", line 101, in sync\n raise FSTimeoutError from return_result\n",
"fsspec.exceptions.FSTimeoutError\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py\", line 1726, in _prepare_split_single\n for key, record in generator:\n",
" File \"/src/services/worker/src/worker/job_runners/config/parquet_and_info.py\", line 804, in wrapped\n for item in generator(*args, **kwargs):\n",
" File \"/tmp/modules-cache/datasets_modules/datasets/mozilla-foundation--common_voice_6_1/d06c81622a9ea58a044f008c934f6c0f864b4051dacba0d920e36160ce362a33/common_voice_6_1.py\", line 256, in _generate_examples\n result[\"audio\"] = {\"path\": path, \"bytes\": f.read()}\n",
" File \"/usr/local/lib/python3.9/tarfile.py\", line 688, in read\n b = self.fileobj.read(length)\n",
" File \"/usr/local/lib/python3.9/tarfile.py\", line 525, in read\n buf = self._read(size)\n",
" File \"/usr/local/lib/python3.9/tarfile.py\", line 543, in _read\n buf = self.fileobj.read(self.bufsize)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/download/streaming_download_manager.py\", line 351, in read_with_retries\n raise ConnectionError(\"Server Disconnected\") from disconnect_err\n",
"ConnectionError: Server Disconnected\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
" File \"/src/services/worker/src/worker/job_manager.py\", line 125, in process\n job_result = self.job_runner.compute()\n",
" File \"/src/services/worker/src/worker/job_runners/config/parquet_and_info.py\", line 1392, in compute\n compute_config_parquet_and_info_response(\n",
" File \"/src/services/worker/src/worker/job_runners/config/parquet_and_info.py\", line 1300, in compute_config_parquet_and_info_response\n parquet_operations, partial = stream_convert_to_parquet(\n",
" File \"/src/services/worker/src/worker/job_runners/config/parquet_and_info.py\", line 895, in stream_convert_to_parquet\n builder._prepare_split(\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py\", line 1605, in _prepare_split\n for job_id, done, content in self._prepare_split_single(\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py\", line 1762, in _prepare_split_single\n raise DatasetGenerationError(\"An error occurred while generating the dataset\") from e\n",
"datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset\n"
]
}
```
I'm not sure if we should retry all the `DatasetScriptError` errors, or raise another error when the dataset could not be loaded due to a timeout error.
| closed | 2024-03-25T16:18:18Z | 2024-08-22T00:29:13Z | 2024-08-22T00:29:13Z | severo |
2,206,134,460 | ComputationError (ZeroDivisionError) on split-descriptive-statistics | For mozilla-foundation/common_voice_6_1 / dv / other, we currently have error `ComputationError` due to `ZeroDivisionError`. cc @polinaeterna
| ComputationError (ZeroDivisionError) on split-descriptive-statistics: For mozilla-foundation/common_voice_6_1 / dv / other, we currently have error `ComputationError` due to `ZeroDivisionError`. cc @polinaeterna
| open | 2024-03-25T16:14:47Z | 2024-03-27T12:57:02Z | null | severo |
2,205,560,686 | Take spawning.io opted out URLs into account in responses? | In particular, for images (assets / cached-assets).
Raised internally: https://huggingface.slack.com/archives/C040J3VPJUR/p1702578556307069?thread_ts=1702577137.311409&cid=C040J3VPJUR | Take spawning.io opted out URLs into account in responses?: In particular, for images (assets / cached-assets).
Raised internally: https://huggingface.slack.com/archives/C040J3VPJUR/p1702578556307069?thread_ts=1702577137.311409&cid=C040J3VPJUR | open | 2024-03-25T11:49:49Z | 2024-03-25T11:49:58Z | null | severo |
2,205,467,740 | Detect when a new commit only changes the dataset card? | Ideally, when we change the contents of the dataset card (not the YAML part), the responses computed by the datasets server should not be recomputed, because they will lead to the same results.
asked here (private slack channel): https://huggingface.slack.com/archives/C04N96UGUFM/p1701862863691809
> Sometimes I don't modify the dataset cards of datasets that have too many configs because I don't want to break the viewer for too long. I think we can detect when the change is only about the content dataset card and the dataset itself didn't change ?
| Detect when a new commit only changes the dataset card?: Ideally, when we change the contents of the dataset card (not the YAML part), the responses computed by the datasets server should not be recomputed, because they will lead to the same results.
asked here (private slack channel): https://huggingface.slack.com/archives/C04N96UGUFM/p1701862863691809
> Sometimes I don't modify the dataset cards of datasets that have too many configs because I don't want to break the viewer for too long. I think we can detect when the change is only about the content dataset card and the dataset itself didn't change ?
| closed | 2024-03-25T10:57:36Z | 2024-06-19T16:02:33Z | 2024-06-19T16:02:33Z | severo |
2,205,461,399 | Increase nginx gateway timeout limit? | https://datasets-server.huggingface.co/search?dataset=wikimedia%2Fwikipedia&config=20231101.en&split=train&offset=0&length=100&query=deep+learning
gives
```
502 Bad Gateway
nginx/1.20.2
```
| Increase nginx gateway timeout limit?: https://datasets-server.huggingface.co/search?dataset=wikimedia%2Fwikipedia&config=20231101.en&split=train&offset=0&length=100&query=deep+learning
gives
```
502 Bad Gateway
nginx/1.20.2
```
| closed | 2024-03-25T10:53:56Z | 2024-03-27T13:57:59Z | 2024-03-27T13:57:59Z | severo |
2,205,449,001 | Replace our custom "stale bot" action with the GitHub's one? | See `actions/stale@v5`
```yaml
name: Mark inactive issues as stale
on:
schedule:
- cron: "30 1 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 30
days-before-issue-close: -1
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for X days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
```
from https://huggingface.slack.com/archives/C493XH5FX/p1701942940388579?thread_ts=1701932787.319359&cid=C493XH5FX | Replace our custom "stale bot" action with the GitHub's one?: See `actions/stale@v5`
```yaml
name: Mark inactive issues as stale
on:
schedule:
- cron: "30 1 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 30
days-before-issue-close: -1
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for X days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
```
from https://huggingface.slack.com/archives/C493XH5FX/p1701942940388579?thread_ts=1701932787.319359&cid=C493XH5FX | open | 2024-03-25T10:48:47Z | 2024-03-25T10:49:02Z | null | severo |
2,203,065,290 | upgrade to pyarrow 15? | we use pyarrow 14 | upgrade to pyarrow 15?: we use pyarrow 14 | closed | 2024-03-22T18:22:04Z | 2024-04-30T16:19:19Z | 2024-04-30T16:19:19Z | severo |
2,203,017,088 | Better error code/message for badly formatted Parquet files | See https://huggingface.co/datasets/PleIAs/Dutch-PD/discussions/1
> Indeed it seems that the Parquet files don't share the same type for the publication_date field: either int64 or string.
Some files like dutch_pd_8.parquet even contain only empty strings as publication_date.
> This is causing an error in the Dataset Viewer because it requires all the files to have the same types.
The current error is:
```json
{
"error": "An error occurred while generating the dataset",
"cause_exception": "DatasetGenerationError",
"cause_message": "An error occurred while generating the dataset",
"cause_traceback": [
"Traceback (most recent call last):\n",
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1264, in compute_config_parquet_and_info_response\n fill_builder_info(builder, hf_endpoint=hf_endpoint, hf_token=hf_token, validate=validate)\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 696, in fill_builder_info\n ) = retry_validate_get_features_num_examples_size_and_compression_ratio(\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 618, in retry_validate_get_features_num_examples_size_and_compression_ratio\n validate(pf)\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 656, in validate\n raise TooBigRowGroupsError(\n',
"worker.job_runners.config.parquet_and_info.TooBigRowGroupsError: Parquet file has too big row groups. First row group has 1474264638 which exceeds the limit of 300000000\n",
"\nDuring handling of the above exception, another exception occurred:\n\n",
"Traceback (most recent call last):\n",
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1973, in _prepare_split_single\n for _, table in generator:\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 805, in wrapped\n for item in generator(*args, **kwargs):\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/parquet/parquet.py", line 96, in _generate_tables\n yield f"{file_idx}_{batch_idx}", self._cast_table(pa_table)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/parquet/parquet.py", line 74, in _cast_table\n pa_table = table_cast(pa_table, self.info.features.arrow_schema)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in table_cast\n return cast_table_to_schema(table, schema)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2199, in cast_table_to_schema\n arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2199, in <listcomp>\n arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1793, in wrapper\n return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1793, in <listcomp>\n return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2065, in cast_array_to_feature\n return array_cast(array, feature(), allow_number_to_str=allow_number_to_str)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1795, in wrapper\n return func(array, *args, **kwargs)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1937, in array_cast\n return array.cast(pa_type)\n',
' File "pyarrow/array.pxi", line 997, in pyarrow.lib.Array.cast\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/compute.py", line 404, in cast\n return call_function("cast", [arr], options, memory_pool)\n',
' File "pyarrow/_compute.pyx", line 590, in pyarrow._compute.call_function\n',
' File "pyarrow/_compute.pyx", line 385, in pyarrow._compute.Function.call\n',
' File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status\n',
' File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status\n',
"pyarrow.lib.ArrowInvalid: Failed to parse string: '' as a scalar of type int64\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
' File "/src/services/worker/src/worker/job_manager.py", line 125, in process\n job_result = self.job_runner.compute()\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1393, in compute\n compute_config_parquet_and_info_response(\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1277, in compute_config_parquet_and_info_response\n parquet_operations, partial = stream_convert_to_parquet(\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 896, in stream_convert_to_parquet\n builder._prepare_split(\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1860, in _prepare_split\n for job_id, done, content in self._prepare_split_single(\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2016, in _prepare_split_single\n raise DatasetGenerationError("An error occurred while generating the dataset") from e\n',
"datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset\n",
],
}
``` | Better error code/message for badly formatted Parquet files: See https://huggingface.co/datasets/PleIAs/Dutch-PD/discussions/1
> Indeed it seems that the Parquet files don't share the same type for the publication_date field: either int64 or string.
Some files like dutch_pd_8.parquet even contain only empty strings as publication_date.
> This is causing an error in the Dataset Viewer because it requires all the files to have the same types.
The current error is:
```json
{
"error": "An error occurred while generating the dataset",
"cause_exception": "DatasetGenerationError",
"cause_message": "An error occurred while generating the dataset",
"cause_traceback": [
"Traceback (most recent call last):\n",
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1264, in compute_config_parquet_and_info_response\n fill_builder_info(builder, hf_endpoint=hf_endpoint, hf_token=hf_token, validate=validate)\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 696, in fill_builder_info\n ) = retry_validate_get_features_num_examples_size_and_compression_ratio(\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 618, in retry_validate_get_features_num_examples_size_and_compression_ratio\n validate(pf)\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 656, in validate\n raise TooBigRowGroupsError(\n',
"worker.job_runners.config.parquet_and_info.TooBigRowGroupsError: Parquet file has too big row groups. First row group has 1474264638 which exceeds the limit of 300000000\n",
"\nDuring handling of the above exception, another exception occurred:\n\n",
"Traceback (most recent call last):\n",
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1973, in _prepare_split_single\n for _, table in generator:\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 805, in wrapped\n for item in generator(*args, **kwargs):\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/parquet/parquet.py", line 96, in _generate_tables\n yield f"{file_idx}_{batch_idx}", self._cast_table(pa_table)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/parquet/parquet.py", line 74, in _cast_table\n pa_table = table_cast(pa_table, self.info.features.arrow_schema)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in table_cast\n return cast_table_to_schema(table, schema)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2199, in cast_table_to_schema\n arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2199, in <listcomp>\n arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1793, in wrapper\n return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1793, in <listcomp>\n return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2065, in cast_array_to_feature\n return array_cast(array, feature(), allow_number_to_str=allow_number_to_str)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1795, in wrapper\n return func(array, *args, **kwargs)\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1937, in array_cast\n return array.cast(pa_type)\n',
' File "pyarrow/array.pxi", line 997, in pyarrow.lib.Array.cast\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/compute.py", line 404, in cast\n return call_function("cast", [arr], options, memory_pool)\n',
' File "pyarrow/_compute.pyx", line 590, in pyarrow._compute.call_function\n',
' File "pyarrow/_compute.pyx", line 385, in pyarrow._compute.Function.call\n',
' File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status\n',
' File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status\n',
"pyarrow.lib.ArrowInvalid: Failed to parse string: '' as a scalar of type int64\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
' File "/src/services/worker/src/worker/job_manager.py", line 125, in process\n job_result = self.job_runner.compute()\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1393, in compute\n compute_config_parquet_and_info_response(\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1277, in compute_config_parquet_and_info_response\n parquet_operations, partial = stream_convert_to_parquet(\n',
' File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 896, in stream_convert_to_parquet\n builder._prepare_split(\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1860, in _prepare_split\n for job_id, done, content in self._prepare_split_single(\n',
' File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2016, in _prepare_split_single\n raise DatasetGenerationError("An error occurred while generating the dataset") from e\n',
"datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset\n",
],
}
``` | open | 2024-03-22T17:52:20Z | 2024-03-22T17:53:36Z | null | severo |
2,202,703,241 | remove fields from croissant once it's provided by the Hub API | Once the Hub provides an API to access the croissant metadata (https://github.com/huggingface/moon-landing/pull/9106, internal), we will be able to remove the following fields from the croissant response:
- `name`
- `description`
- `license`
- `url`
Also: we could provide `identifier` (DOI) from the Hub API, and remove it here.
Finally: it might be better to rename the datasets server endpoint /croissant-fragment, or something that indicates that it's a partial answer, not the full specification. The endpoint will only provide:
```json
{
"@context": context,
"@type": "sc:Dataset",
"conformsTo": "http://mlcommons.org/croissant/1.0",
"distribution": distribution,
"recordSet": record_set
}
``` | remove fields from croissant once it's provided by the Hub API: Once the Hub provides an API to access the croissant metadata (https://github.com/huggingface/moon-landing/pull/9106, internal), we will be able to remove the following fields from the croissant response:
- `name`
- `description`
- `license`
- `url`
Also: we could provide `identifier` (DOI) from the Hub API, and remove it here.
Finally: it might be better to rename the datasets server endpoint /croissant-fragment, or something that indicates that it's a partial answer, not the full specification. The endpoint will only provide:
```json
{
"@context": context,
"@type": "sc:Dataset",
"conformsTo": "http://mlcommons.org/croissant/1.0",
"distribution": distribution,
"recordSet": record_set
}
``` | closed | 2024-03-22T14:59:16Z | 2024-03-28T10:25:13Z | 2024-03-28T10:25:13Z | severo |
2,202,600,045 | try to fix env variable | While deploying the search component, it throws error:
cannot convert int64 to string | try to fix env variable: While deploying the search component, it throws error:
cannot convert int64 to string | closed | 2024-03-22T14:14:51Z | 2024-03-22T14:26:10Z | 2024-03-22T14:26:10Z | AndreaFrancis |
2,202,281,646 | adapt JWT verification to new field | The JWT now contains `permissions: {"repo.content.read": true}` instead
of the (soon deprecated) ``read: true`.
fixes https://github.com/huggingface/datasets-server/issues/2620. | adapt JWT verification to new field: The JWT now contains `permissions: {"repo.content.read": true}` instead
of the (soon deprecated) ``read: true`.
fixes https://github.com/huggingface/datasets-server/issues/2620. | closed | 2024-03-22T11:26:42Z | 2024-03-26T13:54:25Z | 2024-03-26T13:54:24Z | severo |
2,200,407,122 | Use pandas for single files datasets | Pandas only supports paths without `*`.
I fixed an issue to get the full file name from single-file datasets YAML metadata containing the `data_files` with `*`
close https://github.com/huggingface/datasets-server/issues/2614 | Use pandas for single files datasets: Pandas only supports paths without `*`.
I fixed an issue to get the full file name from single-file datasets YAML metadata containing the `data_files` with `*`
close https://github.com/huggingface/datasets-server/issues/2614 | closed | 2024-03-21T14:51:28Z | 2024-03-21T19:26:02Z | 2024-03-21T19:26:01Z | lhoestq |
2,200,183,607 | Check `permissions` instead of `read` in JWT | Here:
https://github.com/huggingface/datasets-server/blob/dd2a81568b2334f69a005f2c1dfa224ad2024e9f/libs/libapi/src/libapi/jwt_token.py#L305-L307
Once https://github.com/huggingface/moon-landing/pull/9306 (internal) is deployed. The new field is:
```
permissions: {"repo.content.read": true}
```
Note that meanwhile, the `read` field will still be provided. | Check `permissions` instead of `read` in JWT: Here:
https://github.com/huggingface/datasets-server/blob/dd2a81568b2334f69a005f2c1dfa224ad2024e9f/libs/libapi/src/libapi/jwt_token.py#L305-L307
Once https://github.com/huggingface/moon-landing/pull/9306 (internal) is deployed. The new field is:
```
permissions: {"repo.content.read": true}
```
Note that meanwhile, the `read` field will still be provided. | closed | 2024-03-21T13:20:50Z | 2024-03-26T13:54:26Z | 2024-03-26T13:54:26Z | severo |
2,198,764,953 | Include authentication information in /compatible-libraries code | If a dataset is private or gated, we should include authentication in the loading code snippet.
Note that we don't store in datasets-server if a dataset is gated or private. We could, see https://github.com/huggingface/datasets-server/issues/2208. Or we could check the status from the job runner | Include authentication information in /compatible-libraries code: If a dataset is private or gated, we should include authentication in the loading code snippet.
Note that we don't store in datasets-server if a dataset is gated or private. We could, see https://github.com/huggingface/datasets-server/issues/2208. Or we could check the status from the job runner | closed | 2024-03-20T23:17:21Z | 2024-03-27T10:43:54Z | 2024-03-27T10:43:54Z | severo |
2,198,557,584 | In dataset-hub-cache, only include fields that will be stored by the Hub | Possibly `compatible_libraries` will be removed or simplified
https://github.com/huggingface/datasets-server/pull/2610#discussion_r1531786545 | In dataset-hub-cache, only include fields that will be stored by the Hub: Possibly `compatible_libraries` will be removed or simplified
https://github.com/huggingface/datasets-server/pull/2610#discussion_r1531786545 | closed | 2024-03-20T20:59:41Z | 2024-03-21T10:37:43Z | 2024-03-21T10:37:43Z | severo |
2,198,231,639 | Add formats tags | Added `formats: list[str]` to "hub-cache". It is computed in "compatible-libraries" since compatibilities depend on the format.
Possibles values are
- csv
- json
- parquet
- text
- imagefolder
- audiofolder
Mentioned in https://github.com/huggingface/datasets-server/issues/2455
I chose to have it as a list for simplicity, but lmk if you think we should set it to `format: Optional[str]` instead
includes a minor change: updated the libraries order | Add formats tags: Added `formats: list[str]` to "hub-cache". It is computed in "compatible-libraries" since compatibilities depend on the format.
Possibles values are
- csv
- json
- parquet
- text
- imagefolder
- audiofolder
Mentioned in https://github.com/huggingface/datasets-server/issues/2455
I chose to have it as a list for simplicity, but lmk if you think we should set it to `format: Optional[str]` instead
includes a minor change: updated the libraries order | closed | 2024-03-20T18:12:25Z | 2024-03-21T14:07:08Z | 2024-03-21T13:58:48Z | lhoestq |
2,198,014,467 | Bump black from 22.12.0 to 24.3.0 in /docs | Bumps [black](https://github.com/psf/black) from 22.12.0 to 24.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p>
<blockquote>
<h2>24.3.0</h2>
<h3>Highlights</h3>
<p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p>
<p>This release also fixes a bug in Black's AST safety check that allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p>
<h3>Stable style</h3>
<ul>
<li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions
of Black would incorrectly format the contents of certain unusual f-strings containing
nested strings with the same quote type. Now, Black will crash on such strings until
support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li>Fix a bug where line-ranges exceeding the last code line would not work as expected
(<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Fix catastrophic performance on docstrings that contain large numbers of leading tab
characters. This fixes
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.
(<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
</ul>
<h2>24.2.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fixed a bug where comments where mistakenly removed along with redundant parentheses
(<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Move the <code>hug_parens_with_braces_and_square_brackets</code> feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (<a href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li>
<li>Fixed a bug where base expressions caused inconsistent formatting of ** in tenary
expression (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Checking for newline before adding one on docstring that is almost at the line limit
(<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li>
</ul>
<h3>Configuration</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p>
<blockquote>
<h2>24.3.0</h2>
<h3>Highlights</h3>
<p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p>
<p>This release also fixes a bug in Black's AST safety check that allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p>
<h3>Stable style</h3>
<ul>
<li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions
of Black would incorrectly format the contents of certain unusual f-strings containing
nested strings with the same quote type. Now, Black will crash on such strings until
support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li>Fix a bug where line-ranges exceeding the last code line would not work as expected
(<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Fix catastrophic performance on docstrings that contain large numbers of leading tab
characters. This fixes
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.
(<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
</ul>
<h2>24.2.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fixed a bug where comments where mistakenly removed along with redundant parentheses
(<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Move the <code>hug_parens_with_braces_and_square_brackets</code> feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (<a href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li>
<li>Fixed a bug where base expressions caused inconsistent formatting of ** in tenary
expression (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Checking for newline before adding one on docstring that is almost at the line limit
(<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li>
<li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
<li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
<li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li>
<li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
<li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li>
<li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li>
<li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/psf/black/compare/22.12.0...24.3.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=22.12.0&new-version=24.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/huggingface/datasets-server/network/alerts).
</details> | Bump black from 22.12.0 to 24.3.0 in /docs: Bumps [black](https://github.com/psf/black) from 22.12.0 to 24.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p>
<blockquote>
<h2>24.3.0</h2>
<h3>Highlights</h3>
<p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p>
<p>This release also fixes a bug in Black's AST safety check that allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p>
<h3>Stable style</h3>
<ul>
<li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions
of Black would incorrectly format the contents of certain unusual f-strings containing
nested strings with the same quote type. Now, Black will crash on such strings until
support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li>Fix a bug where line-ranges exceeding the last code line would not work as expected
(<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Fix catastrophic performance on docstrings that contain large numbers of leading tab
characters. This fixes
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.
(<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
</ul>
<h2>24.2.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fixed a bug where comments where mistakenly removed along with redundant parentheses
(<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Move the <code>hug_parens_with_braces_and_square_brackets</code> feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (<a href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li>
<li>Fixed a bug where base expressions caused inconsistent formatting of ** in tenary
expression (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Checking for newline before adding one on docstring that is almost at the line limit
(<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li>
</ul>
<h3>Configuration</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p>
<blockquote>
<h2>24.3.0</h2>
<h3>Highlights</h3>
<p>This release is a milestone: it fixes Black's first CVE security vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p>
<p>This release also fixes a bug in Black's AST safety check that allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and higher.</p>
<h3>Stable style</h3>
<ul>
<li>Don't move comments along with delimiters, which could cause crashes (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li>Strengthen AST safety check to catch more unsafe changes to strings. Previous versions
of Black would incorrectly format the contents of certain unusual f-strings containing
nested strings with the same quote type. Now, Black will crash on such strings until
support for the new f-string syntax is implemented. (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li>Fix a bug where line-ranges exceeding the last code line would not work as expected
(<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Fix catastrophic performance on docstrings that contain large numbers of leading tab
characters. This fixes
<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.
(<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Note what happens when <code>--check</code> is used with <code>--quiet</code> (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
</ul>
<h2>24.2.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fixed a bug where comments where mistakenly removed along with redundant parentheses
(<a href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Move the <code>hug_parens_with_braces_and_square_brackets</code> feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (<a href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li>
<li>Fixed a bug where base expressions caused inconsistent formatting of ** in tenary
expression (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Checking for newline before adding one on docstring that is almost at the line limit
(<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Remove redundant parentheses in <code>case</code> statement <code>if</code> guards (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><code>552baf8</code></a> Prepare release 24.3.0 (<a href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li>
<li><a href="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><code>f000936</code></a> Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
<li><a href="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><code>7b5a657</code></a> Fix --line-ranges behavior when ranges are at EOF (<a href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
<li><a href="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><code>1abcffc</code></a> Use regex where we ignore case on windows (<a href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li>
<li><a href="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><code>719e674</code></a> Fix 4227: Improve documentation for --quiet --check (<a href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
<li><a href="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><code>e5510af</code></a> update plugin url for Thonny (<a href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li>
<li><a href="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><code>6af7d11</code></a> Fix AST safety check false negative (<a href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li><a href="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><code>f03ee11</code></a> Ensure <code>blib2to3.pygram</code> is initialized before use (<a href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li>
<li><a href="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><code>e4bfedb</code></a> fix: Don't move comments while splitting delimiters (<a href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li><a href="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><code>d0287e1</code></a> Make trailing comma logic more concise (<a href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/psf/black/compare/22.12.0...24.3.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=22.12.0&new-version=24.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/huggingface/datasets-server/network/alerts).
</details> | closed | 2024-03-20T16:43:38Z | 2024-03-26T13:12:28Z | 2024-03-26T13:12:27Z | dependabot[bot] |
2,197,400,313 | Add hf transfer | Fix for https://github.com/huggingface/datasets-server/issues/2525 | Add hf transfer: Fix for https://github.com/huggingface/datasets-server/issues/2525 | closed | 2024-03-20T12:21:43Z | 2024-03-22T14:00:16Z | 2024-03-22T14:00:16Z | AndreaFrancis |
2,197,261,466 | Compatible libraries: Dask shown instead of Pandas for some single file datasets | e.g.
https://datasets-server.huggingface.co/compatible-libraries?dataset=gsm8k
https://datasets-server.huggingface.co/compatible-libraries?dataset=rajpurkar/squad
but for some reason it's fine for
https://datasets-server.huggingface.co/compatible-libraries?dataset=fka/awesome-chatgpt-prompts
I think it's because gsm8k and rajpurkar/squad have `configs` + `data_files` defined in the README.md using a glob pattern | Compatible libraries: Dask shown instead of Pandas for some single file datasets: e.g.
https://datasets-server.huggingface.co/compatible-libraries?dataset=gsm8k
https://datasets-server.huggingface.co/compatible-libraries?dataset=rajpurkar/squad
but for some reason it's fine for
https://datasets-server.huggingface.co/compatible-libraries?dataset=fka/awesome-chatgpt-prompts
I think it's because gsm8k and rajpurkar/squad have `configs` + `data_files` defined in the README.md using a glob pattern | closed | 2024-03-20T11:06:44Z | 2024-03-21T19:26:02Z | 2024-03-21T19:26:02Z | lhoestq |
2,195,913,334 | Support large_string as indexable column in FTS? | I've seen there are some datasets like [afg1/litscan-epmc-subset](https://huggingface.co/datasets/afg1/litscan-epmc-subset) and [baber/USPTO](https://huggingface.co/datasets/baber/USPTO) that have large_strings but does not support FTS because of this condition https://github.com/huggingface/datasets-server/blob/main/services/worker/src/worker/job_runners/split/duckdb_index.py#L77
Should we add large_string as part of the condition? | Support large_string as indexable column in FTS?: I've seen there are some datasets like [afg1/litscan-epmc-subset](https://huggingface.co/datasets/afg1/litscan-epmc-subset) and [baber/USPTO](https://huggingface.co/datasets/baber/USPTO) that have large_strings but does not support FTS because of this condition https://github.com/huggingface/datasets-server/blob/main/services/worker/src/worker/job_runners/split/duckdb_index.py#L77
Should we add large_string as part of the condition? | closed | 2024-03-19T20:14:59Z | 2024-04-30T19:34:45Z | 2024-04-30T19:34:45Z | AndreaFrancis |
2,195,541,282 | Stats for audio | ~~i will maybe create a separate worker for media features (audio and image), haven't decided yet~~
In the end I didn't create a new worker / a new level (feature-type) because it's still not needed for our datasets sizes, see https://github.com/huggingface/datasets-server/pull/2612#issuecomment-2015482880
Failed e2e tests build seem to be unrelated to this PR (weird though).
**didn't i forget anything?** | Stats for audio: ~~i will maybe create a separate worker for media features (audio and image), haven't decided yet~~
In the end I didn't create a new worker / a new level (feature-type) because it's still not needed for our datasets sizes, see https://github.com/huggingface/datasets-server/pull/2612#issuecomment-2015482880
Failed e2e tests build seem to be unrelated to this PR (weird though).
**didn't i forget anything?** | closed | 2024-03-19T17:17:41Z | 2024-03-27T12:47:14Z | 2024-03-27T12:47:13Z | polinaeterna |
2,195,535,326 | Fix ExternalServerError for None URLs in split-opt-in-out-scan | Fix for https://github.com/huggingface/datasets-server/issues/2608
Many URLs are None and the job runner failed when doing the join operation at https://github.com/huggingface/datasets-server/blob/main/services/worker/src/worker/job_runners/split/opt_in_out_urls_scan_from_streaming.py#L38 | Fix ExternalServerError for None URLs in split-opt-in-out-scan: Fix for https://github.com/huggingface/datasets-server/issues/2608
Many URLs are None and the job runner failed when doing the join operation at https://github.com/huggingface/datasets-server/blob/main/services/worker/src/worker/job_runners/split/opt_in_out_urls_scan_from_streaming.py#L38 | closed | 2024-03-19T17:15:08Z | 2024-03-20T15:03:31Z | 2024-03-20T14:26:24Z | AndreaFrancis |
2,195,274,344 | Fix hub cache libraries | Follows the changes in https://github.com/huggingface/datasets-server/pull/2454
The `dataset-hub-cache` should have `libraries` as a list of strings, not a list of CompatibleLibrary objects | Fix hub cache libraries: Follows the changes in https://github.com/huggingface/datasets-server/pull/2454
The `dataset-hub-cache` should have `libraries` as a list of strings, not a list of CompatibleLibrary objects | closed | 2024-03-19T15:22:50Z | 2024-03-21T10:36:05Z | 2024-03-19T15:47:10Z | lhoestq |
2,194,896,122 | Updating Croissant field names to include RecordSet names. | null | Updating Croissant field names to include RecordSet names.: | closed | 2024-03-19T12:54:02Z | 2024-03-20T13:33:11Z | 2024-03-20T10:12:04Z | ccl-core |
2,194,581,729 | Systematic ExternalServerError on HackerNoon/tech-company-news-data-dump | On step split-opt-in-out-urls-scan, we always get:
```
{"error": "Error when trying to connect to https://opts-api.spawningaiapi.com/api/v2/query/urls"}
```
It seems to be the case only for this dataset (or some other ones).
cc @AndreaFrancis for viz | Systematic ExternalServerError on HackerNoon/tech-company-news-data-dump: On step split-opt-in-out-urls-scan, we always get:
```
{"error": "Error when trying to connect to https://opts-api.spawningaiapi.com/api/v2/query/urls"}
```
It seems to be the case only for this dataset (or some other ones).
cc @AndreaFrancis for viz | closed | 2024-03-19T10:28:40Z | 2024-03-20T17:26:51Z | 2024-03-20T17:26:50Z | severo |
2,193,441,999 | `dataset-compatible-libraries` gives an UnexpectedError for some datasets | On https://huggingface.co/datasets/HackerNoon/tech-company-news-data-dump, the step `dataset-compatible-libraries` gives:
```json
{
"error": "Dataset at 'hf://datasets/HackerNoon/tech-company-news-data-dump' doesn't contain data files matching the patterns for config 'default', check `data_files` and `data_fir` parameters in the `configs` YAML field in README.md. ",
"cause_exception": "EmptyDatasetError",
"cause_message": "Dataset at 'hf://datasets/HackerNoon/tech-company-news-data-dump' doesn't contain data files matching the patterns for config 'default', check `data_files` and `data_fir` parameters in the `configs` YAML field in README.md. ",
"cause_traceback": [
"Traceback (most recent call last):\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py\", line 622, in create_builder_configs_from_metadata_configs\n else get_data_patterns(config_base_path)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/data_files.py\", line 485, in get_data_patterns\n raise EmptyDatasetError(f\"The directory at {base_path} doesn't contain any data files\") from None\n",
"datasets.data_files.EmptyDatasetError: The directory at hf://datasets/HackerNoon/tech-company-news-data-dump doesn't contain any data files\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
" File \"/src/services/worker/src/worker/job_manager.py\", line 125, in process\n job_result = self.job_runner.compute()\n",
" File \"/src/services/worker/src/worker/job_runners/dataset/compatible_libraries.py\", line 632, in compute\n response_content = compute_compatible_libraries_response(\n",
" File \"/src/services/worker/src/worker/job_runners/dataset/compatible_libraries.py\", line 619, in compute_compatible_libraries_response\n compatible_library = get_compatible_library_for_builder[builder_name](dataset, hf_token)\n",
" File \"/src/services/worker/src/worker/job_runners/dataset/compatible_libraries.py\", line 416, in get_compatible_libraries_for_csv\n builder_configs = get_builder_configs_with_simplified_data_files(dataset, module_name=\"csv\", hf_token=hf_token)\n",
" File \"/src/services/worker/src/worker/job_runners/dataset/compatible_libraries.py\", line 107, in get_builder_configs_with_simplified_data_files\n builder_configs, _ = create_builder_configs_from_metadata_configs(\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py\", line 629, in create_builder_configs_from_metadata_configs\n raise EmptyDatasetError(\n",
"datasets.data_files.EmptyDatasetError: Dataset at 'hf://datasets/HackerNoon/tech-company-news-data-dump' doesn't contain data files matching the patterns for config 'default', check `data_files` and `data_fir` parameters in the `configs` YAML field in README.md. \n"
]
}
```
Some ideas to explore: it's a gated dataset, and also it's a partial parquet export. | `dataset-compatible-libraries` gives an UnexpectedError for some datasets: On https://huggingface.co/datasets/HackerNoon/tech-company-news-data-dump, the step `dataset-compatible-libraries` gives:
```json
{
"error": "Dataset at 'hf://datasets/HackerNoon/tech-company-news-data-dump' doesn't contain data files matching the patterns for config 'default', check `data_files` and `data_fir` parameters in the `configs` YAML field in README.md. ",
"cause_exception": "EmptyDatasetError",
"cause_message": "Dataset at 'hf://datasets/HackerNoon/tech-company-news-data-dump' doesn't contain data files matching the patterns for config 'default', check `data_files` and `data_fir` parameters in the `configs` YAML field in README.md. ",
"cause_traceback": [
"Traceback (most recent call last):\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py\", line 622, in create_builder_configs_from_metadata_configs\n else get_data_patterns(config_base_path)\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/data_files.py\", line 485, in get_data_patterns\n raise EmptyDatasetError(f\"The directory at {base_path} doesn't contain any data files\") from None\n",
"datasets.data_files.EmptyDatasetError: The directory at hf://datasets/HackerNoon/tech-company-news-data-dump doesn't contain any data files\n",
"\nThe above exception was the direct cause of the following exception:\n\n",
"Traceback (most recent call last):\n",
" File \"/src/services/worker/src/worker/job_manager.py\", line 125, in process\n job_result = self.job_runner.compute()\n",
" File \"/src/services/worker/src/worker/job_runners/dataset/compatible_libraries.py\", line 632, in compute\n response_content = compute_compatible_libraries_response(\n",
" File \"/src/services/worker/src/worker/job_runners/dataset/compatible_libraries.py\", line 619, in compute_compatible_libraries_response\n compatible_library = get_compatible_library_for_builder[builder_name](dataset, hf_token)\n",
" File \"/src/services/worker/src/worker/job_runners/dataset/compatible_libraries.py\", line 416, in get_compatible_libraries_for_csv\n builder_configs = get_builder_configs_with_simplified_data_files(dataset, module_name=\"csv\", hf_token=hf_token)\n",
" File \"/src/services/worker/src/worker/job_runners/dataset/compatible_libraries.py\", line 107, in get_builder_configs_with_simplified_data_files\n builder_configs, _ = create_builder_configs_from_metadata_configs(\n",
" File \"/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py\", line 629, in create_builder_configs_from_metadata_configs\n raise EmptyDatasetError(\n",
"datasets.data_files.EmptyDatasetError: Dataset at 'hf://datasets/HackerNoon/tech-company-news-data-dump' doesn't contain data files matching the patterns for config 'default', check `data_files` and `data_fir` parameters in the `configs` YAML field in README.md. \n"
]
}
```
Some ideas to explore: it's a gated dataset, and also it's a partial parquet export. | closed | 2024-03-18T21:57:23Z | 2024-05-14T15:02:50Z | 2024-05-14T15:02:49Z | severo |
2,193,016,006 | Add Modalities tags | Add "image", "audio" and "text". Later we can think about adding "tabular" (?) or more exotic ones like
TODO
- [x] add to hub-cache
- [x] tests | Add Modalities tags: Add "image", "audio" and "text". Later we can think about adding "tabular" (?) or more exotic ones like
TODO
- [x] add to hub-cache
- [x] tests | closed | 2024-03-18T18:53:26Z | 2024-03-20T17:59:49Z | 2024-03-20T17:59:48Z | lhoestq |
2,192,998,034 | Support exif images | The EXIF orientation tag is currently ignored when displaying images (see https://huggingface.co/datasets/mariosasko/exif_image).
This PR should fix this.
| Support exif images: The EXIF orientation tag is currently ignored when displaying images (see https://huggingface.co/datasets/mariosasko/exif_image).
This PR should fix this.
| closed | 2024-03-18T18:45:44Z | 2024-03-19T10:30:22Z | 2024-03-18T22:01:47Z | mariosasko |
2,192,730,074 | Upgrade to duckdb 0.10.1 | https://github.com/duckdb/duckdb/releases/tag/v0.10.1 | Upgrade to duckdb 0.10.1: https://github.com/duckdb/duckdb/releases/tag/v0.10.1 | closed | 2024-03-18T16:43:05Z | 2024-04-12T14:11:09Z | 2024-04-12T14:11:09Z | severo |
2,189,021,537 | change values for autoscaling | - increase threshold for medium and light workers, because it's pretty common to have a burst of 50 jobs
- reduce the max number of mium and heavy workers because it's not possible currently, with 50 nodes, to get 100 medium workers and 50 heavy workers at the same time | change values for autoscaling: - increase threshold for medium and light workers, because it's pretty common to have a burst of 50 jobs
- reduce the max number of mium and heavy workers because it's not possible currently, with 50 nodes, to get 100 medium workers and 50 heavy workers at the same time | closed | 2024-03-15T16:22:09Z | 2024-03-15T16:26:43Z | 2024-03-15T16:26:42Z | severo |
2,188,554,099 | Compute stats for Sequence feature only if it's underlying schema is List | Should fix https://huggingface.co/datasets/OpenAssistant/oasst1 (see "emojis" and "label" columns).
When sequence feature is dict of lists (not list of dicts), compute lengths over first subfield values. | Compute stats for Sequence feature only if it's underlying schema is List: Should fix https://huggingface.co/datasets/OpenAssistant/oasst1 (see "emojis" and "label" columns).
When sequence feature is dict of lists (not list of dicts), compute lengths over first subfield values. | closed | 2024-03-15T13:45:48Z | 2024-03-22T11:01:05Z | 2024-03-22T11:01:04Z | polinaeterna |
2,188,034,401 | Catch exception DatasetGenerationCastError | See https://huggingface.co/datasets/ykcajiad/CS162/discussions/1
The JSONL file is malformed, and `datasets` raises `DatasetGenerationCastError`, but we don't catch it, resulting in an `UnexpectedError`. We should catch it and pass the details to the user so they can fix the data.
```
An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 1 missing columns ({'label'}) This happened while the json dataset builder was generating data using hf://datasets/ykcajiad/CS162/test_claims.jsonl (at revision fe309dd1a7a6627ce93d14d3c32dff5d341291b3) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Error code: UnexpectedError
``` | Catch exception DatasetGenerationCastError: See https://huggingface.co/datasets/ykcajiad/CS162/discussions/1
The JSONL file is malformed, and `datasets` raises `DatasetGenerationCastError`, but we don't catch it, resulting in an `UnexpectedError`. We should catch it and pass the details to the user so they can fix the data.
```
An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 1 missing columns ({'label'}) This happened while the json dataset builder was generating data using hf://datasets/ykcajiad/CS162/test_claims.jsonl (at revision fe309dd1a7a6627ce93d14d3c32dff5d341291b3) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Error code: UnexpectedError
``` | closed | 2024-03-15T09:03:47Z | 2024-05-13T18:03:44Z | 2024-05-13T18:03:44Z | severo |
2,187,371,624 | move backfill cron job time | null | move backfill cron job time: | closed | 2024-03-14T22:27:01Z | 2024-03-14T22:27:34Z | 2024-03-14T22:27:06Z | severo |
2,187,365,656 | add missing dependency between steps | follows #2577
also: add two missing tests | add missing dependency between steps: follows #2577
also: add two missing tests | closed | 2024-03-14T22:22:07Z | 2024-03-15T11:01:03Z | 2024-03-14T22:25:42Z | severo |
2,187,282,891 | set statistics as required in response to /is-valid | all the cache entries have been updated | set statistics as required in response to /is-valid: all the cache entries have been updated | closed | 2024-03-14T21:17:07Z | 2024-03-14T21:20:23Z | 2024-03-14T21:17:11Z | severo |
2,186,874,941 | Add retry when loading dataset builder | Related to https://github.com/huggingface/datasets-server/issues/1443 for `config-parquet-and-info`, we have 1065 entries with HfHubHTTPError UnexpectedError, we should retry because sometimes it is not a final error but just an issue with Hub's connectivity.
| Add retry when loading dataset builder: Related to https://github.com/huggingface/datasets-server/issues/1443 for `config-parquet-and-info`, we have 1065 entries with HfHubHTTPError UnexpectedError, we should retry because sometimes it is not a final error but just an issue with Hub's connectivity.
| closed | 2024-03-14T17:13:25Z | 2024-03-14T19:33:00Z | 2024-03-14T19:32:59Z | AndreaFrancis |
2,186,870,374 | Delete obsolete cache entries during backfill | The backfill does not delete all the cache entries it should.
I found this looking at the `split-is-valid` entries: a lot of cache entries don't have the last version (4), eg:
```
{ _id: ObjectId("64d2bb292727fd84d43f6777"),
config: 'default',
dataset: 'chenyuxuan/wikigold',
kind: 'split-is-valid',
split: 'train',
content: { viewer: false, preview: true, search: true },
dataset_git_revision: '535f41fa437ea5730554b368b8df71eb7d38bd7c',
details: null,
error_code: null,
http_status: 200,
job_runner_version: 1,
progress: 1,
updated_at: 2023-09-05T00:53:48.718Z,
failed_runs: 0 }
```
or
```
{ _id: ObjectId("64d2c0702727fd84d45a6577"),
config: 'hover',
dataset: 'copenlu/sufficient_facts',
kind: 'split-is-valid',
split: 'test',
content: { viewer: false, preview: true, search: true },
dataset_git_revision: '58d5b361e47265cf85f2334800c66d9bb485029e',
details: null,
error_code: null,
http_status: 200,
job_runner_version: 1,
progress: 1,
updated_at: 2023-09-05T00:57:57.308Z,
failed_runs: 0 }
```
It turns out that, for some reason, the list of splits for the corresponding config could not be obtained.
In this case, we should delete these "unlinked" entries. | Delete obsolete cache entries during backfill: The backfill does not delete all the cache entries it should.
I found this looking at the `split-is-valid` entries: a lot of cache entries don't have the last version (4), eg:
```
{ _id: ObjectId("64d2bb292727fd84d43f6777"),
config: 'default',
dataset: 'chenyuxuan/wikigold',
kind: 'split-is-valid',
split: 'train',
content: { viewer: false, preview: true, search: true },
dataset_git_revision: '535f41fa437ea5730554b368b8df71eb7d38bd7c',
details: null,
error_code: null,
http_status: 200,
job_runner_version: 1,
progress: 1,
updated_at: 2023-09-05T00:53:48.718Z,
failed_runs: 0 }
```
or
```
{ _id: ObjectId("64d2c0702727fd84d45a6577"),
config: 'hover',
dataset: 'copenlu/sufficient_facts',
kind: 'split-is-valid',
split: 'test',
content: { viewer: false, preview: true, search: true },
dataset_git_revision: '58d5b361e47265cf85f2334800c66d9bb485029e',
details: null,
error_code: null,
http_status: 200,
job_runner_version: 1,
progress: 1,
updated_at: 2023-09-05T00:57:57.308Z,
failed_runs: 0 }
```
It turns out that, for some reason, the list of splits for the corresponding config could not be obtained.
In this case, we should delete these "unlinked" entries. | open | 2024-03-14T17:10:41Z | 2024-03-14T17:10:49Z | null | severo |
2,186,730,005 | Fix cell truncation | We were using the same `list` for all the cells. So if a cell has truncated columns then all the cells end up with the same value for `truncated_cells`
Close https://github.com/huggingface/datasets-server/issues/2586 | Fix cell truncation: We were using the same `list` for all the cells. So if a cell has truncated columns then all the cells end up with the same value for `truncated_cells`
Close https://github.com/huggingface/datasets-server/issues/2586 | closed | 2024-03-14T15:59:09Z | 2024-03-15T11:22:22Z | 2024-03-15T11:00:03Z | lhoestq |
2,186,574,675 | Fix openapi deatils | - fix assets/cached-assets urls in openapi spec
- fix vscode extension | Fix openapi deatils: - fix assets/cached-assets urls in openapi spec
- fix vscode extension | closed | 2024-03-14T14:50:19Z | 2024-03-14T15:12:56Z | 2024-03-14T15:12:55Z | severo |
2,186,503,761 | Improve search functionality | Given that we have already implemented the search feature on the API and hub, let's discuss here what improvements can be made.
Some suggestions:
- [ ] Investigate if it is really used (Maybe it is needed a re design of the idea)
- [ ] Investigate execution time | Improve search functionality: Given that we have already implemented the search feature on the API and hub, let's discuss here what improvements can be made.
Some suggestions:
- [ ] Investigate if it is really used (Maybe it is needed a re design of the idea)
- [ ] Investigate execution time | closed | 2024-03-14T14:18:58Z | 2024-07-30T20:11:27Z | 2024-07-30T20:11:27Z | AndreaFrancis |
2,186,354,662 | Force backfill | null | Force backfill: | closed | 2024-03-14T13:11:48Z | 2024-03-14T13:12:44Z | 2024-03-14T13:11:53Z | severo |
2,186,346,824 | e2e tests are failing | possibly due to the removal of cookies | e2e tests are failing: possibly due to the removal of cookies | closed | 2024-03-14T13:08:17Z | 2024-03-14T13:37:12Z | 2024-03-14T13:37:12Z | severo |
2,186,303,924 | increment job runner version | following https://github.com/huggingface/datasets-server/pull/2454 | increment job runner version: following https://github.com/huggingface/datasets-server/pull/2454 | closed | 2024-03-14T12:52:32Z | 2024-03-14T12:54:54Z | 2024-03-14T12:54:53Z | severo |
2,186,250,981 | retry all PreviousStepSOMETHING | null | retry all PreviousStepSOMETHING: | closed | 2024-03-14T12:33:54Z | 2024-03-14T12:35:56Z | 2024-03-14T12:35:55Z | severo |
2,186,095,183 | block a new dataset | null | block a new dataset: | closed | 2024-03-14T11:19:52Z | 2024-03-14T11:20:38Z | 2024-03-14T11:19:59Z | severo |
2,186,058,339 | Follow-ups to #2543 | See https://github.com/huggingface/datasets-server/pull/2543#issuecomment-1985494442
- [ ] we might factorize code between [query](https://github.com/huggingface/datasets-server/blob/87c224fa218420d69b20cd28d7befee0daf3c236/libs/libcommon/src/libcommon/parquet_utils.py#L330) and [query_truncated_binary](https://github.com/huggingface/datasets-server/blob/87c224fa218420d69b20cd28d7befee0daf3c236/libs/libcommon/src/libcommon/parquet_utils.py#L188) (basically, every code block surrounded by a "StepProfiler" could be a different method/function
- [ ] add unit tests for the new code
- [ ] instead of computing [max_binary_length](https://github.com/huggingface/datasets-server/blob/87c224fa218420d69b20cd28d7befee0daf3c236/libs/libcommon/src/libcommon/parquet_utils.py#L306), why not returning a very small number of bytes? I imagine that truncated binary is unusable anyway, so... maybe just returning the first 50 bytes is enough.
Also, related to https://github.com/huggingface/datasets-server/issues/2586 | Follow-ups to #2543: See https://github.com/huggingface/datasets-server/pull/2543#issuecomment-1985494442
- [ ] we might factorize code between [query](https://github.com/huggingface/datasets-server/blob/87c224fa218420d69b20cd28d7befee0daf3c236/libs/libcommon/src/libcommon/parquet_utils.py#L330) and [query_truncated_binary](https://github.com/huggingface/datasets-server/blob/87c224fa218420d69b20cd28d7befee0daf3c236/libs/libcommon/src/libcommon/parquet_utils.py#L188) (basically, every code block surrounded by a "StepProfiler" could be a different method/function
- [ ] add unit tests for the new code
- [ ] instead of computing [max_binary_length](https://github.com/huggingface/datasets-server/blob/87c224fa218420d69b20cd28d7befee0daf3c236/libs/libcommon/src/libcommon/parquet_utils.py#L306), why not returning a very small number of bytes? I imagine that truncated binary is unusable anyway, so... maybe just returning the first 50 bytes is enough.
Also, related to https://github.com/huggingface/datasets-server/issues/2586 | open | 2024-03-14T11:00:26Z | 2024-07-30T16:54:25Z | null | severo |
2,186,017,234 | Cells are marked as truncated whereas they're not | See https://datasets-server.huggingface.co/first-rows?dataset=HuggingFaceH4/deita-6k-v0-sft&config=default&split=train_sft
<details><summary>JSON response</summary>
<pre>
{
"dataset": "HuggingFaceH4/deita-6k-v0-sft",
"config": "default",
"split": "train_sft",
"features": [
{
"feature_idx": 0,
"name": "prompt",
"type": { "dtype": "string", "_type": "Value" }
},
{
"feature_idx": 1,
"name": "prompt_id",
"type": { "dtype": "string", "_type": "Value" }
},
{
"feature_idx": 2,
"name": "messages",
"type": [
{
"content": { "dtype": "string", "_type": "Value" },
"role": { "dtype": "string", "_type": "Value" }
}
]
}
],
"rows": [
{
"row_idx": 0,
"row": {
"prompt": "I want to learn store Procedure, Can you teach me from the basic .",
"prompt_id": "100cfc5f4d14b9c640cac30ebb28d0f91f2dc7662e9a578a544923a48fd5a59f",
"messages": [
{
"content": "I want to learn store Procedure, Can you teach me from the basic .",
"role": "user"
},
...
},
{
"row_idx": 9,
"row": {
"prompt": "\"Act as business consultant. Prepare a content for thirty slides about ageism for business training.",
"prompt_id": "994c40cee21a1e60e11fb326a41999f05079bd568681c6066efe83660e91fd83",
"messages": "[{\"content\":\"Act as business consultant. Prepare a content for thirty slides about ageism for busine"
},
"truncated_cells": ["prompt", "messages"]
}
],
"truncated": true
}
</pre></details>
The cells `prompt` and `messages` are always listed in `truncated_cells`, whereas they are not always truncated. For example, they are not truncated in cell 0.
```json
{
"row_idx": 0,
"row": {
"prompt": "I want to learn store Procedure, Can you teach me from the basic .",
"prompt_id": "100cfc5f4d14b9c640cac30ebb28d0f91f2dc7662e9a578a544923a48fd5a59f",
"messages": [
{
"content": "I want to learn store Procedure, Can you teach me from the basic .",
"role": "user"
},
...
],
"truncated_cells": ["prompt", "messages"]
}
```
In cell 9, they are:
```json
{
"row_idx": 9,
"row": {
"prompt": "\"Act as business consultant. Prepare a content for thirty slides about ageism for business training.",
"prompt_id": "994c40cee21a1e60e11fb326a41999f05079bd568681c6066efe83660e91fd83",
"messages": "[{\"content\":\"Act as business consultant. Prepare a content for thirty slides about ageism for busine"
},
"truncated_cells": ["prompt", "messages"]
}
``` | Cells are marked as truncated whereas they're not: See https://datasets-server.huggingface.co/first-rows?dataset=HuggingFaceH4/deita-6k-v0-sft&config=default&split=train_sft
<details><summary>JSON response</summary>
<pre>
{
"dataset": "HuggingFaceH4/deita-6k-v0-sft",
"config": "default",
"split": "train_sft",
"features": [
{
"feature_idx": 0,
"name": "prompt",
"type": { "dtype": "string", "_type": "Value" }
},
{
"feature_idx": 1,
"name": "prompt_id",
"type": { "dtype": "string", "_type": "Value" }
},
{
"feature_idx": 2,
"name": "messages",
"type": [
{
"content": { "dtype": "string", "_type": "Value" },
"role": { "dtype": "string", "_type": "Value" }
}
]
}
],
"rows": [
{
"row_idx": 0,
"row": {
"prompt": "I want to learn store Procedure, Can you teach me from the basic .",
"prompt_id": "100cfc5f4d14b9c640cac30ebb28d0f91f2dc7662e9a578a544923a48fd5a59f",
"messages": [
{
"content": "I want to learn store Procedure, Can you teach me from the basic .",
"role": "user"
},
...
},
{
"row_idx": 9,
"row": {
"prompt": "\"Act as business consultant. Prepare a content for thirty slides about ageism for business training.",
"prompt_id": "994c40cee21a1e60e11fb326a41999f05079bd568681c6066efe83660e91fd83",
"messages": "[{\"content\":\"Act as business consultant. Prepare a content for thirty slides about ageism for busine"
},
"truncated_cells": ["prompt", "messages"]
}
],
"truncated": true
}
</pre></details>
The cells `prompt` and `messages` are always listed in `truncated_cells`, whereas they are not always truncated. For example, they are not truncated in cell 0.
```json
{
"row_idx": 0,
"row": {
"prompt": "I want to learn store Procedure, Can you teach me from the basic .",
"prompt_id": "100cfc5f4d14b9c640cac30ebb28d0f91f2dc7662e9a578a544923a48fd5a59f",
"messages": [
{
"content": "I want to learn store Procedure, Can you teach me from the basic .",
"role": "user"
},
...
],
"truncated_cells": ["prompt", "messages"]
}
```
In cell 9, they are:
```json
{
"row_idx": 9,
"row": {
"prompt": "\"Act as business consultant. Prepare a content for thirty slides about ageism for business training.",
"prompt_id": "994c40cee21a1e60e11fb326a41999f05079bd568681c6066efe83660e91fd83",
"messages": "[{\"content\":\"Act as business consultant. Prepare a content for thirty slides about ageism for busine"
},
"truncated_cells": ["prompt", "messages"]
}
``` | closed | 2024-03-14T10:39:45Z | 2024-03-15T12:15:05Z | 2024-03-15T11:00:04Z | severo |
2,184,261,730 | Update polars to fix PanicException | should fix the viewer for https://huggingface.co/datasets/teknium/OpenHermes-2.5 and presumably many others
There is and issue for this in polars: https://github.com/pola-rs/polars/issues/3942.
I didn't understand though why some cases with nested structs work while some like this doesn't | Update polars to fix PanicException: should fix the viewer for https://huggingface.co/datasets/teknium/OpenHermes-2.5 and presumably many others
There is and issue for this in polars: https://github.com/pola-rs/polars/issues/3942.
I didn't understand though why some cases with nested structs work while some like this doesn't | closed | 2024-03-13T15:12:55Z | 2024-03-14T17:14:28Z | 2024-03-14T17:14:27Z | polinaeterna |
2,183,840,300 | opus decoding error | see https://huggingface.co/datasets/stable-speech/mls_eng_10k/discussions/1#65ef6e9d440a5fc3d94a40ad
To fix this maybe we should pin `soundfile` library to `>=1.0.31` (first version that supported opus) like [we do in `datasets` library](https://github.com/huggingface/datasets/blob/main/src/datasets/config.py#L144).
| opus decoding error: see https://huggingface.co/datasets/stable-speech/mls_eng_10k/discussions/1#65ef6e9d440a5fc3d94a40ad
To fix this maybe we should pin `soundfile` library to `>=1.0.31` (first version that supported opus) like [we do in `datasets` library](https://github.com/huggingface/datasets/blob/main/src/datasets/config.py#L144).
| closed | 2024-03-13T12:07:21Z | 2024-05-16T11:28:57Z | 2024-05-16T04:38:42Z | polinaeterna |
2,183,692,842 | Update HF Croissant to Croissant 1.0 | null | Update HF Croissant to Croissant 1.0: | closed | 2024-03-13T10:53:44Z | 2024-03-19T13:22:57Z | 2024-03-19T09:54:59Z | ccl-core |
2,183,626,169 | Fix size of splits | fixes #2581
---
After merging and deploying, I'll refresh all the affected datasets.
It's not so much (<2k jobs)
```
db.cachedResponsesBlue.countDocuments({
"kind": "config-parquet-and-info"
})
140609
db.cachedResponsesBlue.countDocuments({
"kind": "config-parquet-and-info",
"updated_at": {
$gte: new Date("2024-03-12T08:00:00.000Z"),
}
})
1644
``` | Fix size of splits: fixes #2581
---
After merging and deploying, I'll refresh all the affected datasets.
It's not so much (<2k jobs)
```
db.cachedResponsesBlue.countDocuments({
"kind": "config-parquet-and-info"
})
140609
db.cachedResponsesBlue.countDocuments({
"kind": "config-parquet-and-info",
"updated_at": {
$gte: new Date("2024-03-12T08:00:00.000Z"),
}
})
1644
``` | closed | 2024-03-13T10:21:34Z | 2024-03-13T10:42:28Z | 2024-03-13T10:42:27Z | severo |
2,183,104,285 | The API returns the wrong row number | As stated in this post: https://discuss.huggingface.co/t/got-wrong-row-number-of-dataset-viewer/77132, I got the wrong number on the dataset repo page. The numbers are correct if I download the repo, but when I follow the instructions in https://huggingface.co/docs/datasets-server/size?code=curl, the numbers of rows in the response are also wrong. I'd like to know if there is something wrong with my usage or if there are some bugs in the API. | The API returns the wrong row number: As stated in this post: https://discuss.huggingface.co/t/got-wrong-row-number-of-dataset-viewer/77132, I got the wrong number on the dataset repo page. The numbers are correct if I download the repo, but when I follow the instructions in https://huggingface.co/docs/datasets-server/size?code=curl, the numbers of rows in the response are also wrong. I'd like to know if there is something wrong with my usage or if there are some bugs in the API. | closed | 2024-03-13T04:42:53Z | 2024-03-13T10:58:03Z | 2024-03-13T10:42:28Z | yuanyehome |
2,182,797,886 | remove support for cookies | Fixes #1011
and then
Fixes #2572
Fixes #2052 | remove support for cookies: Fixes #1011
and then
Fixes #2572
Fixes #2052 | closed | 2024-03-12T22:33:19Z | 2024-03-13T09:48:18Z | 2024-03-13T09:48:18Z | severo |
2,182,713,300 | Replace canonical datasets with community ones in the docs/tests | fixes #2578
In the codebase, we still access the following canonical datasets, which have not been moved to an org: `cnn_dailymail`, `mnist`, `blog_authorship_corpus`, `rotten_tomatoes`, `ett`, `amazon_polarity`, `imagenet-1k`, `cifar100`, `superb`, `imdb`, `atomic`. | Replace canonical datasets with community ones in the docs/tests: fixes #2578
In the codebase, we still access the following canonical datasets, which have not been moved to an org: `cnn_dailymail`, `mnist`, `blog_authorship_corpus`, `rotten_tomatoes`, `ett`, `amazon_polarity`, `imagenet-1k`, `cifar100`, `superb`, `imdb`, `atomic`. | closed | 2024-03-12T21:29:49Z | 2024-03-13T09:54:53Z | 2024-03-13T09:54:52Z | severo |
2,181,722,457 | Replace canonical datasets with community ones in the docs/tests | For example, `glue` is now `nyu-mll/glue`
cc @lhoestq @albertvillanova for visibility. | Replace canonical datasets with community ones in the docs/tests: For example, `glue` is now `nyu-mll/glue`
cc @lhoestq @albertvillanova for visibility. | closed | 2024-03-12T14:10:11Z | 2024-03-13T09:54:54Z | 2024-03-13T09:54:53Z | severo |
2,181,305,830 | Add "statistics" field to is-valid workers | todo:
- [x] update openapi.json
- [x] update admin-ui | Add "statistics" field to is-valid workers: todo:
- [x] update openapi.json
- [x] update admin-ui | closed | 2024-03-12T10:50:54Z | 2024-03-12T16:42:21Z | 2024-03-12T16:42:20Z | polinaeterna |
2,180,495,761 | clearer without the intermediate type | null | clearer without the intermediate type: | closed | 2024-03-12T00:33:38Z | 2024-03-12T00:37:22Z | 2024-03-12T00:34:47Z | severo |
2,180,485,571 | remove openapi-spec-validator (use spectral) | because I like these stats:
<img width="135" alt="Capture d’écran 2024-03-12 à 01 22 19" src="https://github.com/huggingface/datasets-server/assets/1676121/81b79030-4276-458d-bf43-72cbdd61d3ef">
| remove openapi-spec-validator (use spectral): because I like these stats:
<img width="135" alt="Capture d’écran 2024-03-12 à 01 22 19" src="https://github.com/huggingface/datasets-server/assets/1676121/81b79030-4276-458d-bf43-72cbdd61d3ef">
| closed | 2024-03-12T00:21:39Z | 2024-03-12T00:23:12Z | 2024-03-12T00:23:12Z | severo |
2,180,438,756 | Fix openapi.json | null | Fix openapi.json: | closed | 2024-03-11T23:30:53Z | 2024-03-12T00:17:50Z | 2024-03-12T00:17:33Z | severo |
2,180,433,047 | Incoherencies with types for descriptive statistics? | https://datasets-server.huggingface.co/statistics?dataset=mstz/wine&config=wine&split=train
gives:
<img width="329" alt="Capture d’écran 2024-03-12 à 00 21 12" src="https://github.com/huggingface/datasets-server/assets/1676121/b196a35e-485a-4dfd-8437-b1a7006777de">
but normally, all the categorical columns should include the fields `no_label_count` and `no_label_proportion` (they are not optional in the type:
https://github.com/huggingface/datasets-server/blob/84c5e3bdb01c931c2766441efb3d63708b707abd/services/worker/src/worker/job_runners/split/descriptive_statistics.py#L80-L86
<img width="367" alt="Capture d’écran 2024-03-12 à 00 21 35" src="https://github.com/huggingface/datasets-server/assets/1676121/107ce615-ab39-4500-83bd-57497ccaa2e6">
---
I don't remember, but I imagine that we didn't want to recompute the cache entries when we added these two fields, and that's why we still have old entries without these two fields.
I think we should put them as optional in the types, until we fix all the cache entries. | Incoherencies with types for descriptive statistics?: https://datasets-server.huggingface.co/statistics?dataset=mstz/wine&config=wine&split=train
gives:
<img width="329" alt="Capture d’écran 2024-03-12 à 00 21 12" src="https://github.com/huggingface/datasets-server/assets/1676121/b196a35e-485a-4dfd-8437-b1a7006777de">
but normally, all the categorical columns should include the fields `no_label_count` and `no_label_proportion` (they are not optional in the type:
https://github.com/huggingface/datasets-server/blob/84c5e3bdb01c931c2766441efb3d63708b707abd/services/worker/src/worker/job_runners/split/descriptive_statistics.py#L80-L86
<img width="367" alt="Capture d’écran 2024-03-12 à 00 21 35" src="https://github.com/huggingface/datasets-server/assets/1676121/107ce615-ab39-4500-83bd-57497ccaa2e6">
---
I don't remember, but I imagine that we didn't want to recompute the cache entries when we added these two fields, and that's why we still have old entries without these two fields.
I think we should put them as optional in the types, until we fix all the cache entries. | closed | 2024-03-11T23:24:47Z | 2024-03-12T17:30:00Z | 2024-03-11T23:31:20Z | severo |
2,180,383,987 | The API is broken when passing a cookie + 2FA enabled | All the API calls from my main browser (such as https://datasets-server.huggingface.co/splits?dataset=mnist) fail with
```json
{"error":"Unexpected error."}
```
The underlying logs are:
```
INFO: 2024-03-11 22:38:50,327 - httpx - HTTP Request: GET https://huggingface.co/api/datasets/mnist/auth-check "HTTP/1.1 302 Found"
INFO: 10.0.95.34:60730 - "GET /splits?dataset=mnist HTTP/1.1" 500 Internal Server Error
```
Related to https://github.com/huggingface/datasets-server/issues/2377.
It only appears from my main browser, where I'm logged in on huggingface.co. Private browsing, curl, or another browser fixes the issue. | The API is broken when passing a cookie + 2FA enabled: All the API calls from my main browser (such as https://datasets-server.huggingface.co/splits?dataset=mnist) fail with
```json
{"error":"Unexpected error."}
```
The underlying logs are:
```
INFO: 2024-03-11 22:38:50,327 - httpx - HTTP Request: GET https://huggingface.co/api/datasets/mnist/auth-check "HTTP/1.1 302 Found"
INFO: 10.0.95.34:60730 - "GET /splits?dataset=mnist HTTP/1.1" 500 Internal Server Error
```
Related to https://github.com/huggingface/datasets-server/issues/2377.
It only appears from my main browser, where I'm logged in on huggingface.co. Private browsing, curl, or another browser fixes the issue. | closed | 2024-03-11T22:40:19Z | 2024-03-13T09:48:19Z | 2024-03-13T09:48:19Z | severo |