Skip to content

Commit

Permalink
3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ijl committed Jun 3, 2022
1 parent d4146d1 commit 3491013
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include/** linguist-vendored
19 changes: 19 additions & 0 deletions .github/workflows/linux-cross.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,22 @@ jobs:
with:
name: wheels
path: dist

release:
name: Release
runs-on: ubuntu-22.04
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ linux-cross ]
steps:
- uses: actions/download-artifact@v2
with:
name: wheels
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- run: pip install "maturin>=0.12.18,<0.13"
- name: deploy
run: maturin upload --skip-existing --username "$MATURIN_USERNAME" *.whl
env:
MATURIN_USERNAME: ${{ secrets.TWINE_USERNAME }}
MATURIN_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
6 changes: 4 additions & 2 deletions .github/workflows/manylinux-2-28.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
image: quay.io/pypa/manylinux_2_28_x86_64:latest
options: --user 0
steps:
- run: yum update && yum install -y clang
- run: yum update && yum install -y clang lld
- run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2022-06-01 --profile minimal -y
- uses: actions/checkout@v2
- run: python3 -m pip install --user --upgrade pip "maturin>=0.12.18,<0.13" wheel
Expand All @@ -36,7 +36,9 @@ jobs:
- run: ./integration/run thread
- run: ./integration/run http
- run: git config --global --add safe.directory /__w/orjson/orjson
- run: ./ci/deploy target/wheels/*.whl
- name: deploy
run: maturin upload --skip-existing --username "$MATURIN_USERNAME" target/wheels/orjson-*.whl
if: "startsWith(github.ref, 'refs/tags/')"
env:
MATURIN_USERNAME: ${{ secrets.TWINE_USERNAME }}
MATURIN_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
15 changes: 7 additions & 8 deletions .github/workflows/musllinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,17 @@ jobs:
name: Release
runs-on: ubuntu-22.04
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ linux-cross, musllinux ]
needs: [ musllinux ]
steps:
- uses: actions/download-artifact@v2
with:
name: wheels
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Publish to PyPI
python-version: "3.10"
- run: pip install "maturin>=0.12.18,<0.13"
- name: deploy
run: maturin upload --skip-existing --username "$MATURIN_USERNAME" *.whl
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
pip install --upgrade twine
twine upload --skip-existing *
MATURIN_USERNAME: ${{ secrets.TWINE_USERNAME }}
MATURIN_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Changelog

## 3.7.0 - 2022-06-02
## 3.7.1 - 2022-06-03

### Fixed

- Type stubs for `orjson.JSONDecodeError` now inherit from
`json.JSONDecodeError` instead of `ValueError`
- Null-terminate the internal buffer of `orjson.dumps()` output.

## 3.7.0 - 2022-06-03

### Changed

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "orjson"
version = "3.7.0"
version = "3.7.1"
authors = ["ijl <ijl@mailbox.org>"]
description = "Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy"
edition = "2018"
Expand Down

0 comments on commit 3491013

Please sign in to comment.