1
0
Fork 0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-05-07 05:36:11 +02:00
Commit Graph

916 Commits

Author SHA1 Message Date
Hugo van Kemenade 297024b0ed Build wheel for Python 3.12 beta 2023-06-03 13:54:30 +03:00
Hugo van Kemenade 092df91fb0
Remove unmaintained nujson from benchmark and bump to Python 3.11 (#593) 2023-06-02 19:00:28 +03:00
Hugo van Kemenade 44e756a846 Update benchmark results from CI run
re: https://github.com/hugovk/ultrajson/actions/runs/5148581127/jobs/9270556867
2023-06-02 09:04:22 +03:00
Hugo van Kemenade cae2f92e27 'git fetch --prune --unshallow' like deploy.yml 2023-06-01 22:54:54 +03:00
Hugo van Kemenade 2165bcd609 Update benchmark results from CI run
re: https://github.com/hugovk/ultrajson/actions/runs/5148167409/jobs/9269512936
2023-06-01 22:13:29 +03:00
Hugo van Kemenade ff7607b3d7 Fetch all tags for setuptools_scm 2023-06-01 22:06:47 +03:00
Hugo van Kemenade cd759067b0 Update benchmark results from CI run
re: https://github.com/hugovk/ultrajson/actions/runs/5145083552/jobs/9262222063
2023-06-01 16:59:05 +03:00
Hugo van Kemenade 449761b9c6 Add build trigger 2023-06-01 16:39:50 +03:00
Hugo van Kemenade ab1099ae0d Remove unmaintained nujson from benchmark and bump to Python 3.11 2023-06-01 15:37:10 +03:00
renovate[bot] 1d38f892e6 Update pypa/cibuildwheel action to v2.13.0 2023-06-01 07:22:23 +01:00
Hugo van Kemenade 6a49e2f541
Update github-actions (#590)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[mheap/github-action-required-labels](https://togithub.com/mheap/github-action-required-labels)
| action | major | `v3` -> `v4` |
| [pypa/cibuildwheel](https://togithub.com/pypa/cibuildwheel) | action |
patch | `v2.12.1` -> `v2.12.3` |

---

### Release Notes

<details>
<summary>mheap/github-action-required-labels</summary>

###
[`v4`](https://togithub.com/mheap/github-action-required-labels/releases/tag/v4)

[Compare
Source](https://togithub.com/mheap/github-action-required-labels/compare/v3...v4)

Tag that always points to the latest commit in the v4.x.x series of
releases

</details>

<details>
<summary>pypa/cibuildwheel</summary>

###
[`v2.12.3`](https://togithub.com/pypa/cibuildwheel/releases/tag/v2.12.3)

[Compare
Source](https://togithub.com/pypa/cibuildwheel/compare/v2.12.2...v2.12.3)

- 🐛 Fix an import error when running on Python 3.7.
([#&#8203;1479](https://togithub.com/pypa/cibuildwheel/issues/1479))

###
[`v2.12.2`](https://togithub.com/pypa/cibuildwheel/releases/tag/v2.12.2)

[Compare
Source](https://togithub.com/pypa/cibuildwheel/compare/v2.12.1...v2.12.2)

- 🐛 Fix a bug that caused an extra empty config-setting to be passed to
the backend when CIBW_BUILD_FRONTEND is set to `build`.
([#&#8203;1474](https://togithub.com/pypa/cibuildwheel/issues/1474))
- 🐛 Fix a crash that occurred when overwriting an existing wheel on
Windows.
([#&#8203;1464](https://togithub.com/pypa/cibuildwheel/issues/1464))
- 🛠 Pinned version updates, including CPython 3.10.11, 3.11.3, pip 23.1
and wheel 0.40.0.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "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://app.renovatebot.com/dashboard#github/ultrajson/ultrajson).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
2023-05-01 07:36:33 +03:00
renovate[bot] f0be4fb08a
Update github-actions 2023-05-01 02:29:06 +00:00
pre-commit-ci[bot] 6035e09077 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.12.0 → 23.3.0](https://github.com/psf/black/compare/22.12.0...23.3.0)
- [github.com/pre-commit/pygrep-hooks: v1.9.0 → v1.10.0](https://github.com/pre-commit/pygrep-hooks/compare/v1.9.0...v1.10.0)
2023-04-04 05:50:55 +01:00
Hugo van Kemenade 56a74a05a7
Merge pull request #587 from ultrajson/renovate/github-actions
Update pypa/cibuildwheel action to v2.12.1
2023-04-01 06:03:55 +00:00
renovate[bot] 881d7bcdf7
Update pypa/cibuildwheel action to v2.12.1 2023-04-01 03:08:59 +00:00
Hugo van Kemenade f00bfe9a36
Merge pull request #585 from ultrajson/all-repos_autofix_fix-deprecated-repository_url
Replace deprecated repository_url with repository-url
2023-03-19 18:00:55 +02:00
Hugo van Kemenade 7e8944685b Replace deprecated repository_url with repository-url
Committed via https://github.com/asottile/all-repos
2023-03-19 15:53:20 +02:00
Benjamin A. Beasley 54497bd583 Include BSD-3-Clause and TCL license text
Both of these licenses require the copyright notice and the license text
to be distributed in all copies. Instead of merely mentioning them,
include the full text in LICENSE.txt

Fixes #565; see that issue for further analysis.
2023-03-10 20:18:43 +00:00
Hugo van Kemenade 2fe4237879
Merge pull request #581 from JustAnotherArchivist/test-enum
Add test for int- and float-derived Enums
2023-02-09 00:00:24 +02:00
JustAnotherArchivist b40d35a89b Add test for int- and float-derived Enums
The stdlib json module has supported these since Python 3.4. Since `enum.IntEnum` is an `int` subclass (and hence `PyLong_*` work as expected), ujson has supported them for a long time as well, but this was so far not tested.
2023-02-08 17:46:16 +00:00
Hugo van Kemenade 15285c8414
Merge pull request #580 from ultrajson/all-repos_autofix_all-repos-sed 2023-01-29 13:31:20 +02:00
Hugo van Kemenade e4e13209a3 Bump isort to fix Poetry
Re: https://github.com/PyCQA/isort/pull/2078

Committed via https://github.com/asottile/all-repos
2023-01-29 13:27:28 +02:00
Hugo van Kemenade 72e6495d06
Merge pull request #579 from ultrajson/renovate/github-actions
Update github-actions
2023-01-27 21:11:33 +02:00
renovate[bot] 6b5354cb7b
Update github-actions 2023-01-27 18:19:33 +00:00
Hugo van Kemenade 47c6f4657a
Merge pull request #577 from ultrajson/renovate/configure 2023-01-27 18:42:02 +02:00
Hugo van Kemenade a1bec163df Use pypa/cibuildwheel action 2023-01-27 17:13:43 +02:00
Hugo van Kemenade d391f6f13b Add 'dependencies' label and re-arrange 2023-01-27 16:49:58 +02:00
Hugo van Kemenade 02c73b9a78 Add labels and group Renovate PRs, run monthly 2023-01-27 16:39:11 +02:00
renovate[bot] bab9518e0c
Add renovate.json 2023-01-27 14:35:38 +00:00
Hugo van Kemenade 7ae42dc18d
Merge pull request #575 from ultrajson/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-01-02 22:40:29 +02:00
pre-commit-ci[bot] 6811883090
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.38.2 → v3.3.1](https://github.com/asottile/pyupgrade/compare/v2.38.2...v3.3.1)
- [github.com/psf/black: 22.8.0 → 22.12.0](https://github.com/psf/black/compare/22.8.0...22.12.0)
- [github.com/PyCQA/isort: 5.10.1 → 5.11.4](https://github.com/PyCQA/isort/compare/5.10.1...5.11.4)
- [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...6.0.0)
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
2023-01-02 19:45:09 +00:00
Brénainn Woodsend 1876c02e0f Limit loading from bytes-like to just bytes() and bytearray() on PyPy.
Due to a bug in PyPy [1], PyObject_GetBuffer() fails to detect non C
contiguous inputs. Allowing ujson.loads() to run on non-contiguous
buffers such as a strided NumPy array would lead to mayhem. Approximate
the intention of PyObject_GetBuffer() by explicitly checking that the
input is within the set of common bytes-like objects known to be
unconditionally C contiguous.

- [1]: https://foss.heptapod.net/pypy/pypy/-/issues/3872
2022-12-20 23:35:38 +00:00
Brénainn Woodsend 87dd1173ae Support ujson.loads(bytearray(...)) and other bytes-like objects. 2022-12-20 23:35:38 +00:00
Hugo van Kemenade 18607247be
Merge pull request #571 from ultrajson/all-repos_autofix_add-3.12-dev 2022-11-09 21:40:51 +02:00
Hugo van Kemenade abb49512bf Test Python 3.12-dev
Committed via https://github.com/asottile/all-repos
2022-11-09 13:44:19 +02:00
Joe Marshall 2907fdebe6
Update vendored double-conversion to 3.2.1 (#570)
Doing so allows for building on webassembly. Officially declareing support for WASM
however will have to wait until https://github.com/pyodide/pytest-pyodide/pull/59 is
merged to facilitate testing WASM compatibility.
2022-11-03 19:54:52 +00:00
Hugo van Kemenade 13da58c86d
Merge pull request #569 from ultrajson/3.11-dev-to-3.11 2022-10-26 15:41:45 +03:00
Hugo van Kemenade 7d5e8fc1c6
Replace 3.11-dev with 3.11 2022-10-26 15:37:13 +03:00
Hugo van Kemenade 87c74e3da1
Merge pull request #568 from ultrajson/all-repos_autofix_all-repos-sed 2022-10-26 15:13:32 +03:00
Hugo van Kemenade 423bcd3964 Replace 3.11-dev with 3.11
Committed via https://github.com/asottile/all-repos
2022-10-26 15:08:18 +03:00
Hugo van Kemenade 36ced8636b
Merge pull request #567 from marioga/marioga_prevent_int_overflow 2022-10-14 20:20:08 +02:00
pre-commit-ci[bot] ec095e406b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-14 17:52:52 +00:00
Mario Garcia-Armas 1161d5d27d Add checks to test suite and improve comments 2022-10-14 17:52:37 +00:00
Mario Garcia-Armas 4d82888289 Fix flake8 2022-10-11 19:53:40 +00:00
pre-commit-ci[bot] 2013758dc2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-11 19:48:46 +00:00
Mario Garcia-Armas 6f6e69c119 Added unittest where int overflow causes exception 2022-10-11 19:48:32 +00:00
Mario Garcia-Armas fb96b9037c Fix len integer overflow issue 2022-10-04 23:16:08 +00:00
Hugo van Kemenade 7db453bac5
Merge pull request #566 from ultrajson/pre-commit-ci-update-config 2022-10-03 12:06:41 -07:00
pre-commit-ci[bot] a967d9ada4
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.34.0 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.38.2)
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.4](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.4)
2022-10-03 18:54:29 +00:00
Hugo van Kemenade d84c832060
Merge pull request #564 from hugovk/add-3.11 2022-09-15 14:22:12 +03:00