pre-commit-ci[bot]
2421524a1c
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-04-04 19:28:00 +00:00
Jon Crall
9f0326265d
Update tests/test_ujson.py
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-04-04 15:27:41 -04:00
Hugo van Kemenade
beb3296e7c
Merge pull request #516 from ultrajson/pre-commit-ci-update-config
2022-04-04 21:30:14 +03:00
pre-commit-ci[bot]
3f9f9076fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-04-04 18:22:41 +00:00
joncrall
bb35930777
Added more nan/inf tests
2022-04-04 14:22:24 -04:00
pre-commit-ci[bot]
85623a0437
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1 )
- [github.com/asottile/setup-cfg-fmt: v1.20.0 → v1.20.1](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.0...v1.20.1 )
2022-04-04 18:01:31 +00:00
joncrall
749012c4a4
Ran black
2022-04-04 13:56:19 -04:00
joncrall
13aa30e152
Fix nan bug in pandas port
2022-04-04 13:56:19 -04:00
joncrall
f090103b31
NaN and Inf in loads - Port of Pandas #30295
2022-04-04 13:56:11 -04:00
Hugo van Kemenade
b3c96d0bd9
Merge pull request #515 from ultrajson/hugovk-patch-1
...
Upgrade Black to fix Click
2022-04-04 07:31:27 +03:00
pre-commit-ci[bot]
c930b22f18
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-04-03 21:53:28 +00:00
Hugo van Kemenade
e185a9fd09
Upgrade Black to fix Click
2022-04-04 00:53:18 +03:00
Hugo van Kemenade
20927fdf82
Upgrade Black to fix Click
2022-04-04 00:51:27 +03:00
Hugo van Kemenade
aa0d2c8517
Merge pull request #511 from ultrajson/all-repos_autofix_all-repos-sed
...
Upgrade to actions/setup-python@v3
2022-03-01 12:50:43 +02:00
Hugo van Kemenade
0ecfcf39db
Upgrade to actions/setup-python@v3
...
Committed via https://github.com/asottile/all-repos
2022-03-01 11:48:23 +02:00
RouquinBlanc
e6dc25cf12
simplify exception handling on integer overflow
2022-02-20 11:01:24 +00:00
JustAnotherArchivist
f9aa23b5e6
Remove dead code that used to handle the separate int type in Python 2
2022-02-20 10:59:11 +00:00
Ben Beasley
fbae6a31ce
Support dynamically linking against system double-conversion library ( #508 )
...
Add env vars to build with system double-conversion. Fixes #376 and is useful to Linux distribution packagers.
New environment variables UJSON_BUILD_DC_INCLUDES and UJSON_BUILD_DC_LIBS allow overriding the include path for double-conversion and adding linker flags for an external double-conversion library. They should generally be used together.
2022-02-17 19:38:09 +00:00
JustAnotherArchivist
7f269a4818
Clean up iterators, type contexts, and recursion level on errors
2022-02-16 08:17:47 +00:00
JustAnotherArchivist
4bd21e2483
Fix exceptions on encoding list or dict elements and non-overflow errors on int handling getting silenced
...
Fixes #273
2022-02-16 08:17:47 +00:00
Ben Beasley
097284e77f
Add env var to control stripping debug info ( #507 )
...
Before this commit, debug info is stripped unconditionally on Linux.
This commit adds an environment variable `UJSON_BUILD_NO_STRIP` that disables this behavior. This is helpful for distribution packagers who would otherwise have to patch `setup.py` to prevent stripping.
2022-02-15 19:45:10 +00:00
Hugo van Kemenade
c41db2afde
Merge pull request #500 from JustAnotherArchivist/fix-jsonencodeerror-subclass-test
2022-02-06 14:04:13 +02:00
JustAnotherArchivist
4ffc7dd78f
Verify that JSONDecodeError is an actual subclass of ValueError, not just an alias
2022-02-05 23:38:06 +00:00
JustAnotherArchivist
316d384f41
Raise JSONDecodeError in place of ValueError on failed decode ( #498 )
...
So as to match the behaviour of Python's json library.
Fixes #497
2022-02-05 20:39:05 +00:00
Hugo van Kemenade
d5b701f209
Merge pull request #499 from JustAnotherArchivist/travis-py3A-release
2022-02-05 18:52:53 +02:00
JustAnotherArchivist
2d0acdfc6e
Switch from Ubuntu Xenial to Focal
2022-02-05 16:36:05 +00:00
JustAnotherArchivist
d36f868cf5
Travis CI: Test on Python 3.10 release rather than alpha version
2022-02-05 02:42:35 +00:00
Hugo van Kemenade
ca1fd23e4b
Merge pull request #494 from ultrajson/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-01-03 20:47:01 +02:00
pre-commit-ci[bot]
cff0abedd6
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.29.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.29.1...v2.31.0 )
- [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0 )
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0 )
2022-01-03 17:50:31 +00:00
Hugo van Kemenade
682c660156
Merge pull request #493 from bwoodsend/strip-binaries
2021-12-17 17:27:00 +02:00
pre-commit-ci[bot]
c1d5b6dcd6
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-12-16 22:51:05 +00:00
bwoodsend
b9275f7b00
Strip debugging symbols from Linux binaries.
...
Doing so reduces the size of the package at the expense of being less friendly
to debug using gdb (GNU's debugger).
2021-12-16 22:50:23 +00:00
Hugo van Kemenade
e3ccc5a1ff
Merge pull request #492 from hugovk/deploy-twine
2021-12-14 22:33:42 +02:00
Hugo van Kemenade
243d49b021
Install Twine to upload to PyPI
2021-12-14 16:39:42 +02:00
Hugo van Kemenade
269621b845
Merge pull request #490 from hugovk/rm-3.6
2021-12-14 16:20:16 +02:00
Hugo van Kemenade
cccde3f009
Drop support for EOL Python 3.6
2021-12-14 15:44:47 +02:00
Hugo van Kemenade
b55049f621
Merge pull request #491 from bwoodsend/switch-to-ci-build-wheels
2021-12-14 15:40:42 +02:00
bwoodsend
04286a6539
Drop wheels for Python 3.6. ( #490 )
2021-11-29 08:22:19 +00:00
bwoodsend
ab32d480c6
CI/CD: Ensure that sdists are uploaded last.
2021-11-29 08:21:11 +00:00
bwoodsend
3ac5b9dd45
Use cibuildwheel to build wheels.
...
This will enable the building of macOS ARM64 compatible wheels, fixing #456 (and
also lets us delete lots of code!!!).
2021-11-28 17:16:07 +00:00
Hugo van Kemenade
6833495c6f
Merge pull request #488 from nsait-linaro/enable_win_arm64
2021-11-18 21:37:10 +02:00
Niyas Sait
ff1e7bdad9
enable windows on arm64 target
2021-11-18 18:22:23 +00:00
Hugo van Kemenade
6a75b7059a
Merge pull request #486 from hugovk/test-3.10-final
2021-11-02 14:38:41 +02:00
Hugo van Kemenade
0263979152
Test on Python 3.10 final
2021-11-02 13:40:05 +02:00
Hugo van Kemenade
d36b56c7b6
Merge pull request #484 from ultrajson/all-repos_autofix_all-repos-sed
2021-10-19 22:30:06 +03:00
Hugo van Kemenade
47de26fb8b
Use Python 3.10 final
...
Committed via https://github.com/asottile/all-repos
2021-10-19 21:37:16 +03:00
Hugo van Kemenade
5f20e399b7
Merge pull request #483 from ultrajson/pre-commit-ci-update-config
2021-10-04 21:00:58 +03:00
pre-commit-ci[bot]
08fe74d27c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.29.0 )
2021-10-04 17:19:20 +00:00
Hugo van Kemenade
fa80b93886
Update release checklist
2021-09-22 14:36:25 +03:00
Hugo van Kemenade
cd58a9ba92
Fix Travis CI badge: .org -> .com
2021-09-22 11:56:42 +03:00