-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: SSE Stream parser expects additional space after colon "data:" #559
Conversation
This provides a backwards compatible and tested for #498 and proposes a slighty different solution to #502 It is according to the official standard of event stream: the line contains a U+003A COLON character (:) Collect the characters on the line after the first U+003A COLON character (:), and let value be that string. If value starts with a U+0020 SPACE character, remove it from value. Process the field https://html.spec.whatwg.org/multipage/server-sent-events.html#processField) |
@logankilpatrick Would you be so kind and give this a review? |
Awesome! Thank you for referencing the spec |
Why not use an actual SSE parsing client/library? |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [aws-lambda-powertools](https://togithub.com/aws-powertools/powertools-lambda-python) ([changelog](https://togithub.com/aws-powertools/powertools-lambda-python/releases)) | `2.23.1` -> `2.26.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/aws-lambda-powertools/2.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/aws-lambda-powertools/2.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/aws-lambda-powertools/2.23.1/2.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/aws-lambda-powertools/2.23.1/2.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [awswrangler](https://aws-sdk-pandas.readthedocs.io/) ([source](https://togithub.com/aws/aws-sdk-pandas)) | `3.3.0` -> `3.4.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/awswrangler/3.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/awswrangler/3.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/awswrangler/3.3.0/3.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/awswrangler/3.3.0/3.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [numpy](https://numpy.org) ([source](https://togithub.com/numpy/numpy), [changelog](https://numpy.org/doc/stable/release)) | `1.25.2` -> `1.26.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/numpy/1.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/numpy/1.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/numpy/1.25.2/1.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/numpy/1.25.2/1.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [openai](https://togithub.com/openai/openai-python) | `0.28.0` -> `0.28.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/openai/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/openai/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/openai/0.28.0/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/openai/0.28.0/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pandas](https://pandas.pydata.org) ([source](https://togithub.com/pandas-dev/pandas)) | `2.1.0` -> `2.1.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pandas/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pandas/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pandas/2.1.0/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pandas/2.1.0/2.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `7.4.1` -> `7.4.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest/7.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest/7.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest/7.4.1/7.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest/7.4.1/7.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pytest-mock](https://togithub.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `3.12.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.11.1/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.11.1/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws-powertools/powertools-lambda-python (aws-lambda-powertools)</summary> ### [`v2.26.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2260---2023-10-13) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.25.1...v2.26.0) #### \[v2.26.0] - 2023-10-13 ### [`v2.25.1`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2251---2023-09-22) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.25.0...v2.25.1) #### \[v2.25.1] - 2023-09-22 ### [`v2.25.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2250---2023-09-15) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.24.0...v2.25.0) #### \[v2.25.0] - 2023-09-15 ### [`v2.24.0`](https://togithub.com/aws-powertools/powertools-lambda-python/blob/HEAD/CHANGELOG.md#v2240---2023-09-08) [Compare Source](https://togithub.com/aws-powertools/powertools-lambda-python/compare/v2.23.1...v2.24.0) #### \[v2.24.0] - 2023-09-08 </details> <details> <summary>aws/aws-sdk-pandas (awswrangler)</summary> ### [`v3.4.1`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.4.1): AWS SDK for pandas 3.4.1 [Compare Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.4.0...3.4.1) #### Features/Enhancements 🚀 - feat: Add schema evolution to `athena.to_iceberg` by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2465](https://togithub.com/aws/aws-sdk-pandas/pull/2465) - feat: Athena - add `client_request_token` by [@​kukushking](https://togithub.com/kukushking) in [https://github.com/aws/aws-sdk-pandas/pull/2474](https://togithub.com/aws/aws-sdk-pandas/pull/2474) - feat: Redshift data api - allow all auth combinations by [@​kukushking](https://togithub.com/kukushking) in [https://github.com/aws/aws-sdk-pandas/pull/2475](https://togithub.com/aws/aws-sdk-pandas/pull/2475) - feat: add columns comments to iceberg by [@​frenchytheasian](https://togithub.com/frenchytheasian) in [https://github.com/aws/aws-sdk-pandas/pull/2482](https://togithub.com/aws/aws-sdk-pandas/pull/2482) #### Bug fixes 🐛 - fix: Add missing call to `sanitize_column_name` in `create_*_table` by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2464](https://togithub.com/aws/aws-sdk-pandas/pull/2464) - fix: Hyphenated Iceberg table names by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2466](https://togithub.com/aws/aws-sdk-pandas/pull/2466) - fix: `requests_aws4auth` not being treated as an optional dependency by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [https://github.com/aws/aws-sdk-pandas/pull/2471](https://togithub.com/aws/aws-sdk-pandas/pull/2471) - fix: KeyError exception in athena wrangler by [@​rabingaire](https://togithub.com/rabingaire) in [https://github.com/aws/aws-sdk-pandas/pull/2483](https://togithub.com/aws/aws-sdk-pandas/pull/2483) - fix: column names and apply map by [@​LumberjackUsingMath](https://togithub.com/LumberjackUsingMath) in [https://github.com/aws/aws-sdk-pandas/pull/2492](https://togithub.com/aws/aws-sdk-pandas/pull/2492) - fix: Gremlin batch size calc by [@​kukushking](https://togithub.com/kukushking) in [https://github.com/aws/aws-sdk-pandas/pull/2496](https://togithub.com/aws/aws-sdk-pandas/pull/2496) #### Documentation 📚 - docs: Update layers.rst - add cn-north-1 & cn-northwest-1 by [@​kukushking](https://togithub.com/kukushking) in [https://github.com/aws/aws-sdk-pandas/pull/2477](https://togithub.com/aws/aws-sdk-pandas/pull/2477) #### New Contributors - [@​rabingaire](https://togithub.com/rabingaire) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2483](https://togithub.com/aws/aws-sdk-pandas/pull/2483) - [@​frenchytheasian](https://togithub.com/frenchytheasian) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2482](https://togithub.com/aws/aws-sdk-pandas/pull/2482) - [@​LumberjackUsingMath](https://togithub.com/LumberjackUsingMath) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2492](https://togithub.com/aws/aws-sdk-pandas/pull/2492) **Full Changelog**: https://github.com/aws/aws-sdk-pandas/compare/3.4.0...3.4.1 ### [`v3.4.0`](https://togithub.com/aws/aws-sdk-pandas/releases/tag/3.4.0): AWS SDK for pandas 3.4.0 [Compare Source](https://togithub.com/aws/aws-sdk-pandas/compare/3.3.0...3.4.0) #### Features/Enhancements 🚀 - Geospatial - parse Athena geospatial types via geopandas by [@​kukushking](https://togithub.com/kukushking) in [#​2346](https://togithub.com/aws/aws-sdk-pandas/issues/2346) - Allow group identifiers to be used in `wr.cloudwatch` queries by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [#​2430](https://togithub.com/aws/aws-sdk-pandas/issues/2430) - Add ignore null store parquet metadata by [@​raaidarshad](https://togithub.com/raaidarshad) in [#​2450](https://togithub.com/aws/aws-sdk-pandas/issues/2450) #### Bug fixes 🐛 - Add missing boto3 session in `athena.to_iceberg` wait_query by [@​jaidisido](https://togithub.com/jaidisido) in [#​2428](https://togithub.com/aws/aws-sdk-pandas/issues/2428) - Add catalog ID in `athena.to_iceberg` by [@​jaidisido](https://togithub.com/jaidisido) in [#​2446](https://togithub.com/aws/aws-sdk-pandas/issues/2446) - Return None for missing column and partition key comment by [@​robert-schmidtke](https://togithub.com/robert-schmidtke) in [#​2449](https://togithub.com/aws/aws-sdk-pandas/issues/2449) - Fix urllib3 error when building AWS Lambda Layers by [@​LeonLuttenberger](https://togithub.com/LeonLuttenberger) in [#​2447](https://togithub.com/aws/aws-sdk-pandas/issues/2447) - Duplicate schema argument in `wr.s3.to_parquet` by [@​kukushking](https://togithub.com/kukushking) in [#​2455](https://togithub.com/aws/aws-sdk-pandas/issues/2455) #### Tests 🧪 - Test dependabot groups feature by [@​jaidisido](https://togithub.com/jaidisido) in [#​2426](https://togithub.com/aws/aws-sdk-pandas/issues/2426) #### New Contributors - [@​raaidarshad](https://togithub.com/raaidarshad) made their first contribution in [https://github.com/aws/aws-sdk-pandas/pull/2450](https://togithub.com/aws/aws-sdk-pandas/pull/2450) **Full Changelog**: https://github.com/aws/aws-sdk-pandas/compare/3.3.0...3.4.0 </details> <details> <summary>numpy/numpy (numpy)</summary> ### [`v1.26.1`](https://togithub.com/numpy/numpy/releases/tag/v1.26.1) [Compare Source](https://togithub.com/numpy/numpy/compare/v1.26.0...v1.26.1) ##### NumPy 1.26.1 Release Notes NumPy 1.26.1 is a maintenance release that fixes bugs and regressions discovered after the 1.26.0 release. In addition, it adds new functionality for detecting BLAS and LAPACK when building from source. Highlights are: - Improved detection of BLAS and LAPACK libraries for meson builds - Pickle compatibility with the upcoming NumPy 2.0. The 1.26.release series is the last planned minor release series before NumPy 2.0. The Python versions supported by this release are 3.9-3.12. ##### Build system changes ##### Improved BLAS/LAPACK detection and control Auto-detection for a number of BLAS and LAPACK is now implemented for Meson. By default, the build system will try to detect MKL, Accelerate (on macOS >=13.3), OpenBLAS, FlexiBLAS, BLIS and reference BLAS/LAPACK. Support for MKL was significantly improved, and support for FlexiBLAS was added. New command-line flags are available to further control the selection of the BLAS and LAPACK libraries to build against. To select a specific library, use the config-settings interface via `pip` or `pypa/build`. E.g., to select `libblas`/`liblapack`, use: $ pip install numpy -Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack $ # OR $ python -m build . -Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack This works not only for the libraries named above, but for any library that Meson is able to detect with the given name through `pkg-config` or CMake. Besides `-Dblas` and `-Dlapack`, a number of other new flags are available to control BLAS/LAPACK selection and behavior: - `-Dblas-order` and `-Dlapack-order`: a list of library names to search for in order, overriding the default search order. - `-Duse-ilp64`: if set to `true`, use ILP64 (64-bit integer) BLAS and LAPACK. Note that with this release, ILP64 support has been extended to include MKL and FlexiBLAS. OpenBLAS and Accelerate were supported in previous releases. - `-Dallow-noblas`: if set to `true`, allow NumPy to build with its internal (very slow) fallback routines instead of linking against an external BLAS/LAPACK library. *The default for this flag may be changed to \`\`true\`\` in a future 1.26.x release, however for 1.26.1 we'd prefer to keep it as \`\`false\`\` because if failures to detect an installed library are happening, we'd like a bug report for that, so we can quickly assess whether the new auto-detection machinery needs further improvements.* - `-Dmkl-threading`: to select the threading layer for MKL. There are four options: `seq`, `iomp`, `gomp` and `tbb`. The default is `auto`, which selects from those four as appropriate given the version of MKL selected. - `-Dblas-symbol-suffix`: manually select the symbol suffix to use for the library - should only be needed for linking against libraries built in a non-standard way. ##### New features ##### `numpy._core` submodule stubs `numpy._core` submodule stubs were added to provide compatibility with pickled arrays created using NumPy 2.0 when running Numpy 1.26. ##### Contributors A total of 13 people contributed to this release. People with a "+" by their names contributed a patch for the first time. - Andrew Nelson - Anton Prosekin + - Charles Harris - Chongyun Lee + - Ivan A. Melnikov + - Jake Lishman + - Mahder Gebremedhin + - Mateusz Sokół - Matti Picus - Munira Alduraibi + - Ralf Gommers - Rohit Goswami - Sayed Adel ##### Pull requests merged A total of 20 pull requests were merged for this release. - [#​24742](https://togithub.com/numpy/numpy/pull/24742): MAINT: Update cibuildwheel version - [#​24748](https://togithub.com/numpy/numpy/pull/24748): MAINT: fix version string in wheels built with setup.py - [#​24771](https://togithub.com/numpy/numpy/pull/24771): BLD, BUG: Fix build failure for host flags e.g. `-march=native`... - [#​24773](https://togithub.com/numpy/numpy/pull/24773): DOC: Updated the f2py docs to remove a note on -fimplicit-none - [#​24776](https://togithub.com/numpy/numpy/pull/24776): BUG: Fix SIMD f32 trunc test on s390x when baseline is none - [#​24785](https://togithub.com/numpy/numpy/pull/24785): BLD: add libquadmath to licences and other tweaks ([#​24753](https://togithub.com/numpy/numpy/issues/24753)) - [#​24786](https://togithub.com/numpy/numpy/pull/24786): MAINT: Activate `use-compute-credits` for Cirrus. - [#​24803](https://togithub.com/numpy/numpy/pull/24803): BLD: updated vendored-meson/meson for mips64 fix - [#​24804](https://togithub.com/numpy/numpy/pull/24804): MAINT: fix licence path win - [#​24813](https://togithub.com/numpy/numpy/pull/24813): BUG: Fix order of Windows OS detection macros. - [#​24831](https://togithub.com/numpy/numpy/pull/24831): BUG, SIMD: use scalar cmul on bad Apple clang x86\_64 ([#​24828](https://togithub.com/numpy/numpy/issues/24828)) - [#​24840](https://togithub.com/numpy/numpy/pull/24840): BUG: Fix DATA statements for f2py - [#​24870](https://togithub.com/numpy/numpy/pull/24870): API: Add `NumpyUnpickler` for backporting - [#​24872](https://togithub.com/numpy/numpy/pull/24872): MAINT: Xfail test failing on PyPy. - [#​24879](https://togithub.com/numpy/numpy/pull/24879): BLD: fix math func feature checks, fix FreeBSD build, add CI... - [#​24899](https://togithub.com/numpy/numpy/pull/24899): ENH: meson: implement BLAS/LAPACK auto-detection and many CI... - [#​24902](https://togithub.com/numpy/numpy/pull/24902): DOC: add a 1.26.1 release notes section for BLAS/LAPACK build... - [#​24906](https://togithub.com/numpy/numpy/pull/24906): MAINT: Backport `numpy._core` stubs. Remove `NumpyUnpickler` - [#​24911](https://togithub.com/numpy/numpy/pull/24911): MAINT: Bump pypa/cibuildwheel from 2.16.1 to 2.16.2 - [#​24912](https://togithub.com/numpy/numpy/pull/24912): BUG: loongarch doesn't use REAL(10) ##### Checksums ##### MD5 bda38de1a047dd9fdddae16c0d9fb358 numpy-1.26.1-cp310-cp310-macosx_10_9_x86_64.whl 196d2e39047da64ab28e177760c95461 numpy-1.26.1-cp310-cp310-macosx_11_0_arm64.whl 9d25010a7bf50e624d2fed742790afbd numpy-1.26.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 9b22fa3d030807f0708007d9c0659f65 numpy-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl eea626b8b930acb4b32302a9e95714f5 numpy-1.26.1-cp310-cp310-musllinux_1_1_x86_64.whl 3c40ef068f50d2ac2913c5b9fa1233fa numpy-1.26.1-cp310-cp310-win32.whl 315c251d2f284af25761a37ce6dd4d10 numpy-1.26.1-cp310-cp310-win_amd64.whl ebdd5046937df50e9f54a6d38c5775dd numpy-1.26.1-cp311-cp311-macosx_10_9_x86_64.whl 682f9beebe8547f205d6cdc8ff96a984 numpy-1.26.1-cp311-cp311-macosx_11_0_arm64.whl e86da9b6040ea88b3835c4d8f8578658 numpy-1.26.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl ebcb6cf7f64454215e29d8a89829c8e1 numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl a8c89e13dc9a63712104e2fb06fb63a6 numpy-1.26.1-cp311-cp311-musllinux_1_1_x86_64.whl 339795930404988dbc664ff4cc72b399 numpy-1.26.1-cp311-cp311-win32.whl 4ef5e1bdd7726c19615843f5ac72e618 numpy-1.26.1-cp311-cp311-win_amd64.whl 3aad6bc72db50e9cc88aa5813e8f35bd numpy-1.26.1-cp312-cp312-macosx_10_9_x86_64.whl fd62f65ae7798dbda9a3f7af7aa5c8db numpy-1.26.1-cp312-cp312-macosx_11_0_arm64.whl 104d939e080f1baf0a56aed1de0e79e3 numpy-1.26.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl c44b56c96097f910bbec1420abcf3db5 numpy-1.26.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 1dce230368ae5fc47dd0fe8de8ff771d numpy-1.26.1-cp312-cp312-musllinux_1_1_x86_64.whl d93338e7d60e1d294ca326450e99806b numpy-1.26.1-cp312-cp312-win32.whl a1832f46521335c1ee4c56dbf12e600b numpy-1.26.1-cp312-cp312-win_amd64.whl 946fbb0b6caca9258985495532d3f9ab numpy-1.26.1-cp39-cp39-macosx_10_9_x86_64.whl 78c2ab13d395d67d90bcd6583a6f61a8 numpy-1.26.1-cp39-cp39-macosx_11_0_arm64.whl 0a9d80d8b646abf4ffe51fff3e075d10 numpy-1.26.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 0229ba8145d4f58500873b540a55d60e numpy-1.26.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 9179fc57c03260374c86e18867c24463 numpy-1.26.1-cp39-cp39-musllinux_1_1_x86_64.whl 246a3103fdbe5d891d7a8aee28875a26 numpy-1.26.1-cp39-cp39-win32.whl 4589dcb7f754fade6ea3946416bee638 numpy-1.26.1-cp39-cp39-win_amd64.whl 3af340d5487a6c045f00fe5eb889957c numpy-1.26.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl 28aece4f1ceb92ec463aa353d4a91c8b numpy-1.26.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl bbd0461a1e31017b05509e9971b3478e numpy-1.26.1-pp39-pypy39_pp73-win_amd64.whl 2d770f4c281d405b690c4bcb3dbe99e2 numpy-1.26.1.tar.gz ##### SHA256 82e871307a6331b5f09efda3c22e03c095d957f04bf6bc1804f30048d0e5e7af numpy-1.26.1-cp310-cp310-macosx_10_9_x86_64.whl cdd9ec98f0063d93baeb01aad472a1a0840dee302842a2746a7a8e92968f9575 numpy-1.26.1-cp310-cp310-macosx_11_0_arm64.whl d78f269e0c4fd365fc2992c00353e4530d274ba68f15e968d8bc3c69ce5f5244 numpy-1.26.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 8ab9163ca8aeb7fd32fe93866490654d2f7dda4e61bc6297bf72ce07fdc02f67 numpy-1.26.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 78ca54b2f9daffa5f323f34cdf21e1d9779a54073f0018a3094ab907938331a2 numpy-1.26.1-cp310-cp310-musllinux_1_1_x86_64.whl d1cfc92db6af1fd37a7bb58e55c8383b4aa1ba23d012bdbba26b4bcca45ac297 numpy-1.26.1-cp310-cp310-win32.whl d2984cb6caaf05294b8466966627e80bf6c7afd273279077679cb010acb0e5ab numpy-1.26.1-cp310-cp310-win_amd64.whl cd7837b2b734ca72959a1caf3309457a318c934abef7a43a14bb984e574bbb9a numpy-1.26.1-cp311-cp311-macosx_10_9_x86_64.whl 1c59c046c31a43310ad0199d6299e59f57a289e22f0f36951ced1c9eac3665b9 numpy-1.26.1-cp311-cp311-macosx_11_0_arm64.whl d58e8c51a7cf43090d124d5073bc29ab2755822181fcad978b12e144e5e5a4b3 numpy-1.26.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 6081aed64714a18c72b168a9276095ef9155dd7888b9e74b5987808f0dd0a974 numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 97e5d6a9f0702c2863aaabf19f0d1b6c2628fbe476438ce0b5ce06e83085064c numpy-1.26.1-cp311-cp311-musllinux_1_1_x86_64.whl b9d45d1dbb9de84894cc50efece5b09939752a2d75aab3a8b0cef6f3a35ecd6b numpy-1.26.1-cp311-cp311-win32.whl 3649d566e2fc067597125428db15d60eb42a4e0897fc48d28cb75dc2e0454e53 numpy-1.26.1-cp311-cp311-win_amd64.whl 1d1bd82d539607951cac963388534da3b7ea0e18b149a53cf883d8f699178c0f numpy-1.26.1-cp312-cp312-macosx_10_9_x86_64.whl afd5ced4e5a96dac6725daeb5242a35494243f2239244fad10a90ce58b071d24 numpy-1.26.1-cp312-cp312-macosx_11_0_arm64.whl a03fb25610ef560a6201ff06df4f8105292ba56e7cdd196ea350d123fc32e24e numpy-1.26.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl dcfaf015b79d1f9f9c9fd0731a907407dc3e45769262d657d754c3a028586124 numpy-1.26.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl e509cbc488c735b43b5ffea175235cec24bbc57b227ef1acc691725beb230d1c numpy-1.26.1-cp312-cp312-musllinux_1_1_x86_64.whl af22f3d8e228d84d1c0c44c1fbdeb80f97a15a0abe4f080960393a00db733b66 numpy-1.26.1-cp312-cp312-win32.whl 9f42284ebf91bdf32fafac29d29d4c07e5e9d1af862ea73686581773ef9e73a7 numpy-1.26.1-cp312-cp312-win_amd64.whl bb894accfd16b867d8643fc2ba6c8617c78ba2828051e9a69511644ce86ce83e numpy-1.26.1-cp39-cp39-macosx_10_9_x86_64.whl e44ccb93f30c75dfc0c3aa3ce38f33486a75ec9abadabd4e59f114994a9c4617 numpy-1.26.1-cp39-cp39-macosx_11_0_arm64.whl 9696aa2e35cc41e398a6d42d147cf326f8f9d81befcb399bc1ed7ffea339b64e numpy-1.26.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl a5b411040beead47a228bde3b2241100454a6abde9df139ed087bd73fc0a4908 numpy-1.26.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 1e11668d6f756ca5ef534b5be8653d16c5352cbb210a5c2a79ff288e937010d5 numpy-1.26.1-cp39-cp39-musllinux_1_1_x86_64.whl d1d2c6b7dd618c41e202c59c1413ef9b2c8e8a15f5039e344af64195459e3104 numpy-1.26.1-cp39-cp39-win32.whl 59227c981d43425ca5e5c01094d59eb14e8772ce6975d4b2fc1e106a833d5ae2 numpy-1.26.1-cp39-cp39-win_amd64.whl 06934e1a22c54636a059215d6da99e23286424f316fddd979f5071093b648668 numpy-1.26.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl 76ff661a867d9272cd2a99eed002470f46dbe0943a5ffd140f49be84f68ffc42 numpy-1.26.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 6965888d65d2848e8768824ca8288db0a81263c1efccec881cb35a0d805fcd2f numpy-1.26.1-pp39-pypy39_pp73-win_amd64.whl c8c6c72d4a9f831f328efb1312642a1cafafaa88981d9ab76368d50d07d93cbe numpy-1.26.1.tar.gz ### [`v1.26.0`](https://togithub.com/numpy/numpy/releases/tag/v1.26.0) [Compare Source](https://togithub.com/numpy/numpy/compare/v1.25.2...v1.26.0) ### NumPy 1.26.0 Release Notes The NumPy 1.26.0 release is a continuation of the 1.25.x release cycle with the addition of Python 3.12.0 support. Python 3.12 dropped distutils, consequently supporting it required finding a replacement for the setup.py/distutils based build system NumPy was using. We have chosen to use the Meson build system instead, and this is the first NumPy release supporting it. This is also the first release that supports Cython 3.0 in addition to retaining 0.29.X compatibility. Supporting those two upgrades was a large project, over 100 files have been touched in this release. The changelog doesn't capture the full extent of the work, special thanks to Ralf Gommers, Sayed Adel, Stéfan van der Walt, and Matti Picus who did much of the work in the main development branch. The highlights of this release are: - Python 3.12.0 support. - Cython 3.0.0 compatibility. - Use of the Meson build system - Updated SIMD support - f2py fixes, meson and bind(x) support - Support for the updated Accelerate BLAS/LAPACK library The Python versions supported in this release are 3.9-3.12. #### New Features ##### Array API v2022.12 support in `numpy.array_api` `numpy.array_api` now full supports the [v2022.12 version](https://data-apis.org/array-api/2022.12) of the array API standard. Note that this does not yet include the optional `fft` extension in the standard. ([gh-23789](https://togithub.com/numpy/numpy/pull/23789)) ##### Support for the updated Accelerate BLAS/LAPACK library Support for the updated Accelerate BLAS/LAPACK library, including ILP64 (64-bit integer) support, in macOS 13.3 has been added. This brings arm64 support, and significant performance improvements of up to 10x for commonly used linear algebra operations. When Accelerate is selected at build time, the 13.3+ version will automatically be used if available. ([gh-24053](https://togithub.com/numpy/numpy/pull/24053)) ##### `meson` backend for `f2py` `f2py` in compile mode (i.e. `f2py -c`) now accepts the `--backend meson` option. This is the default option for Python `3.12` on-wards. Older versions will still default to `--backend distutils`. To support this in realistic use-cases, in compile mode `f2py` takes a `--dep` flag one or many times which maps to `dependency()` calls in the `meson` backend, and does nothing in the `distutils` backend. There are no changes for users of `f2py` only as a code generator, i.e. without `-c`. ([gh-24532](https://togithub.com/numpy/numpy/pull/24532)) ##### `bind(c)` support for `f2py` Both functions and subroutines can be annotated with `bind(c)`. `f2py` will handle both the correct type mapping, and preserve the unique label for other `C` interfaces. **Note:** `bind(c, name = 'routine_name_other_than_fortran_routine')` is not honored by the `f2py` bindings by design, since `bind(c)` with the `name` is meant to guarantee only the same name in `C` and `Fortran`, not in `Python` and `Fortran`. ([gh-24555](https://togithub.com/numpy/numpy/pull/24555)) #### Improvements ##### `iso_c_binding` support for `f2py` Previously, users would have to define their own custom `f2cmap` file to use type mappings defined by the Fortran2003 `iso_c_binding` intrinsic module. These type maps are now natively supported by `f2py` ([gh-24555](https://togithub.com/numpy/numpy/pull/24555)) #### Build system changes In this release, NumPy has switched to Meson as the build system and meson-python as the build backend. Installing NumPy or building a wheel can be done with standard tools like `pip` and `pypa/build`. The following are supported: - Regular installs: `pip install numpy` or (in a cloned repo) `pip install .` - Building a wheel: `python -m build` (preferred), or `pip wheel .` - Editable installs: `pip install -e . --no-build-isolation` - Development builds through the custom CLI implemented with [spin](https://togithub.com/scientific-python/spin): `spin build`. All the regular `pip` and `pypa/build` flags (e.g., `--no-build-isolation`) should work as expected. ##### NumPy-specific build customization Many of the NumPy-specific ways of customizing builds have changed. The `NPY_*` environment variables which control BLAS/LAPACK, SIMD, threading, and other such options are no longer supported, nor is a `site.cfg` file to select BLAS and LAPACK. Instead, there are command-line flags that can be passed to the build via `pip`/`build`'s config-settings interface. These flags are all listed in the `meson_options.txt` file in the root of the repo. Detailed documented will be available before the final 1.26.0 release; for now please see [the SciPy "building from source" docs](http://scipy.github.io/devdocs/building/index.html) since most build customization works in an almost identical way in SciPy as it does in NumPy. ##### Build dependencies While the runtime dependencies of NumPy have not changed, the build dependencies have. Because we temporarily vendor Meson and meson-python, there are several new dependencies - please see the `[build-system]` section of `pyproject.toml` for details. ##### Troubleshooting This build system change is quite large. In case of unexpected issues, it is still possible to use a `setup.py`-based build as a temporary workaround (on Python 3.9-3.11, not 3.12), by copying `pyproject.toml.setuppy` to `pyproject.toml`. However, please open an issue with details on the NumPy issue tracker. We aim to phase out `setup.py` builds as soon as possible, and therefore would like to see all potential blockers surfaced early on in the 1.26.0 release cycle. #### Contributors A total of 20 people contributed to this release. People with a "+" by their names contributed a patch for the first time. - [@​DWesl](https://togithub.com/DWesl) - Albert Steppi + - Bas van Beek - Charles Harris - Developer-Ecosystem-Engineering - Filipe Laíns + - Jake Vanderplas - Liang Yan + - Marten van Kerkwijk - Matti Picus - Melissa Weber Mendonça - Namami Shanker - Nathan Goldbaum - Ralf Gommers - Rohit Goswami - Sayed Adel - Sebastian Berg - Stefan van der Walt - Tyler Reddy - Warren Weckesser #### Pull requests merged A total of 59 pull requests were merged for this release. - [#​24305](https://togithub.com/numpy/numpy/pull/24305): MAINT: Prepare 1.26.x branch for development - [#​24308](https://togithub.com/numpy/numpy/pull/24308): MAINT: Massive update of files from main for numpy 1.26 - [#​24322](https://togithub.com/numpy/numpy/pull/24322): CI: fix wheel builds on the 1.26.x branch - [#​24326](https://togithub.com/numpy/numpy/pull/24326): BLD: update openblas to newer version - [#​24327](https://togithub.com/numpy/numpy/pull/24327): TYP: Trim down the `_NestedSequence.__getitem__` signature - [#​24328](https://togithub.com/numpy/numpy/pull/24328): BUG: fix choose refcount leak - [#​24337](https://togithub.com/numpy/numpy/pull/24337): TST: fix running the test suite in builds without BLAS/LAPACK - [#​24338](https://togithub.com/numpy/numpy/pull/24338): BUG: random: Fix generation of nan by dirichlet. - [#​24340](https://togithub.com/numpy/numpy/pull/24340): MAINT: Dependabot updates from main - [#​24342](https://togithub.com/numpy/numpy/pull/24342): MAINT: Add back NPY_RUN_MYPY_IN_TESTSUITE=1 - [#​24353](https://togithub.com/numpy/numpy/pull/24353): MAINT: Update `extbuild.py` from main. - [#​24356](https://togithub.com/numpy/numpy/pull/24356): TST: fix distutils tests for deprecations in recent setuptools... - [#​24375](https://togithub.com/numpy/numpy/pull/24375): MAINT: Update cibuildwheel to version 2.15.0 - [#​24381](https://togithub.com/numpy/numpy/pull/24381): MAINT: Fix codespaces setup.sh script - [#​24403](https://togithub.com/numpy/numpy/pull/24403): ENH: Vendor meson for multi-target build support - [#​24404](https://togithub.com/numpy/numpy/pull/24404): BLD: vendor meson-python to make the Windows builds with SIMD... - [#​24405](https://togithub.com/numpy/numpy/pull/24405): BLD, SIMD: The meson CPU dispatcher implementation - [#​24406](https://togithub.com/numpy/numpy/pull/24406): MAINT: Remove versioneer - [#​24409](https://togithub.com/numpy/numpy/pull/24409): REL: Prepare for the NumPy 1.26.0b1 release. - [#​24453](https://togithub.com/numpy/numpy/pull/24453): MAINT: Pin upper version of sphinx. - [#​24455](https://togithub.com/numpy/numpy/pull/24455): ENH: Add prefix to \_ALIGN Macro - [#​24456](https://togithub.com/numpy/numpy/pull/24456): BUG: cleanup warnings - [#​24460](https://togithub.com/numpy/numpy/pull/24460): MAINT: Upgrade to spin 0.5 - [#​24495](https://togithub.com/numpy/numpy/pull/24495): BUG: `asv dev` has been removed, use `asv run`. - [#​24496](https://togithub.com/numpy/numpy/pull/24496): BUG: Fix meson build failure due to unchanged inplace auto-generated... - [#​24521](https://togithub.com/numpy/numpy/pull/24521): BUG: fix issue with git-version script, needs a shebang to run - [#​24522](https://togithub.com/numpy/numpy/pull/24522): BUG: Use a default assignment for git_hash - [#​24524](https://togithub.com/numpy/numpy/pull/24524): BUG: fix NPY_cast_info error handling in choose - [#​24526](https://togithub.com/numpy/numpy/pull/24526): BUG: Fix common block handling in f2py - [#​24541](https://togithub.com/numpy/numpy/pull/24541): CI,TYP: Bump mypy to 1.4.1 - [#​24542](https://togithub.com/numpy/numpy/pull/24542): BUG: Fix assumed length f2py regression - [#​24544](https://togithub.com/numpy/numpy/pull/24544): MAINT: Harmonize fortranobject - [#​24545](https://togithub.com/numpy/numpy/pull/24545): TYP: add kind argument to numpy.isin type specification - [#​24561](https://togithub.com/numpy/numpy/pull/24561): BUG: fix comparisons between masked and unmasked structured arrays - [#​24590](https://togithub.com/numpy/numpy/pull/24590): CI: Exclude import libraries from list of DLLs on Cygwin. - [#​24591](https://togithub.com/numpy/numpy/pull/24591): BLD: fix `_umath_linalg` dependencies - [#​24594](https://togithub.com/numpy/numpy/pull/24594): MAINT: Stop testing on ppc64le. - [#​24602](https://togithub.com/numpy/numpy/pull/24602): BLD: meson-cpu: fix SIMD support on platforms with no features - [#​24606](https://togithub.com/numpy/numpy/pull/24606): BUG: Change Cython `binding` directive to "False". - [#​24613](https://togithub.com/numpy/numpy/pull/24613): ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including... - [#​24614](https://togithub.com/numpy/numpy/pull/24614): DOC: Update building docs to use Meson - [#​24615](https://togithub.com/numpy/numpy/pull/24615): TYP: Add the missing `casting` keyword to `np.clip` - [#​24616](https://togithub.com/numpy/numpy/pull/24616): TST: convert cython test from setup.py to meson - [#​24617](https://togithub.com/numpy/numpy/pull/24617): MAINT: Fixup `fromnumeric.pyi` - [#​24622](https://togithub.com/numpy/numpy/pull/24622): BUG, ENH: Fix `iso_c_binding` type maps and fix `bind(c)`... - [#​24629](https://togithub.com/numpy/numpy/pull/24629): TYP: Allow `binary_repr` to accept any object implementing... - [#​24630](https://togithub.com/numpy/numpy/pull/24630): TYP: Explicitly declare `dtype` and `generic` hashable - [#​24637](https://togithub.com/numpy/numpy/pull/24637): ENH: Refactor the typing "reveal" tests using `typing.assert_type` - [#​24638](https://togithub.com/numpy/numpy/pull/24638): MAINT: Bump actions/checkout from 3.6.0 to 4.0.0 - [#​24647](https://togithub.com/numpy/numpy/pull/24647): ENH: `meson` backend for `f2py` - [#​24648](https://togithub.com/numpy/numpy/pull/24648): MAINT: Refactor partial load Workaround for Clang - [#​24653](https://togithub.com/numpy/numpy/pull/24653): REL: Prepare for the NumPy 1.26.0rc1 release. - [#​24659](https://togithub.com/numpy/numpy/pull/24659): BLD: allow specifying the long double format to avoid the runtime... - [#​24665](https://togithub.com/numpy/numpy/pull/24665): BLD: fix bug in random.mtrand extension, don't link libnpyrandom - [#​24675](https://togithub.com/numpy/numpy/pull/24675): BLD: build wheels for 32-bit Python on Windows, using MSVC - [#​24700](https://togithub.com/numpy/numpy/pull/24700): BLD: fix issue with compiler selection during cross compilation - [#​24701](https://togithub.com/numpy/numpy/pull/24701): BUG: Fix data stmt handling for complex values in f2py - [#​24707](https://togithub.com/numpy/numpy/pull/24707): TYP: Add annotations for the py3.12 buffer protocol - [#​24718](https://togithub.com/numpy/numpy/pull/24718): DOC: fix a few doc build issues on 1.26.x and update `spin docs`... #### Checksums ##### MD5 052d84a2aaad4d5a455b64f5ff3f160b numpy-1.26.0-cp310-cp310-macosx_10_9_x86_64.whl 874567083be194080e97bea39ea7befd numpy-1.26.0-cp310-cp310-macosx_11_0_arm64.whl 1a5fa023e05e050b95549d355890fbb6 numpy-1.26.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2af03fbadd96360b26b993975709d072 numpy-1.26.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 32717dd51a915e9aee4dcca72acb00d0 numpy-1.26.0-cp310-cp310-musllinux_1_1_x86_64.whl 3f101e51b3b5f8c3f01256da645a1962 numpy-1.26.0-cp310-cp310-win32.whl d523a40f0a5f5ba94f09679adbabf825 numpy-1.26.0-cp310-cp310-win_amd64.whl 6115698fdf5fb8cf895540a57d12bfb9 numpy-1.26.0-cp311-cp311-macosx_10_9_x86_64.whl 207603ee822d8af4542f239b8c0a7a67 numpy-1.26.0-cp311-cp311-macosx_11_0_arm64.whl 0cc5f95c4aebab0ca4f9f66463981016 numpy-1.26.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl a4654b46bc10738825f37a1797e1eba5 numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3b037dc746499f2a19bb58b55fdd0bfb numpy-1.26.0-cp311-cp311-musllinux_1_1_x86_64.whl 7bfb0c44e95f765e7fc5a7a86968a56c numpy-1.26.0-cp311-cp311-win32.whl 3355b510410cb20bacfb3c87632a731a numpy-1.26.0-cp311-cp311-win_amd64.whl 9624a97f1df9f64054409d274c1502f3 numpy-1.26.0-cp312-cp312-macosx_10_9_x86_64.whl 53429b1349542c38b2f3822c7f2904d5 numpy-1.26.0-cp312-cp312-macosx_11_0_arm64.whl 66a21bf4d8a6372cc3c4c89a67b96279 numpy-1.26.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl cb9abc312090046563eae619c0b68210 numpy-1.26.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 49e3498e0e0ec5c1f6314fb86d7f006e numpy-1.26.0-cp312-cp312-musllinux_1_1_x86_64.whl f4a31765889478341597a7140044db85 numpy-1.26.0-cp312-cp312-win32.whl e7d7ded11f89baf760e5ba69249606e4 numpy-1.26.0-cp312-cp312-win_amd64.whl 19698f330ae322c4813eed6e790a04d5 numpy-1.26.0-cp39-cp39-macosx_10_9_x86_64.whl a3628f551d851fbcde6551adb8fcfe2b numpy-1.26.0-cp39-cp39-macosx_11_0_arm64.whl b34af2ddf43b28207ec7e2c837cbe35f numpy-1.26.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3d888129c86357ccfb779d9f0c1256f5 numpy-1.26.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl e49d00c779df59a786d9f41e0d73c520 numpy-1.26.0-cp39-cp39-musllinux_1_1_x86_64.whl 69f6aa8a0f3919797cb28fab7069a578 numpy-1.26.0-cp39-cp39-win32.whl 8233224840dcdda49b08da1d5e91a730 numpy-1.26.0-cp39-cp39-win_amd64.whl c11b4d1181b825407b71a1ac8ec04a10 numpy-1.26.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl 1515773d4f569d44c6a757cb5a636cb2 numpy-1.26.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 60dc766d863d8ab561b494a7a759d562 numpy-1.26.0-pp39-pypy39_pp73-win_amd64.whl 69bd28f07afbeed2bb6ecd467afcd469 numpy-1.26.0.tar.gz ##### SHA256 f8db2f125746e44dce707dd44d4f4efeea8d7e2b43aace3f8d1f235cfa2733dd numpy-1.26.0-cp310-cp310-macosx_10_9_x86_64.whl 0621f7daf973d34d18b4e4bafb210bbaf1ef5e0100b5fa750bd9cde84c7ac292 numpy-1.26.0-cp310-cp310-macosx_11_0_arm64.whl 51be5f8c349fdd1a5568e72713a21f518e7d6707bcf8503b528b88d33b57dc68 numpy-1.26.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 767254ad364991ccfc4d81b8152912e53e103ec192d1bb4ea6b1f5a7117040be numpy-1.26.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 436c8e9a4bdeeee84e3e59614d38c3dbd3235838a877af8c211cfcac8a80b8d3 numpy-1.26.0-cp310-cp310-musllinux_1_1_x86_64.whl c2e698cb0c6dda9372ea98a0344245ee65bdc1c9dd939cceed6bb91256837896 numpy-1.26.0-cp310-cp310-win32.whl 09aaee96c2cbdea95de76ecb8a586cb687d281c881f5f17bfc0fb7f5890f6b91 numpy-1.26.0-cp310-cp310-win_amd64.whl 637c58b468a69869258b8ae26f4a4c6ff8abffd4a8334c830ffb63e0feefe99a numpy-1.26.0-cp311-cp311-macosx_10_9_x86_64.whl 306545e234503a24fe9ae95ebf84d25cba1fdc27db971aa2d9f1ab6bba19a9dd numpy-1.26.0-cp311-cp311-macosx_11_0_arm64.whl 8c6adc33561bd1d46f81131d5352348350fc23df4d742bb246cdfca606ea1208 numpy-1.26.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl e062aa24638bb5018b7841977c360d2f5917268d125c833a686b7cbabbec496c numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 546b7dd7e22f3c6861463bebb000646fa730e55df5ee4a0224408b5694cc6148 numpy-1.26.0-cp311-cp311-musllinux_1_1_x86_64.whl c0b45c8b65b79337dee5134d038346d30e109e9e2e9d43464a2970e5c0e93229 numpy-1.26.0-cp311-cp311-win32.whl eae430ecf5794cb7ae7fa3808740b015aa80747e5266153128ef055975a72b99 numpy-1.26.0-cp311-cp311-win_amd64.whl 166b36197e9debc4e384e9c652ba60c0bacc216d0fc89e78f973a9760b503388 numpy-1.26.0-cp312-cp312-macosx_10_9_x86_64.whl f042f66d0b4ae6d48e70e28d487376204d3cbf43b84c03bac57e28dac6151581 numpy-1.26.0-cp312-cp312-macosx_11_0_arm64.whl e5e18e5b14a7560d8acf1c596688f4dfd19b4f2945b245a71e5af4ddb7422feb numpy-1.26.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 7f6bad22a791226d0a5c7c27a80a20e11cfe09ad5ef9084d4d3fc4a299cca505 numpy-1.26.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 4acc65dd65da28060e206c8f27a573455ed724e6179941edb19f97e58161bb69 numpy-1.26.0-cp312-cp312-musllinux_1_1_x86_64.whl bb0d9a1aaf5f1cb7967320e80690a1d7ff69f1d47ebc5a9bea013e3a21faec95 numpy-1.26.0-cp312-cp312-win32.whl ee84ca3c58fe48b8ddafdeb1db87388dce2c3c3f701bf447b05e4cfcc3679112 numpy-1.26.0-cp312-cp312-win_amd64.whl 4a873a8180479bc829313e8d9798d5234dfacfc2e8a7ac188418189bb8eafbd2 numpy-1.26.0-cp39-cp39-macosx_10_9_x86_64.whl 914b28d3215e0c721dc75db3ad6d62f51f630cb0c277e6b3bcb39519bed10bd8 numpy-1.26.0-cp39-cp39-macosx_11_0_arm64.whl c78a22e95182fb2e7874712433eaa610478a3caf86f28c621708d35fa4fd6e7f numpy-1.26.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 86f737708b366c36b76e953c46ba5827d8c27b7a8c9d0f471810728e5a2fe57c numpy-1.26.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl b44e6a09afc12952a7d2a58ca0a2429ee0d49a4f89d83a0a11052da696440e49 numpy-1.26.0-cp39-cp39-musllinux_1_1_x86_64.whl 5671338034b820c8d58c81ad1dafc0ed5a00771a82fccc71d6438df00302094b numpy-1.26.0-cp39-cp39-win32.whl 020cdbee66ed46b671429c7265cf00d8ac91c046901c55684954c3958525dab2 numpy-1.26.0-cp39-cp39-win_amd64.whl 0792824ce2f7ea0c82ed2e4fecc29bb86bee0567a080dacaf2e0a01fe7654369 numpy-1.26.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl 7d484292eaeb3e84a51432a94f53578689ffdea3f90e10c8b203a99be5af57d8 numpy-1.26.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 186ba67fad3c60dbe8a3abff3b67a91351100f2661c8e2a80364ae6279720299 numpy-1.26.0-pp39-pypy39_pp73-win_amd64.whl f93fc78fe8bf15afe2b8d6b6499f1c73953169fad1e9a8dd086cdff3190e7fdf numpy-1.26.0.tar.gz </details> <details> <summary>openai/openai-python (openai)</summary> ### [`v0.28.1`](https://togithub.com/openai/openai-python/releases/tag/v0.28.1) [Compare Source](https://togithub.com/openai/openai-python/compare/v0.28.0...v0.28.1) #### What's Changed - Update README.md to fix the fine-tuning model delete example by [@​logankilpatrick](https://togithub.com/logankilpatrick) in [https://github.com/openai/openai-python/pull/601](https://togithub.com/openai/openai-python/pull/601) - Revamp README to make examples front and center by [@​logankilpatrick](https://togithub.com/logankilpatrick) in [https://github.com/openai/openai-python/pull/603](https://togithub.com/openai/openai-python/pull/603) - Update pointer to Jupyter notebooks as finetuning doesn't exist by [@​shapor](https://togithub.com/shapor) in [https://github.com/openai/openai-python/pull/477](https://togithub.com/openai/openai-python/pull/477) - Update the wandb logger by [@​morganmcg1](https://togithub.com/morganmcg1) in [https://github.com/openai/openai-python/pull/590](https://togithub.com/openai/openai-python/pull/590) - \[azure] enable audio/whisper support by [@​kristapratico](https://togithub.com/kristapratico) in [https://github.com/openai/openai-python/pull/613](https://togithub.com/openai/openai-python/pull/613) - Update nested_resource_class_methods.py by [@​00arthur00](https://togithub.com/00arthur00) in [https://github.com/openai/openai-python/pull/612](https://togithub.com/openai/openai-python/pull/612) - Fix: SSE Stream parser expects additional space after colon "data:" by [@​michaelfeil](https://togithub.com/michaelfeil) in [https://github.com/openai/openai-python/pull/559](https://togithub.com/openai/openai-python/pull/559) - 🐛 fixed asyncio streaming bugs by [@​hynky1999](https://togithub.com/hynky1999) in [https://github.com/openai/openai-python/pull/584](https://togithub.com/openai/openai-python/pull/584) - Bugfix: Add param positional arg to InvalidRequestError by [@​wdhorton](https://togithub.com/wdhorton) in [https://github.com/openai/openai-python/pull/573](https://togithub.com/openai/openai-python/pull/573) #### New Contributors - [@​shapor](https://togithub.com/shapor) made their first contribution in [https://github.com/openai/openai-python/pull/477](https://togithub.com/openai/openai-python/pull/477) - [@​morganmcg1](https://togithub.com/morganmcg1) made their first contribution in [https://github.com/openai/openai-python/pull/590](https://togithub.com/openai/openai-python/pull/590) - [@​00arthur00](https://togithub.com/00arthur00) made their first contribution in [https://github.com/openai/openai-python/pull/612](https://togithub.com/openai/openai-python/pull/612) - [@​michaelfeil](https://togithub.com/michaelfeil) made their first contribution in [https://github.com/openai/openai-python/pull/559](https://togithub.com/openai/openai-python/pull/559) - [@​hynky1999](https://togithub.com/hynky1999) made their first contribution in [https://github.com/openai/openai-python/pull/584](https://togithub.com/openai/openai-python/pull/584) - [@​wdhorton](https://togithub.com/wdhorton) made their first contribution in [https://github.com/openai/openai-python/pull/573](https://togithub.com/openai/openai-python/pull/573) **Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.10...v0.28.1 </details> <details> <summary>pandas-dev/pandas (pandas)</summary> ### [`v2.1.2`](https://togithub.com/pandas-dev/pandas/releases/tag/v2.1.2): Pandas 2.1.2 [Compare Source](https://togithub.com/pandas-dev/pandas/compare/v2.1.1...v2.1.2) This is a patch release in the 2.1.x series and includes some regression and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/2.1.2/whatsnew/v2.1.2.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://togithub.com/pandas-dev/pandas/issues). Thanks to all the contributors who made this release possible. ### [`v2.1.1`](https://togithub.com/pandas-dev/pandas/releases/tag/v2.1.1): Pandas 2.1.1 [Compare Source](https://togithub.com/pandas-dev/pandas/compare/v2.1.0...v2.1.1) This is a patch release in the 2.1.x series and includes some regression and bug fixes. We recommend that all users upgrade to this version. See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/2.1.1/whatsnew/v2.1.1.html) for a list of all the changes. The release will be available on the defaults and conda-forge channels: conda install pandas Or via PyPI: python3 -m pip install --upgrade pandas Please report any issues with the release on the [pandas issue tracker](https://togithub.com/pandas-dev/pandas/issues). Thanks to all the contributors who made this release possible. </details> <details> <summary>pytest-dev/pytest (pytest)</summary> ### [`v7.4.3`](https://togithub.com/pytest-dev/pytest/releases/tag/v7.4.3): pytest 7.4.3 (2023-10-24) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.2...v7.4.3) ## Bug Fixes - [#​10447](https://togithub.com/pytest-dev/pytest/issues/10447): Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression. - [#​11239](https://togithub.com/pytest-dev/pytest/issues/11239): Fixed `:=` in asserts impacting unrelated test cases. - [#​11439](https://togithub.com/pytest-dev/pytest/issues/11439): Handled an edge case where :data:`sys.stderr` might already be closed when :ref:`faulthandler` is tearing down. ### [`v7.4.2`](https://togithub.com/pytest-dev/pytest/releases/tag/7.4.2): pytest 7.4.2 (2023-09-07) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.1...7.4.2) ##### Bug Fixes - [#​11237](https://togithub.com/pytest-dev/pytest/issues/11237): Fix doctest collection of `functools.cached_property` objects. - [#​11306](https://togithub.com/pytest-dev/pytest/issues/11306): Fixed bug using `--importmode=importlib` which would cause package `__init__.py` files to be imported more than once in some cases. - [#​11367](https://togithub.com/pytest-dev/pytest/issues/11367): Fixed bug where `user_properties` where not being saved in the JUnit XML file if a fixture failed during teardown. - [#​11394](https://togithub.com/pytest-dev/pytest/issues/11394): Fixed crash when parsing long command line arguments that might be interpreted as files. ##### Improved Documentation - [#​11391](https://togithub.com/pytest-dev/pytest/issues/11391): Improved disclaimer on pytest plugin reference page to better indicate this is an automated, non-curated listing. </details> <details> <summary>pytest-dev/pytest-mock (pytest-mock)</summary> ### [`v3.12.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.11.1...v3.12.0) - Added support for Python 3.12. - Dropped support for EOL Python 3.7. - `mocker.resetall()` now also resets mocks created by `mocker.create_autospec` (`#390`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://togithub.com/pytest-dev/pytest-mock/pull/390)0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/sawyerh/highlights). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [openai](https://togithub.com/openai/openai-python) | `^0.27.8` -> `^0.28.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/openai/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/openai/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/openai/0.27.8/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/openai/0.27.8/0.28.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>openai/openai-python (openai)</summary> ### [`v0.28.1`](https://togithub.com/openai/openai-python/releases/tag/v0.28.1) [Compare Source](https://togithub.com/openai/openai-python/compare/v0.28.0...v0.28.1) #### What's Changed - Update README.md to fix the fine-tuning model delete example by [@​logankilpatrick](https://togithub.com/logankilpatrick) in [https://github.com/openai/openai-python/pull/601](https://togithub.com/openai/openai-python/pull/601) - Revamp README to make examples front and center by [@​logankilpatrick](https://togithub.com/logankilpatrick) in [https://github.com/openai/openai-python/pull/603](https://togithub.com/openai/openai-python/pull/603) - Update pointer to Jupyter notebooks as finetuning doesn't exist by [@​shapor](https://togithub.com/shapor) in [https://github.com/openai/openai-python/pull/477](https://togithub.com/openai/openai-python/pull/477) - Update the wandb logger by [@​morganmcg1](https://togithub.com/morganmcg1) in [https://github.com/openai/openai-python/pull/590](https://togithub.com/openai/openai-python/pull/590) - \[azure] enable audio/whisper support by [@​kristapratico](https://togithub.com/kristapratico) in [https://github.com/openai/openai-python/pull/613](https://togithub.com/openai/openai-python/pull/613) - Update nested_resource_class_methods.py by [@​00arthur00](https://togithub.com/00arthur00) in [https://github.com/openai/openai-python/pull/612](https://togithub.com/openai/openai-python/pull/612) - Fix: SSE Stream parser expects additional space after colon "data:" by [@​michaelfeil](https://togithub.com/michaelfeil) in [https://github.com/openai/openai-python/pull/559](https://togithub.com/openai/openai-python/pull/559) - 🐛 fixed asyncio streaming bugs by [@​hynky1999](https://togithub.com/hynky1999) in [https://github.com/openai/openai-python/pull/584](https://togithub.com/openai/openai-python/pull/584) - Bugfix: Add param positional arg to InvalidRequestError by [@​wdhorton](https://togithub.com/wdhorton) in [https://github.com/openai/openai-python/pull/573](https://togithub.com/openai/openai-python/pull/573) #### New Contributors - [@​shapor](https://togithub.com/shapor) made their first contribution in [https://github.com/openai/openai-python/pull/477](https://togithub.com/openai/openai-python/pull/477) - [@​morganmcg1](https://togithub.com/morganmcg1) made their first contribution in [https://github.com/openai/openai-python/pull/590](https://togithub.com/openai/openai-python/pull/590) - [@​00arthur00](https://togithub.com/00arthur00) made their first contribution in [https://github.com/openai/openai-python/pull/612](https://togithub.com/openai/openai-python/pull/612) - [@​michaelfeil](https://togithub.com/michaelfeil) made their first contribution in [https://github.com/openai/openai-python/pull/559](https://togithub.com/openai/openai-python/pull/559) - [@​hynky1999](https://togithub.com/hynky1999) made their first contribution in [https://github.com/openai/openai-python/pull/584](https://togithub.com/openai/openai-python/pull/584) - [@​wdhorton](https://togithub.com/wdhorton) made their first contribution in [https://github.com/openai/openai-python/pull/573](https://togithub.com/openai/openai-python/pull/573) **Full Changelog**: openai/openai-python@v0.27.10...v0.28.1 ### [`v0.28.0`](https://togithub.com/openai/openai-python/releases/tag/v0.28.0) [Compare Source](https://togithub.com/openai/openai-python/compare/v0.27.10...v0.28.0) #### What's Changed - \[fine_tuning] fix pagination for auto-generated list_events ([#​188](https://togithub.com/openai/openai-python/issues/188)) by [@​jhallard](https://togithub.com/jhallard) in [https://github.com/openai/openai-python/pull/597](https://togithub.com/openai/openai-python/pull/597) **Full Changelog**: openai/openai-python@v0.27.10...v0.28.0 ### [`v0.27.10`](https://togithub.com/openai/openai-python/releases/tag/v0.27.10) [Compare Source](https://togithub.com/openai/openai-python/compare/v0.27.9...v0.27.10) #### What's Changed - Update README.md with fine-tuning examples by [@​logankilpatrick](https://togithub.com/logankilpatrick) in [https://github.com/openai/openai-python/pull/583](https://togithub.com/openai/openai-python/pull/583) - \[fine_tuning] Add CLI for fine_tuning.jobs by [@​jhallard](https://togithub.com/jhallard) in [https://github.com/openai/openai-python/pull/592](https://togithub.com/openai/openai-python/pull/592) **Full Changelog**: openai/openai-python@v0.27.9...v0.27.10 ### [`v0.27.9`](https://togithub.com/openai/openai-python/releases/tag/v0.27.9) [Compare Source](https://togithub.com/openai/openai-python/compare/v0.27.8...v0.27.9) ##### What's Changed - catch asyncio.TimeoutError in \_interpret_async_response by [@​vik-goel](https://togithub.com/vik-goel) in [https://github.com/openai/openai-python/pull/489](https://togithub.com/openai/openai-python/pull/489) - Add api_version and organization field in Audio API requests by [@​yutian-openai](https://togithub.com/yutian-openai) in [https://github.com/openai/openai-python/pull/514](https://togithub.com/openai/openai-python/pull/514) - Update docstring in chat_completion API resource by [@​athyuttamre](https://togithub.com/athyuttamre) in [https://github.com/openai/openai-python/pull/527](https://togithub.com/openai/openai-python/pull/527) - Update chatml.md by [@​logankilpatrick](https://togithub.com/logankilpatrick) in [https://github.com/openai/openai-python/pull/580](https://togithub.com/openai/openai-python/pull/580) - Update README.md to show newer completions models by [@​logankilpatrick](https://togithub.com/logankilpatrick) in [https://github.com/openai/openai-python/pull/578](https://togithub.com/openai/openai-python/pull/578) - doc: fix readme azure example code by [@​whysage](https://togithub.com/whysage) in [https://github.com/openai/openai-python/pull/571](https://togithub.com/openai/openai-python/pull/571) - Updates to the fine tuning SDK + addition of pagination primitives by [@​jhallard](https://togithub.com/jhallard) in [https://github.com/openai/openai-python/pull/582](https://togithub.com/openai/openai-python/pull/582) ##### New Contributors - [@​vik-goel](https://togithub.com/vik-goel) made their first contribution in [https://github.com/openai/openai-python/pull/489](https://togithub.com/openai/openai-python/pull/489) - [@​yutian-openai](https://togithub.com/yutian-openai) made their first contribution in [https://github.com/openai/openai-python/pull/514](https://togithub.com/openai/openai-python/pull/514) - [@​whysage](https://togithub.com/whysage) made their first contribution in [https://github.com/openai/openai-python/pull/571](https://togithub.com/openai/openai-python/pull/571) **Full Changelog**: openai/openai-python@v0.27.8...v0.27.9 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/sawyerh/highlights). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…penai#559) * Update api_requestor.py * fix: SSE event for api_requestor.py
This commit updates the SSE parser to handle cases where there is an optional space after the "data:" prefix. Described in detail here - #498
To address this, I modified the parser code to use the startswith method and then strip any leading or trailing whitespaces from the line. This ensures that the parser can handle both cases where there is a space after "data:" and where there isn't. The modified code now correctly decodes the line as UTF-8 and returns the parsed data.
This change improves compatibility with different SSE implementations and ensures that the parser functions correctly in various scenarios. It provides a more flexible solution that aligns with the SSE specification and accommodates libraries like springframework that omit the space after "data:".
Fixes #498