dependabot[bot]
d381eda658
build(deps): bump devtools from 0.8.0 to 0.9.0 ( #4311 )
...
Bumps [devtools](https://github.com/samuelcolvin/python-devtools ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/samuelcolvin/python-devtools/releases )
- [Changelog](https://github.com/samuelcolvin/python-devtools/blob/main/HISTORY.md )
- [Commits](https://github.com/samuelcolvin/python-devtools/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: devtools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 10:06:15 +02:00
dependabot[bot]
72df358ad6
build(deps): bump mkdocs-material from 8.3.8 to 8.3.9 ( #4315 )
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 8.3.8 to 8.3.9.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.3.8...8.3.9 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 10:05:59 +02:00
dependabot[bot]
3538a46e44
build(deps): bump mdx-truly-sane-lists from 1.2 to 1.3 ( #4314 )
...
Bumps [mdx-truly-sane-lists](https://github.com/radude/mdx_truly_sane_lists ) from 1.2 to 1.3.
- [Release notes](https://github.com/radude/mdx_truly_sane_lists/releases )
- [Commits](https://github.com/radude/mdx_truly_sane_lists/compare/1.2...1.3 )
---
updated-dependencies:
- dependency-name: mdx-truly-sane-lists
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 09:34:57 +02:00
dependabot[bot]
33b03572a7
build(deps): bump coverage from 6.4.1 to 6.4.2 ( #4313 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/6.4.1...6.4.2 )
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 09:34:46 +02:00
dependabot[bot]
a12f2175d2
build(deps): bump flake8 from 4.0.1 to 5.0.3 ( #4312 )
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 4.0.1 to 5.0.3.
- [Release notes](https://github.com/pycqa/flake8/releases )
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.3 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 09:13:07 +02:00
dependabot[bot]
5588734838
build(deps): bump ansi2html from 1.6.0 to 1.8.0 ( #4309 )
...
Bumps [ansi2html](https://github.com/pycontribs/ansi2html ) from 1.6.0 to 1.8.0.
- [Release notes](https://github.com/pycontribs/ansi2html/releases )
- [Changelog](https://github.com/pycontribs/ansi2html/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pycontribs/ansi2html/compare/1.6.0...1.8.0 )
---
updated-dependencies:
- dependency-name: ansi2html
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 08:51:04 +02:00
dependabot[bot]
b15685eb1d
build(deps): bump pyflakes from 2.4.0 to 2.5.0 ( #4310 )
...
Bumps [pyflakes](https://github.com/PyCQA/pyflakes ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/PyCQA/pyflakes/releases )
- [Changelog](https://github.com/PyCQA/pyflakes/blob/master/NEWS.rst )
- [Commits](https://github.com/PyCQA/pyflakes/compare/2.4.0...2.5.0 )
---
updated-dependencies:
- dependency-name: pyflakes
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com >
2022-08-02 08:50:49 +02:00
dependabot[bot]
6ac99db76a
build(deps): bump hypothesis from 6.48.2 to 6.53.0 ( #4302 )
...
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis ) from 6.48.2 to 6.53.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases )
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.48.2...hypothesis-python-6.53.0 )
---
updated-dependencies:
- dependency-name: hypothesis
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 08:50:28 +02:00
dependabot[bot]
f822dfc638
build(deps): bump pycodestyle from 2.8.0 to 2.9.0 ( #4305 )
...
Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle ) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/PyCQA/pycodestyle/releases )
- [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt )
- [Commits](https://github.com/PyCQA/pycodestyle/compare/2.8.0...2.9.0 )
---
updated-dependencies:
- dependency-name: pycodestyle
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-02 00:05:43 +02:00
dependabot[bot]
d54a87b7af
build(deps): bump pytest-mock from 3.8.1 to 3.8.2 ( #4304 )
...
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.8.1...v3.8.2 )
---
updated-dependencies:
- dependency-name: pytest-mock
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 23:56:31 +02:00
dependabot[bot]
6a4b43c990
build(deps): bump pyupgrade from 2.34.0 to 2.37.3 ( #4307 )
...
Bumps [pyupgrade](https://github.com/asottile/pyupgrade ) from 2.34.0 to 2.37.3.
- [Release notes](https://github.com/asottile/pyupgrade/releases )
- [Commits](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.37.3 )
---
updated-dependencies:
- dependency-name: pyupgrade
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 23:46:57 +02:00
dependabot[bot]
fbb12fafe7
build(deps): bump pre-commit from 2.19.0 to 2.20.0 ( #4303 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.19.0...v2.20.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 23:29:45 +02:00
dependabot[bot]
540220504f
build(deps): bump pytest-sugar from 0.9.4 to 0.9.5 ( #4301 )
...
Bumps [pytest-sugar](https://github.com/Teemu/pytest-sugar ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/Teemu/pytest-sugar/releases )
- [Changelog](https://github.com/Teemu/pytest-sugar/blob/master/CHANGES.rst )
- [Commits](https://github.com/Teemu/pytest-sugar/commits )
---
updated-dependencies:
- dependency-name: pytest-sugar
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 23:19:24 +02:00
dependabot[bot]
23ebfdfc76
build(deps): bump markdown-include from 0.6.0 to 0.7.0 ( #4299 )
...
Bumps [markdown-include](https://github.com/cmacmackin/markdown-include ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/cmacmackin/markdown-include/releases )
- [Commits](https://github.com/cmacmackin/markdown-include/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: markdown-include
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 23:18:55 +02:00
dependabot[bot]
fda705e8dd
build(deps): bump cython from 0.29.30 to 0.29.32 ( #4300 )
...
Bumps [cython](https://github.com/cython/cython ) from 0.29.30 to 0.29.32.
- [Release notes](https://github.com/cython/cython/releases )
- [Changelog](https://github.com/cython/cython/blob/master/CHANGES.rst )
- [Commits](https://github.com/cython/cython/compare/0.29.30...0.29.32 )
---
updated-dependencies:
- dependency-name: cython
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 23:18:13 +02:00
Samuel Colvin
5606157105
test 3.11.0-beta.5 ( #4285 )
...
waiting for actions/python-versions#180
2022-07-28 12:37:22 +01:00
Eric Jolibois
6d0aa20aa6
ci: add python 3.11.0b4 ( #4267 )
...
* ci: add python 3.11.0b4
* ignore both deprecation warnings
* handle specific tuple[()] case
`tuple` and `typing.Tuple` are now the same.
But `get_args(tuple[()]) == get_args(tuple) == ()`
even though `get_args(tuple[()]).__args__ = ()` and `tuple.__args__` is not defined.
* Handle type properly
Since `type` and `Type` are now the same, it triggers `_generic_get_args`
in our custom `get_args`
```py
if hasattr(tp, '_nparams'):
return (Any,) * tp._nparams
```
So we have `class_ is Any` for generic `type` type
* Handle enum in schemas
Enums have now a (huge) doc generated by inspect.getdoc.
It's very verbose and doesn't add anything.
I reckon it's best to keep the old generic description unless
a specific doc is provided (a test exists for this)
* add test that fails with python 3.9+
* fix test for python 3.11
* fix cython
2022-07-27 10:11:19 +01:00
Hernán Alarcón
eadfdbdbde
Fix mypy error in models_recursive.py example. ( #3995 )
2022-07-21 08:52:44 +02:00
Samuel Colvin
50bc758495
uprev mkdocs
2022-07-19 10:51:15 +01:00
Dror Atariah
a21f0763ee
Improved example ind models doc ( #4231 )
...
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com >
2022-07-18 09:06:31 +02:00
Amin Alaee
228e46de35
Update docs for dotenv env_file not checking parent directories ( #4150 )
2022-07-14 18:39:28 +02:00
Marcelo Trylesinski
f529e0d354
Update index.md ( #4227 )
...
* Update index.md
👀
* Update docs/index.md
2022-07-11 10:36:46 +02:00
Vitor Martins
fd2991fe6a
Fix typo on unique_items param of Field doc ( #3857 )
2022-07-06 20:59:40 +02:00
Hasan Ramezani
6ceff2eea2
Add Pyupgrade ( #4214 )
2022-07-06 08:52:01 +02:00
Amin Alaee
962ea8bf21
Add docs for defining upper-case variables on nested setting models ( #4153 )
2022-07-05 20:04:46 +02:00
dependabot[bot]
bf4b63e6c3
build(deps): bump cython from 0.29.28 to 0.29.30 ( #4129 )
...
Bumps [cython](https://github.com/cython/cython ) from 0.29.28 to 0.29.30.
- [Release notes](https://github.com/cython/cython/releases )
- [Changelog](https://github.com/cython/cython/blob/master/CHANGES.rst )
- [Commits](https://github.com/cython/cython/compare/0.29.28...0.29.30 )
---
updated-dependencies:
- dependency-name: cython
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 23:11:25 +02:00
Jochen Kupperschmidt
058d4a52ee
Tweak documentation ( #4143 )
2022-07-04 22:53:11 +02:00
Hasan Ramezani
5e959720e3
Add Hasan Ramezani(hramezani) to label-assign workflow reviewers ( #4207 )
2022-07-04 18:53:47 +01:00
dependabot[bot]
51e056e832
build(deps): bump actions/setup-python from 3 to 4 ( #4196 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 15:45:31 +02:00
dependabot[bot]
e4b2a91e53
build(deps): bump pytest-mock from 3.7.0 to 3.8.1 ( #4201 )
...
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.7.0...v3.8.1 )
---
updated-dependencies:
- dependency-name: pytest-mock
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 15:44:48 +02:00
dependabot[bot]
1f29a02074
build(deps): bump mkdocs-material from 8.2.14 to 8.3.8 ( #4202 )
...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) from 8.2.14 to 8.3.8.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.2.14...8.3.8 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 15:44:19 +02:00
dependabot[bot]
ee399e82c4
build(deps): bump black from 22.3.0 to 22.6.0 ( #4203 )
...
Bumps [black](https://github.com/psf/black ) from 22.3.0 to 22.6.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/22.3.0...22.6.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 15:43:36 +02:00
dependabot[bot]
62045555bf
build(deps): bump typing-extensions from 4.2.0 to 4.3.0 ( #4200 )
...
Bumps [typing-extensions](https://github.com/python/typing_extensions ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/python/typing_extensions/releases )
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/python/typing_extensions/compare/4.2.0...4.3.0 )
---
updated-dependencies:
- dependency-name: typing-extensions
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 15:41:09 +02:00
dependabot[bot]
c375ee1f08
build(deps): bump coverage from 6.3.2 to 6.4.1 ( #4198 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 6.3.2 to 6.4.1.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/6.3.2...6.4.1 )
---
updated-dependencies:
- dependency-name: coverage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 14:01:14 +02:00
dependabot[bot]
84fa634793
build(deps): bump twine from 4.0.0 to 4.0.1 ( #4126 )
...
Bumps [twine](https://github.com/pypa/twine ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/pypa/twine/releases )
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pypa/twine/compare/4.0.0...4.0.1 )
---
updated-dependencies:
- dependency-name: twine
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 13:24:34 +02:00
dependabot[bot]
65bbfa0848
build(deps): bump hypothesis from 6.46.3 to 6.48.2 ( #4199 )
...
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis ) from 6.46.3 to 6.48.2.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases )
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.46.3...hypothesis-python-6.48.2 )
---
updated-dependencies:
- dependency-name: hypothesis
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-03 13:18:05 +02:00
Ben Nuttall
33ae990c76
Fix model_config documentation ( #4179 )
2022-07-03 13:15:54 +02:00
Tetsuo Kiso
d7593368c7
Fix typo in models.md ( #4145 )
2022-07-03 13:11:56 +02:00
Samuel Colvin
8846ec4685
limit the length of generics._limit_assigned_parameters ( #4083 )
...
* limit the length of generics._limit_assigned_parameters
* switch to using _limit_cache_size for both
* add change description
* correct `_limit_cache_size` cache
* implemented LimitedDict
* try using UserDict
* try upgrading cython
* stop LimitedDict from inheriting from dict
* separate LimitedDict for typing checking :-(
* fix for __class_getitem__
2022-05-18 15:22:58 +01:00
Giuliano Oliveira
5a61292252
Adds dataclass_transform to dataclass ( #4007 )
...
* ✨ Adds dataclass_transform to dataclasses
* ✨ Adds dataclass_transform to dataclasses
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2022-05-18 12:19:25 +01:00
Samuel Colvin
467d6b468f
adding sponsors to index page of docs ( #4074 )
...
* adding sponsors to index page of docs
* Adjust ExoFlare sponsor link (#4080 )
* add UTM identifiers to TC link
Co-authored-by: Tom Hamilton Stubber <tomhamiltonstubber@gmail.com >
Co-authored-by: Huon Wilson <huon@exoflare.io >
Co-authored-by: Tom Hamilton Stubber <tomhamiltonstubber@gmail.com >
2022-05-18 12:18:27 +01:00
Samuel Colvin
abea8232ee
speedup __instancecheck__ check on BaseModel when they fail ( #4081 )
...
* speedup __instancecheck__ check on BaseModel when they fail
* add change description
* linting
2022-05-17 14:13:36 +01:00
David Brochart
a7e896c5a3
Update Jupyter's use of pydantic ( #4082 )
...
* Update Jupyter's use of pydantic
* Fix markdown link
2022-05-16 11:26:31 +01:00
Maxim Martynov
cc54acb612
Fix missing port in HttpUrl.build() result ( #3652 )
...
* Port number is no longer being ignored by HttpUrl.build()
* Update tests/test_networks.py
Co-authored-by: Samuel Colvin <samcolvin@gmail.com >
* Update networks.py
* Update tests/test_networks.py
Co-authored-by: Samuel Colvin <samcolvin@gmail.com >
* Update test_networks.py
* Update test_networks.py
* update change description
Co-authored-by: Samuel Colvin <samcolvin@gmail.com >
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2022-05-14 17:35:39 +01:00
Samuel Colvin
122dd2f24e
fix ClassVars, better fix for #3679 ( #4077 )
2022-05-14 17:27:52 +01:00
Alex
f69012a5aa
fix: error checking inheritance when using PEP585 and PEP604 type hints ( #3681 )
...
* Add tests
* Fix the issue
* Add changes file
* Improved convert_generics
* Add default fallback to convert_generics
Improved Annotated and Literal handling
* Fix Cython doesn't support generic types (PEP560)
Watch cython issue cython/cython#2753
Previous implementation can be used after cython 3.0 release
* Add custom type test
* Cosmetic fixes
Co-authored-by: Samuel Colvin <samcolvin@gmail.com >
* Fix typos
* Add SelfReferencing test validation
Add parametrization to
* Fix: parametrization caused test discovery problem
* Better explanation for a test case
* Better assertions for model creation tests
* Rerun CI
Co-authored-by: Samuel Colvin <samcolvin@gmail.com >
2022-05-14 17:26:12 +01:00
Samuel Colvin
9baec86270
try speeding up ci using caching and rearranging jobs ( #3974 )
...
* try speeding up ci using caching and rearranging jobs
* fix job references
* cache lint and docs install
* tweak caching
* tweak caching to avoid conflicts
* correct use of runner.os
* bump
* stop skipping steps depending on cache
* prevent hypothesis flakeyness
* try skipping install steps again
* remove skipping install :-(
2022-05-14 15:32:53 +01:00
Samuel Colvin
b246bc6859
update mypy ci ( #4073 )
...
* update mypy ci
* test against older mypy
2022-05-14 12:31:29 +01:00
dependabot[bot]
3e9cd71325
build(deps): bump mypy from 0.942 to 0.950 ( #4062 )
...
* build(deps): bump mypy from 0.942 to 0.950
Bumps [mypy](https://github.com/python/mypy ) from 0.942 to 0.950.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.942...v0.950 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* ignore ChainMap type
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2022-05-14 09:32:54 +01:00
Samuel Colvin
8718db581d
Fix JSON Schema generation for Discriminated Unions within lists. ( #4071 )
...
* Fix JSON Schema generation for Discriminated Unions within lists.
* linting
* fix mypy
2022-05-14 07:26:34 +01:00