Commit Graph

162 Commits

Author SHA1 Message Date
Dmitry Dygalo 9aae87e573 build: Update builds
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-04-14 18:24:03 +02:00
Dmitry Dygalo 79e35a2012
chore(python): Release 0.17.3
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-22 19:02:25 +01:00
Dmitry Dygalo b31e4ffb18 chore: fix import order
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-22 19:00:09 +01:00
Florian Braun 829ca19963 feat(python): support validation of dict subclasses
Currently, attemping to validate an instance of a dict subclass will raise a `ValueError`. This should not be happening, since the instance is still dict.
Achieve compatibility by checking the subclasses' inheritance tree, and treat the instance like a dict if that check passes.
2024-03-22 18:44:42 +01: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 8193c2cb91
chore(python): Update classifiers
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 19:50:49 +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 f0828cba01 fix: Missing features from the main crate
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 01:43:16 +01:00
Stephan Lanfermann 6ae63dc564
feat: Expose drafts 2019-09 and 2020-12 to Python (#457)
Co-authored-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 01:24:07 +01:00
Dmitry Dygalo e15d4dd342 chore: Update dependencies
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 01:18:27 +01:00
Dmitry Dygalo 558d13db35 test: fix python tests
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 00:11:33 +01:00
Dmitry Dygalo 4461d0ff7f
chore(python): Release 0.17.1
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2023-07-05 11:58:49 +02:00
Dmitry Dygalo 8a2fa1f5a6
chore(rust): Release 0.17.1
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2023-07-05 11:43:48 +02:00
Dmitry Dygalo 090b7085b1
docs: Update changelog
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2023-07-05 11:37:31 +02:00
Dmitry Dygalo 5e3380086c chore: update pyo3 2023-07-05 11:35:05 +02:00
dependabot[bot] 63f5851c0c build(deps): bump h2 from 0.3.15 to 0.3.17 in /bindings/python
Bumps [h2](https://github.com/hyperium/h2) from 0.3.15 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.15...v0.3.17)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 10:53:58 +02:00
Dmitry Dygalo 848b7b1284 chore: Update `iso8601` to `0.6` 2023-02-25 17:38:53 +01:00
Dmitry Dygalo 44b7e5457f
chore(python): Release 0.16.3 2023-02-01 01:43:43 +01:00
Dmitry Dygalo 6a1e1d3d23
build: Drop outdated `py36` tox job 2023-02-01 00:31:04 +01:00
Dmitry Dygalo 7619ff715c
docs(python): Add a changelog entry 2023-02-01 00:29:44 +01:00
Dmitry Dygalo 0c6d9c4229 chore(python): Update `PyO3` 2023-01-31 23:07:04 +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 42010c60a4 test(python): Add missing `py311` tox env 2023-01-29 13:56:08 +01:00
Dmitry Dygalo cc5de11669 chore: Fix clippy warnings 2023-01-29 13:56:08 +01:00
Dmitry Dygalo 5553600d66 chore(rust): Replace `lazy_static` with `once_cell` 2023-01-15 11:26:52 +01:00
Dmitry Dygalo e6a3d749a4 chore(rust): Update dependencies 2023-01-15 02:00:57 +01:00
Dmitry Dygalo 7699de0e9b
chore(python): Release 0.16.2 2023-01-14 22:55:54 +01:00
Dmitry Dygalo 6948253fa9 chore(python): Update dependencies 2023-01-14 22:36:02 +01:00
Dmitry Dygalo a15343802b test(python): Adjust integer sizes in tests to avoid unrelated failures on Python 3.11 2023-01-14 22:04:59 +01:00
Dmitry Dygalo 610d7436db build(python): Fix sdist 2023-01-14 22:04:59 +01:00
Dmitry Dygalo 73a4943d88 chore(python): Python 3.11 support 2023-01-14 22:04:59 +01:00
Dmitry Dygalo d61e1f464c chore(python): Bump dependencies 2023-01-14 22:04:59 +01:00
ermakov-oleg 002edce5b0
chore(python): Add .pyi "stub" file for type checkers support #391 2022-10-28 20:35:30 +02:00
Dmitry Dygalo df7452e904 chore(python): Update `Cargo.lock` 2022-10-27 20:17:31 +02:00
Dmitry Dygalo 40498fe120
chore(python): Release 0.16.1 2022-10-20 16:23:16 +02:00
Dmitry Dygalo 3a5b7e95c8 chore: Update dependencies 2022-10-20 16:09:41 +02:00
Dmitry Dygalo 8ee79c57b3 chore: Update `pyo3` to `0.17`
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2022-10-18 23:47:10 +02:00
Dmitry Dygalo 81e988e089 docs: Update changelog 2022-10-18 22:52:16 +02:00
Dmitry Dygalo f57357d021 perf(python): Avoid extra allocation when validating a dictionary with non-string keys 2022-10-18 22:52:16 +02:00
o.ermakov cc07bb2526 fix(python): Deleted unnecessary Debug derive attr 2022-10-18 22:13:10 +02:00
o.ermakov e40a35a983 fix(python): Review fixes 2022-10-18 22:13:10 +02:00
o.ermakov bbd0153de8 fix(python): Fix SystemError when non-str dict key provided #386 2022-10-18 22:13:10 +02:00
Dmitry Dygalo ead0da16db
chore(python): Release 0.16.0 2022-05-12 17:39:40 +02:00
Dmitry Dygalo 9ab21a243f chore: Avoid some `Result` wrapping 2022-05-12 16:51:51 +02:00
Dmitry Dygalo 5feb0d2308 chore: Avoid usage of deprecated PyO3 traits 2022-05-12 16:51:51 +02:00
Dmitry Dygalo a5cd893363 chore: Update `fancy_regex` from `0.9.0` to `0.10.0` 2022-05-12 16:26:36 +02: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 7544f7a2af fix(python): Compatibility with `pyo3-built` 2022-05-03 17:57:14 +02:00
Dmitry Dygalo 6f4bc34d51 build: Add Python 3.10 2022-04-25 19:28:56 +02:00
Dmitry Dygalo 37955910cf refactor(test): Refactor Python tests 2022-04-25 19:28:56 +02:00