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
Hugo van Kemenade
9232b6ae2a
Merge pull request #481 from hugovk/win32
2021-09-21 20:19:44 +03:00
Hugo van Kemenade
365ee5de1a
Build 32-bit wheels for Windows
2021-09-21 16:05:51 +03:00
Hugo van Kemenade
9ddb36bc40
Merge pull request #478 from bwoodsend/wheels-for-musl-aarch64
2021-09-20 16:46:24 +03:00
bwoodsend
f61e082eb2
Test Linux wheel building workflow on PRs touching workflow's files.
2021-09-20 13:54:50 +01:00
bwoodsend
08d7e5befe
Build wheels for musl aarch64 (aka ARM) Linux.
2021-09-20 13:12:34 +01:00
Hugo van Kemenade
c0fc29b19f
Merge pull request #479 from hugovk/replace-readme-rst-md
2021-09-20 13:46:19 +03:00
Hugo van Kemenade
d66342b6db
With setuptools_scm, MANIFEST.in only needs to include non-SCM files (or exclude SCM files)
2021-09-20 13:37:35 +03:00
Hugo van Kemenade
3bbb64d3de
Replace README.rst with .md
2021-09-20 13:30:37 +03:00
Hugo van Kemenade
1dda6677bd
Merge pull request #477 from hugovk/setup-py-to-cfg
...
Use declarative setup metadata
2021-09-20 12:52:21 +03:00
Hugo van Kemenade
7f67319525
Use declarative metadata
2021-09-20 12:18:17 +03:00
Hugo van Kemenade
21d3f03643
Merge pull request #475 from hugovk/pypy3-manylinux-wheel
2021-09-20 12:03:12 +03:00
Hugo van Kemenade
fdd948e17e
No PyPy3 on musllinux_1_1_x86_64
2021-09-20 11:55:59 +03:00
Hugo van Kemenade
12d9580dd5
Build PyPy3 manylinux wheel
2021-09-20 11:44:59 +03:00
Hugo van Kemenade
a5d5f31657
Merge pull request #476 from bwoodsend/wheels-for-musl
2021-09-20 11:34:53 +03:00
bwoodsend
1271461c0d
Build wheels for musl Linux.
...
PEP656 (wheels for musl Linux) as just been implemented. This means that we can
now build wheels that will run on Alpine (a very popular and speedy base docker
image) or OpenWRT (a tiny Linux distribution often used on embeded devices).
Its design mirrors that of its glibc counterpart, the manylinux series, making
it drop-in compatible with our existing manylinux setup.
2021-09-19 23:47:04 +01:00
Hugo van Kemenade
f23afd07f1
Merge pull request #473 from hugovk/manylinux2014_aarch64
2021-09-10 16:45:06 +03:00