Skip to content

Commit

Permalink
chore: Python release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Jun 9, 2020
1 parent 46e7ff7 commit d852984
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ jobs:
steps:
- uses: actions/checkout@v1

- run: /usr/bin/env python3 -m pip install setuptools_rust twine

- name: Build and audit wheels
working-directory: ./python
run: sh build-wheels.sh

- uses: actions/setup-python@v1
with:
python-version: 3.7

- run: pip install setuptools_rust twine

- name: Upload package
working-directory: ./python
run: twine upload ./dist/* --username=${PYPI_USERNAME} --password=${PYPI_PASSWORD}
Expand All @@ -33,7 +37,11 @@ jobs:
steps:
- uses: actions/checkout@v1

- run: /usr/bin/env python3 -m pip install setuptools_rust twine
- uses: actions/setup-python@v1
with:
python-version: 3.7

- run: pip install setuptools_rust twine

- name: Build sdist
working-directory: ./python
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ Cargo.lock
.tox
*.tar.gz
*.egg-info
__pycache__/
*.py[cod]
9 changes: 9 additions & 0 deletions python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changelog

## [Unreleased]

## 0.1.0 - 2020-06-09

- Initial public release

[Unreleased]: https://github.com/Stranger6667/jsonschema-rs/compare/python-v0.1.0...HEAD
1 change: 1 addition & 0 deletions python/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Supported drafts:
- Draft 4

There are some notable restrictions at the moment:

- The underlying crate doesn't support arbitrary precision integers yet, which may lead to ``SystemError`` when such value is used;
- ``multipleOf`` keyword validation may produce false-negative results on some input. See `#84 <https://github.com/Stranger6667/jsonschema-rs/issues/84>`_ for more details

Expand Down

0 comments on commit d852984

Please # to comment.