1
0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-11-26 10:23:45 +01:00
Commit Graph

893 Commits

Author SHA1 Message Date
Dimitri Papadopoulos Orfanos
b7a4dfda0a
Fix typos found by codespell (#610) 2023-10-17 18:45:44 +01:00
pre-commit-ci[bot]
e00814cdc1 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.8.0 → v3.13.0](https://github.com/asottile/pyupgrade/compare/v3.8.0...v3.13.0)
- [github.com/psf/black: 23.3.0 → 23.9.1](https://github.com/psf/black/compare/23.3.0...23.9.1)
- [github.com/PyCQA/flake8: 6.0.0 → 6.1.0](https://github.com/PyCQA/flake8/compare/6.0.0...6.1.0)
2023-10-02 23:48:07 +01:00
William Ayd
0959d18cfa
Fix undefined behavior in Buffer_AppendLongUnchecked (#606)
This was flagged when running with UBSAN
2023-10-01 23:41:23 +01:00
Hugo van Kemenade
a967539cdc
Update github-actions (#608)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
major | `v3` -> `v4` |
|
[docker/setup-buildx-action](https://togithub.com/docker/setup-buildx-action)
| action | major | `v2` -> `v3` |
|
[docker/setup-qemu-action](https://togithub.com/docker/setup-qemu-action)
| action | major | `v2` -> `v3` |
| [pypa/cibuildwheel](https://togithub.com/pypa/cibuildwheel) | action |
minor | `v2.15.0` -> `v2.16.1` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

###
[`v4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v400)

[Compare Source](https://togithub.com/actions/checkout/compare/v3...v4)

- [Support fetching without the --progress
option](https://togithub.com/actions/checkout/pull/1067)
-   [Update to node20](https://togithub.com/actions/checkout/pull/1436)

</details>

<details>
<summary>docker/setup-buildx-action
(docker/setup-buildx-action)</summary>

###
[`v3`](https://togithub.com/docker/setup-buildx-action/compare/v2...v3)

[Compare
Source](https://togithub.com/docker/setup-buildx-action/compare/v2...v3)

</details>

<details>
<summary>docker/setup-qemu-action (docker/setup-qemu-action)</summary>

###
[`v3`](https://togithub.com/docker/setup-qemu-action/compare/v2...v3)

[Compare
Source](https://togithub.com/docker/setup-qemu-action/compare/v2...v3)

</details>

<details>
<summary>pypa/cibuildwheel (pypa/cibuildwheel)</summary>

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

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

- 🛠 Updates the prerelease CPython 3.12 version to 3.12.0rc3
([#&#8203;1625](https://togithub.com/pypa/cibuildwheel/issues/1625))
- 🛠 Only calls `linux32` in containers when necessary
([#&#8203;1599](https://togithub.com/pypa/cibuildwheel/issues/1599))

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

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

-  Add the ability to pass additional flags to a build frontend through
the
[CIBW_BUILD_FRONTEND](https://cibuildwheel.readthedocs.io/en/stable/options/#build-frontend)
option
([#&#8203;1588](https://togithub.com/pypa/cibuildwheel/issues/1588)).
-  The environment variable SOURCE_DATE_EPOCH is now automatically
passed through to container Linux builds (useful for [reproducible
builds](https://reproducible-builds.org/docs/source-date-epoch/)!)
([#&#8203;1589](https://togithub.com/pypa/cibuildwheel/issues/1589))
- 🛠 Updates the prerelease CPython 3.12 version to 3.12.0rc2
([#&#8203;1604](https://togithub.com/pypa/cibuildwheel/issues/1604))
- 🐛 Fix `requires_python` auto-detection from setup.py when the call to
`setup()` is within an `if __name__ == "__main__"` block
([#&#8203;1613](https://togithub.com/pypa/cibuildwheel/issues/1613))
- 🐛 Fix a bug that prevented building Linux wheels in Docker on a
Windows host
([#&#8203;1573](https://togithub.com/pypa/cibuildwheel/issues/1573))
- 🐛 `--only` can now select prerelease-pythons
([#&#8203;1564](https://togithub.com/pypa/cibuildwheel/issues/1564))
- 📚 Docs & examples updates
([#&#8203;1582](https://togithub.com/pypa/cibuildwheel/issues/1582),
[#&#8203;1593](https://togithub.com/pypa/cibuildwheel/issues/1593),
[#&#8203;1598](https://togithub.com/pypa/cibuildwheel/issues/1598),
[#&#8203;1615](https://togithub.com/pypa/cibuildwheel/issues/1615))

</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://developer.mend.io/github/ultrajson/ultrajson).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
2023-09-30 23:39:03 -06:00
renovate[bot]
92eae19d88
Update github-actions 2023-10-01 00:18:46 +00:00
Hugo van Kemenade
6c2514eb19
Update pypa/cibuildwheel action to v2.15.0 (#604)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [pypa/cibuildwheel](https://togithub.com/pypa/cibuildwheel) | action |
minor | `v2.14.1` -> `v2.15.0` |

---

### Release Notes

<details>
<summary>pypa/cibuildwheel (pypa/cibuildwheel)</summary>

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

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

- 🌟 CPython 3.12 wheels are now built by default - without the
CIBW_PRERELEASE_PYTHONS flag. It's time to build and upload these wheels
to PyPI! This release includes CPython 3.12.0rc1, which is guaranteed to
be ABI compatible with the final release.
([#&#8203;1565](https://togithub.com/pypa/cibuildwheel/issues/1565))
-  Adds musllinux\_1\_2 support - this allows packagers to build for
musl-based Linux distributions on a more recent Alpine image, and a
newer musl libc.
([#&#8203;1561](https://togithub.com/pypa/cibuildwheel/issues/1561))

</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.

🔕 **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/ultrajson/ultrajson).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
2023-08-17 19:45:08 +03:00
renovate[bot]
fe4990fb22
Update pypa/cibuildwheel action to v2.15.0 2023-08-17 16:09:56 +00:00
Hugo van Kemenade
e9e1e6cb64
Deploy to PyPI using trusted publishing (#603) 2023-08-17 17:50:59 +03:00
Hugo van Kemenade
2080d73c67 Deploy to PyPI using trusted publishing 2023-08-02 10:24:15 +03:00
Hugo van Kemenade
a179fb55db
Replace PyPy3.8 wheel with PyPy3.10 (#602) 2023-08-02 10:05:40 +03:00
Hugo van Kemenade
50eb227b52 Replace PyPy3.8 wheel with PyPy3.10 2023-08-01 19:51:30 +03:00
renovate[bot]
1da76b50bf Update pypa/cibuildwheel action to v2.14.1 2023-08-01 15:27:53 +01:00
Hugo van Kemenade
a2bfefbffb
[pre-commit.ci] pre-commit autoupdate (#599)
<!--pre-commit.ci start-->
updates:
- [github.com/asottile/pyupgrade: v3.4.0 →
v3.8.0](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.8.0)
- [github.com/asottile/setup-cfg-fmt: v2.3.0 →
v2.4.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.3.0...v2.4.0)
<!--pre-commit.ci end-->
2023-07-04 00:18:39 +03:00
pre-commit-ci[bot]
e52a512dd2
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.4.0 → v3.8.0](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.8.0)
- [github.com/asottile/setup-cfg-fmt: v2.3.0 → v2.4.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.3.0...v2.4.0)
2023-07-03 21:10:25 +00:00
Hugo van Kemenade
847b4e9bc0
CI: Replace pypy3.8 with pypy3.10 (#598) 2023-06-20 16:32:29 +03:00
Hugo van Kemenade
cf60892569 CI: Replace pypy3.8 with pypy3.10 2023-06-18 22:57:18 +03:00
Hugo van Kemenade
7ce19144fd
Update github-actions (#597) 5.8.0 2023-06-11 11:05:55 +03:00
renovate[bot]
0b40ecee9b
Update github-actions 2023-06-10 15:23:36 +00:00
Hugo van Kemenade
db1138ad8d
CI deploy: Upload all wheels from a single, final job (#596) 2023-06-07 23:24:28 +03:00
Hugo van Kemenade
3e51d20c21 Upload wheels before the sdist 2023-06-07 19:58:06 +03:00
Hugo van Kemenade
54f5dfe3b6 Upload all wheels from a single, final job 2023-06-06 23:01:03 +03:00
Hugo van Kemenade
b5279144da
Drop support for Python 3.7 (#595) 2023-06-04 23:26:14 +03:00
Hugo van Kemenade
b042a391af
Merge branch 'main' into rm-3.7 2023-06-04 23:22:05 +03:00
Hugo van Kemenade
e1dfadc2b4
Build wheel for Python 3.12 beta (#594) 2023-06-04 22:46:55 +03:00
Hugo van Kemenade
ffd17da5e4 Add 3.12 classifier 2023-06-03 15:24:46 +03:00
Hugo van Kemenade
7a8fed27ec Drop support for Python 3.7 2023-06-03 14:22:03 +03:00
Hugo van Kemenade
cd07834e52 Use pypa/gh-action-pypi-publish consistently instead of twine 2023-06-03 13:54:30 +03:00
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