Skip to content

Commit

Permalink
build: Create venv during sdist build
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Dygalo <[email protected]>
  • Loading branch information
Stranger6667 committed Sep 14, 2024
1 parent ec0d86e commit 8b8d2ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ jobs:
working-directory: crates/jsonschema-py

- run: uv venv
working-directory: crates/jsonschema-py

- name: Install sdist
run: |
uv pip install dist/${{ env.PACKAGE_NAME }}-*.tar.gz --force-reinstall
working-directory: crates/jsonschema-py

- name: Upload sdist
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion crates/jsonschema-py/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "jsonschema-py"
version = "0.18.3"
description = "JSON schema validaton library"
description = "A high-performance JSON Schema validator for Python"
keywords = ["jsonschema", "validation"]
categories = ["web-programming"]
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion crates/jsonschema-py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "jsonschema_rs"
description = "Fast JSON Schema validation for Python implemented in Rust"
description = "A high-performance JSON Schema validator for Python"
keywords = ["jsonschema", "validation", "rust"]
authors = [
{name = "Dmitry Dygalo", email = "[email protected]"}
Expand All @@ -28,6 +28,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Rust",
"Topic :: File Formats :: JSON :: JSON Schema",
]
requires-python = ">=3.8"
dependencies = []
Expand Down

0 comments on commit 8b8d2ff

Please sign in to comment.