Hugo van Kemenade
04daf02b94
[pre-commit.ci] pre-commit autoupdate ( #624 )
2024-04-01 21:02:10 +03:00
Hugo van Kemenade
362c88a8b5
Use Black mirror
2024-04-01 11:58:55 -06:00
pre-commit-ci[bot]
e96c8cfee3
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v3.15.0...v3.15.2 )
- [github.com/psf/black: 23.12.1 → 24.3.0](https://github.com/psf/black/compare/23.12.1...24.3.0 )
- [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.0.0 )
2024-04-01 17:55:50 +00:00
Hugo van Kemenade
fbf7afff00
Update pypa/cibuildwheel action to v2.17.0 ( #623 )
2024-04-01 08:47:36 +03:00
renovate[bot]
08f14e5938
Update pypa/cibuildwheel action to v2.17.0
2024-04-01 01:26:13 +00:00
Hugo van Kemenade
6aeaa9626a
Update github-actions ( #622 )
2024-03-01 12:13:14 +02:00
renovate[bot]
9cdf1e1aa7
Update github-actions
2024-03-01 01:45:14 +00:00
renovate[bot]
45e00b34c4
Update pypa/cibuildwheel action to v2.16.5
2024-02-01 13:26:45 +00:00
Hugo van Kemenade
0d2d8c5450
Remove unused docker/setup-buildx-action ( #619 )
2024-01-05 13:40:33 +02:00
Hugo van Kemenade
d7b4d62d1b
Remove unused docker/setup-buildx-action from test.yml
2024-01-05 08:59:06 +02:00
Hugo van Kemenade
455ac40868
Remove unused docker/setup-buildx-action from deploy.yml
2024-01-04 11:36:56 +02:00
Hugo van Kemenade
f7c37eca0e
[pre-commit.ci] pre-commit autoupdate ( #618 )
2024-01-01 20:07:16 +02:00
pre-commit-ci[bot]
aea81d8f8b
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v3.13.0 → v3.15.0](https://github.com/asottile/pyupgrade/compare/v3.13.0...v3.15.0 )
- [github.com/psf/black: 23.9.1 → 23.12.1](https://github.com/psf/black/compare/23.9.1...23.12.1 )
- [github.com/PyCQA/isort: 5.12.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.12.0...5.13.2 )
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0 )
- [github.com/asottile/setup-cfg-fmt: v2.4.0 → v2.5.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.4.0...v2.5.0 )
2024-01-01 17:44:15 +00:00
Hugo van Kemenade
d7cc8aca02
Update github-actions ( #617 )
2024-01-01 11:12:28 +02:00
renovate[bot]
86de8d31a5
Update github-actions
2024-01-01 03:10:31 +00:00
Eugene Toder
381f248e03
Speedup dumps with sorted keys
...
Do not create a list of tuples with (converted key, value) upfront.
Instead, convert keys and fetch values during iteration.
Also, if sorting fails, preserve the original exception instead of
overwriting it with a less informative ValueError. This is the same
behavior as the standard library's json module.
2023-12-10 21:11:20 +00:00
Eugene Toder
eda5ecd2c2
Speed-up and cleanup objToJSON
...
* Use PyDict_Next() to iterate over dicts.
* Use macros to access lists, tuples, bytes.
* Avoid calling PyErr_Occurred() if not necessary.
* Fix a memory leak when encoding very large ints.
* Delete dead and duplicate code.
Also,
* Raise TypeError if toDict() returns a non-dict instead of silently
converting it to null.
2023-12-10 21:11:20 +00:00
Eugene Toder
a08b75b970
Use lowercase strings for bool dict keys
...
Fixes #613
Also,
* Consolidate key conversion for sorted and unsorted cases.
* Fix memory leak of the "null" string when handling None dict key.
2023-11-27 17:26:17 +00:00
Hugo van Kemenade
1c8188dedc
Update pypa/cibuildwheel action to v2.16.2 ( #612 )
2023-11-01 19:17:12 +02:00
Hugo van Kemenade
40e342e7c6
Don't invoke setup.py directly
2023-11-01 18:09:14 +02:00
renovate[bot]
87c2a9db0a
Update pypa/cibuildwheel action to v2.16.2
2023-11-01 00:09:49 +00:00
Hugo van Kemenade
748dd1bcf9
README: replace expired esn.me with example.com ( #611 )
2023-10-26 21:05:30 +03:00
Hugo van Kemenade
b348b90d0a
README: replace expired esn.me with example.com
2023-10-26 16:18:38 +03:00
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
([#​1625](https://togithub.com/pypa/cibuildwheel/issues/1625 ))
- 🛠 Only calls `linux32` in containers when necessary
([#​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
([#​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/ )!)
([#​1589](https://togithub.com/pypa/cibuildwheel/issues/1589 ))
- 🛠 Updates the prerelease CPython 3.12 version to 3.12.0rc2
([#​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
([#​1613](https://togithub.com/pypa/cibuildwheel/issues/1613 ))
- 🐛 Fix a bug that prevented building Linux wheels in Docker on a
Windows host
([#​1573](https://togithub.com/pypa/cibuildwheel/issues/1573 ))
- 🐛 `--only` can now select prerelease-pythons
([#​1564](https://togithub.com/pypa/cibuildwheel/issues/1564 ))
- 📚 Docs & examples updates
([#​1582](https://togithub.com/pypa/cibuildwheel/issues/1582 ),
[#​1593](https://togithub.com/pypa/cibuildwheel/issues/1593 ),
[#​1598](https://togithub.com/pypa/cibuildwheel/issues/1598 ),
[#​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.
([#​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.
([#​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 )
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