Commit Graph

478 Commits

Author SHA1 Message Date
Georg K
863a83735c bump: python to 3.12
Some checks failed
Release / Distribution (push) Failing after 9s
2025-07-28 19:55:16 +03:00
Georg K
c10f807f95 bump: set EXT_FIX: "7"
Some checks failed
Release / Distribution (push) Failing after 41s
2025-07-28 19:53:41 +03:00
Georg K
d03289ff96 Merge branch 'master_gh' 2025-07-20 20:06:34 +03:00
Adrien
a3f7fd0c1f Update README.md (#674) 2025-07-17 13:50:40 +01:00
Maciek Rząsa
124613f55f Update README.md (#667) 2025-04-22 12:53:50 +01:00
Georg K
a32a326d38 fix: set python to 3.9 (this shit not compiles)
All checks were successful
Release / Distribution (push) Successful in 1m48s
2025-04-14 04:02:23 +03:00
Georg K
256f499c90 fix: set fix to 6
Some checks failed
Release / Distribution (push) Failing after 43s
2025-04-14 03:55:50 +03:00
Georg K
5a518ed044 Merge branch 'master_gh' 2025-04-14 03:54:30 +03:00
benedikt-bartscher
08e8a68893 add getnewargs_ex to Enum, fix pickling (#663) 2025-03-30 22:48:58 +01:00
James Hilliard
6a65ca94bc Update ruff and run ruff format 2025-01-16 03:15:32 +01:00
James Hilliard
dbc612c7f3 Update all dependencies and actions 2025-01-14 17:07:48 +01:00
James Hilliard
f33a42b082 Update metadata to use PEP 621 (#654)
* Drop python version 3.8 support
* Add python 3.13 support in CI
2025-01-14 15:42:13 +01:00
Adrien
36b5fd1495 Don't repeat tests (#643)
* Don't repeat tests

* Format code
2025-01-03 02:01:36 +00:00
Adrien
f41934a0e2 Use ruff instead of black+isort (#644)
* Use ruff

* Update .gitignore

* Format code

* Use Ruff on generated code

* Update pre-commit hook

* Wrong commit

* Remove wrong imports

* Update hook

* Format code

* Target Python 3.8

* Reformat

* Pin ruff version
2025-01-03 01:59:43 +00:00
Stanislav Bobokalo
37fa3abbac docs: change outdated Slack link to a Discord one (#653) 2024-12-20 00:14:37 +00:00
Adrien
ed7eefac6f Remove tests of unsupported Python versions (#642) 2024-11-13 08:40:46 +00:00
Adrien
1741a126b3 Add all kinds of comments (#632)
* Add all kinds of comments

* Format

* Fix get_comment

* Improve test

* Lint
2024-11-07 03:11:53 +00:00
Adrien
1a23f09c16 Define __all__ (#625)
* Define __all__

* Use tuple instead of list

* Add test
2024-11-07 03:11:45 +00:00
Adrien
335eee7537 Remove MessageCompiler.annotation (#634) 2024-10-24 13:09:43 +01:00
Adrien
a99be78fe4 Remove FieldCompiler.mutable (#628) 2024-10-24 13:09:10 +01:00
Adrien
849c12fe88 Use strict undefined (#633) 2024-10-24 13:06:58 +01:00
Adrien
c621ef8a8d Fix documentation (#630)
* Fix missing documentation

* Add test

* Add test

* Format

* Reformat
2024-10-22 19:52:11 +01:00
Emmanuel Ferdman
34b8249b91 Update tests readme reference (#623) 2024-10-15 21:02:26 +01:00
Adrien
6a3bbe3f25 Fix import loop with Pydantic (#624) 2024-10-15 15:33:37 +01:00
Georg K
65ee2fc702 fix: ahax URL
All checks were successful
Release / Distribution (push) Successful in 21s
2024-10-13 03:33:56 +03:00
Georg K
7c43c39eab fix: add gitea release CI/CD
Some checks failed
Release / Distribution (push) Failing after 1m9s
2024-10-13 03:31:42 +03:00
Georg K
f8ecc42478 Merge branch 'refs/heads/master_gh' 2024-10-13 03:14:00 +03:00
Adrien
c2bcd31fe3 Remove error when no fields are set in oneof (#612) 2024-10-05 13:13:44 +01:00
Adrien
c9dfe9ab1f Remove unused compiler functions (#619) 2024-10-05 13:10:22 +01:00
Michał Górny
32d642d2a0 Update no-warning tests for pytest-8 (#622)
Replace the deprecated `pytest.warns(None)` with the suggested
replacement (from https://github.com/pytest-dev/pytest/issues/9404)
to make the test suite forward compatible with pytest-8.  This works
correctly with pytest-6 as well.
2024-10-05 13:08:49 +01:00
Adrien
1161803069 Fix placeholder deep copy (#611)
* Fix placeholder deep copy

* Add annotations, __repr__ and __slots__

Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>

* Fix annotation

* Fix typing

---------

Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>
2024-09-18 12:56:51 +01:00
Adrien
8d25c96cea Simplify code: delete py_input_message (#614) 2024-09-17 16:05:35 +01:00
Adrien
8fdcb381b7 Prevent users from creating messages with wrong parameters when pydantic is used (#615) 2024-09-12 18:34:47 +01:00
Georg K
4cf6e7d95c fix: prefix to "4" 2024-09-10 19:42:42 +03:00
Georg K
63458e2da0 Merge branch 'master_gh' 2024-09-10 19:41:24 +03:00
Adrien
efaef5095c Fix badge URL (#602)
The badge always shows the build as failing, even if it is actually successful.

This issue has been reported on https://github.com/actions/starter-workflows/issues/1525 , and the fix suggested on https://github.com/actions/starter-workflows/issues/1525#issuecomment-1763431305 works.
2024-08-31 15:49:14 +01:00
Ajit Krishna
1538e156a1 Bump version to 2.0.0b7 (#593)
* Bump version to 2.0.0b7

* chore: changes to changelog from PR comments

* chore: grammar fix

* Add entry for #596

* Apply suggestions from code review

---------

Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>
2024-08-14 22:16:59 +01:00
Adrien
4e9a17c227 Add warnings when calling deprecated method (#596)
* Add test

* To run the workflow

* Fix import

* Format

* Add warning

* Fix indentation

* Test deprecated method

* More test

* Format

* Add import if needed

---------

Co-authored-by: Adrien Vannson <adrien.vannson@gardacp.com>
2024-08-14 21:33:43 +01:00
James Hilton-Balfe
f96f51650c fix: 3.10 style imports not resolving correctly (#594) 2024-08-14 08:01:31 +01:00
Georg K
970624fe08 feat: update to ext_fix = 3 2024-07-30 22:11:38 +03:00
Georg K
32eaa51e8d Merge branch 'refs/heads/master_gh' 2024-07-30 22:10:55 +03:00
Nicholas Gates
5fdd0bb24f Update to Pydantic V2 (#588)
* Pydantic V2 support

* Support Python 3.8

* Mark as classmethod

* Remove max int validation

* Run poe format

* Merge develop

* Revert dataclasses import

* Fix revert
2024-07-23 14:43:31 +01:00
Ian McDonald
8b59234856 Handle typing collisions and add validation to a files module for overlaping declarations (#582)
* Fix 'typing' import collisions.

* Fix formatting.

* Fix self-test issues.

* Validation for modules, different typing configurations

* add readme

* make warning

* fix format

---------

Co-authored-by: Scott Hendricks <scott.hendricks@confluent.io>
2024-07-20 00:02:09 +01:00
Ian McDonald
7c6c627938 Drop 3.7 from ci (#587)
* Drop 3.7 from ci

Currently, CI is broken for 3.7 as github runs its macos images on arm and doesn't provide arm images for 3.7.  As 3.7 is deprecated the best (at least interim) solution would be to drop 3.7 checks entirely.
2024-07-19 15:44:14 +10:00
Georg K
696b7ae9fc bump: EXT_FIX to 2 2024-04-17 06:15:26 +03:00
Georg K
6dce440975 Merge branch 'refs/heads/master_gh' 2024-04-17 06:14:54 +03:00
Erik Friese
1f88b67eeb betterproto-rust-codec updated (#571) 2024-04-13 15:16:33 +01:00
Georg K
1f79bdd7e4 fix: poetry build 2024-04-11 21:13:05 +03:00
Georg K
6606cd3bb9 fix: version 2024-04-11 21:08:39 +03:00
Georg K
576f878ddc fix: pypi version 2024-04-11 21:08:08 +03:00