Commit Graph

47 Commits

Author SHA1 Message Date
Dmitry Dygalo 092b573163 build: Disable build cache for Python tests
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-05-01 14:19:45 +02:00
Dmitry Dygalo 9aae87e573 build: Update builds
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-04-14 18:24:03 +02:00
Dmitry Dygalo 8eacf2d9da
chore(python): Release 0.17.2
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 20:32:38 +01:00
Dmitry Dygalo 4f99c8f8be feat: Support Python 3.12
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 19:48:40 +01:00
Dmitry Dygalo e15d4dd342 chore: Update dependencies
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 01:18:27 +01:00
Karl Gutwin 584a07a410 ci: build aarch64 Python wheels 2024-03-03 01:15:12 +01:00
Dmitry Dygalo 44b7e5457f
chore(python): Release 0.16.3 2023-02-01 01:43:43 +01:00
Dmitry Dygalo d0bacfb692
build: Do not run `test-python-sdist`
As it is tested in the `Release` job
2023-02-01 00:26:57 +01:00
Dmitry Dygalo 164f208a8a
build: Rework Python releasing (#414) 2023-02-01 00:21:54 +01:00
Dmitry Dygalo 0391921362
build(python): Switch to maturin (#411)
* build(python): Switch to maturin

* chore: Use `maturin>=0.14.11,<0.15`

Co-authored-by: messense <messense@icloud.com>

* build: Build only `sdist` in the `test-python-sdist` job

Co-authored-by: messense <messense@icloud.com>

* build: Set the proper output directory for `maturin`

* chore: Add more metadata

---------

Co-authored-by: messense <messense@icloud.com>
2023-01-31 22:10:06 +01:00
Dmitry Dygalo 77ce10015f ci: Update Actions 2023-01-31 21:39:05 +01:00
Sam Wilson 4fc6181b27
build: Support building on `wasm32-unknown-unknown` without default features
* Don't depend on a particular ahash rng

* chore: Use `getrandom/js` on `wasm32`

* ci: Run `cargo build` for `wasm32-unknown-unknown`

Co-authored-by: Dmitry Dygalo <dmitry@dygalo.dev>
2023-01-14 23:40:07 +01:00
Dmitry Dygalo 73a4943d88 chore(python): Python 3.11 support 2023-01-14 22:04:59 +01:00
Dmitry Dygalo fc779c8c39 chore: Update `pyo3` to `0.16` & drop Python 3.6 support 2022-05-12 15:53:43 +02:00
Dmitry Dygalo c652816d23 build: Add Cargo cache 2022-05-03 17:35:06 +02:00
Dmitry Dygalo 6f4bc34d51 build: Add Python 3.10 2022-04-25 19:28:56 +02:00
Dmitry Dygalo bad741f771 build: Check feature combinations 2022-04-21 17:31:24 +02:00
Dmitry Dygalo 7a16674c0a build: Set precise runner versions 2022-04-01 09:49:01 +02:00
Dmitry Dygalo a95a754496 feat(python): A way to compile schemas from a string
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2021-10-29 17:50:43 +02:00
Rafael Caricio 0e150641e1 feat: Implement `prefixItems` keyword 2021-10-29 14:54:13 +02:00
Dmitry Dygalo c082b9516a chore: A stub support for Draft 2019-09 behind a feature flag
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-08-03 20:09:17 +02:00
Dmitry Dygalo a8a85d6d5b ci: Add coverage job 2021-02-03 14:41:09 +01:00
Dmitry Dygalo c0139ff26e
ci: Fix Python release job 2021-01-29 19:30:03 +01:00
Dmitry Dygalo 22f5d3970f
ci: Fix rust release job 2021-01-29 18:56:49 +01:00
Dmitry Dygalo f5be9508d0
fix: Sdist Python packaging
* chore: Move Python bindings to `bindings`

* chore: Move `jsonschema` into a separate directory

* chore: Move submodule

* ci: Fix the `coverage` job

* chore: Move submodule

* test: Disable some failing optional tests

* ci: Add tests for installing Python sdist

* fix: Sdist Python packaging

* chore: Remove coverage job

It doesn't support such project structure
Ref: https://github.com/actions-rs/grcov/issues/50
2021-01-29 09:52:12 +01:00
Dmitry Dygalo 6d770d0714
ci: Remove rarely used `benchmark` jobs 2021-01-28 18:54:25 +01:00
Dmitry Dygalo 45199fce69
ci: Remove `cargo check` job
It is checked by `clippy`
2021-01-28 18:52:01 +01:00
Dmitry Dygalo d0b390595f
ci: Remove unnecessary `actions/setup-python` action 2021-01-28 18:51:32 +01:00
Dmitry Dygalo cd3e1f1c95 ci: Update the `codecov-action` CI step 2020-12-09 15:09:44 +01:00
Dmitry Dygalo 90aa54e628
chore(python): Add Python 3.9 support 2020-11-09 22:19:32 +01:00
Dmitry Dygalo a17fd31bcb
ci(rust): Automate releases 2020-11-09 20:33:58 +01:00
Dmitry Dygalo 18b7bdce18 ci(python): Fix Python build 2020-11-09 20:32:35 +01:00
Dmitry Dygalo 2f0190efb4 chore(python): Drop Python 3.5 support 2020-11-09 20:32:35 +01:00
Dmitry Dygalo 5a16a2b14b
chore: Create FUNDING.yml 2020-08-28 21:33:21 +02:00
Samuele Maci 865f46fe06 chore: Enforce clippy checks on testing code as well
Update github actions to use clippy-check in order to have nice PR reports as well
Clippy rules are a bit more related for testing code
2020-07-23 22:36:07 +02:00
Samuele Maci 782007d3a5 fix: Remove UNRELEASED_JSONSCHEMA_PATH workaround as Cargo supports path and versions together 2020-06-23 13:22:50 +02:00
Samuele Maci abf94ca2c1 fix: Re-enable python tests on windows 2020-06-23 13:22:50 +02:00
Samuele Maci 23e948017c fix: Python source distribution and wheel uploads from all the platforms
The artifact upload has been centralised into a single job to ensure that we're not partially
publishing artifacts as well as simplification to have a single PyPi interaction point
2020-06-13 11:43:31 +02:00
Samuele Maci c95a8d5903 feat: Update github python releaase workflow to release wheels for linux, macos and windows 2020-06-12 18:04:23 +02:00
Dmitry Dygalo b759cda20b
chore: Python release 0.1.0 2020-06-09 18:48:06 +02:00
Dmitry Dygalo 46e7ff7ddf feat: FFI-based Python bindings 2020-06-09 17:47:49 +02:00
Samuele Maci 1f7f0f7cff feat: Allow github to run benchmarks if [bench] is present in the commit message
Update benchmark names to allow easier filtering and focusing on type of action (ie. check benches only of the lib or for comparison with other libs)
2020-05-23 20:23:56 +02:00
Dmitry Dygalo 2adf6e361c
chore: Add badges 2020-05-14 15:25:36 +02:00
Dmitry Dygalo 05e67f6fa3 chore: Add code coverage reporting 2020-05-14 14:34:22 +02:00
Dmitry Dygalo 41e3a35468 chore: Run CI on pull requests & pushes to master 2020-05-14 12:01:25 +02:00
Samuele Maci b5d69ca407 feat: run tests on github actions 2020-05-12 09:14:53 +02:00
Dmitry Dygalo 3355dc32a1 chore: Add CI 2020-04-15 21:12:07 +02:00