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]
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
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
Hasan Ramezani
6ceff2eea2
Add Pyupgrade ( #4214 )
2022-07-06 08:52:01 +02:00
Jochen Kupperschmidt
058d4a52ee
Tweak documentation ( #4143 )
2022-07-04 22:53:11 +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]
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]
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
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
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
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
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
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
Adrian Garcia Badaracco
e5540296cc
Fix issue with in-place modification of FieldInfo ( #4067 )
...
* Fix info with in-place modification of field info
* add changes
* add test for 3714
* Update changes/4067-adriangb.md
Co-authored-by: Samuel Colvin <samcolvin@gmail.com >
Co-authored-by: Samuel Colvin <samcolvin@gmail.com >
2022-05-13 15:16:32 +01:00
Samuel Colvin
a45276d6b1
guard against ClassVar in fields ( #4064 )
...
* guard against ClassVar in fields, fix #3679
* fix linting
* skipif for test_class_var_forward_ref
2022-05-13 15:06:53 +01:00
Yurii Karabas
42acd8f8d2
Fix issue with self-referencing dataclass ( #3713 )
...
* Fix issue with self-referencing dataclass
* Fix mypy issue
2022-05-11 19:09:13 +01:00
Luis R
faee3301eb
Fix regression in handling of nested dataclasses in get_flat_models_from_field ( #3819 )
...
* add test for nested python dataclass schema generation
* fix handling of dataclasses in `get_flat_models_from_field`
* add change note
2022-05-11 19:02:37 +01:00
Samuel Colvin
74403c2f15
test pyright with pydantic ( #3972 )
...
* test pyright with pydantic
* rename file to avoid pytest running it
* try another name 😴
* add docs about BaseSettings and Field
* add change
2022-05-11 19:00:37 +01:00
dependabot[bot]
dc07bc5a49
build(deps): bump pre-commit from 2.17.0 to 2.19.0 ( #4061 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.17.0 to 2.19.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.17.0...v2.19.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-05-11 18:56:21 +01:00
dependabot[bot]
a1b7aa2a63
build(deps): bump hypothesis from 6.41.0 to 6.46.3 ( #4059 )
...
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis ) from 6.41.0 to 6.46.3.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases )
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.41.0...hypothesis-python-6.46.3 )
---
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-05-11 18:56:10 +01:00
dependabot[bot]
59dffb6942
build(deps): bump pytest from 7.1.1 to 7.1.2 ( #4037 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.1...7.1.2 )
---
updated-dependencies:
- dependency-name: pytest
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-05-11 18:00:29 +01:00
Eric Jolibois
5490ad5173
fix: Config.copy_on_model_validation does a deep copy and not a shallow one ( #3642 )
...
* fix: `Config.copy_on_model_validation` does a deep copy and not a shallow one
closes #3641
* fix: typo
* use python 3.10 to run fastapi tests
* fix fastapi test call
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2022-05-11 17:03:48 +01:00
dependabot[bot]
f96a6131a3
build(deps): bump mypy from 0.931 to 0.942 ( #3968 )
...
* build(deps): bump mypy from 0.931 to 0.942
Bumps [mypy](https://github.com/python/mypy ) from 0.931 to 0.942.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.931...v0.942 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump mypy from 0.931 to 0.942
Bumps [mypy](https://github.com/python/mypy ) from 0.931 to 0.942.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.931...v0.942 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix mypy
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2022-04-02 14:50:07 +01:00
Samuel Colvin
f0acf6efe7
Prevent subclasses of bytes being converted to bytes ( #3707 )
...
* adding a test
* fix and add change description
2022-04-02 14:45:31 +01:00
Tom Milligan
02eb182db0
fix: clarify that discriminated unions do not support singletons ( #3639 )
2022-04-02 14:06:11 +01:00
dependabot[bot]
7c05a61e4a
build(deps): bump pytest-mock from 3.6.1 to 3.7.0 ( #3967 )
...
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.6.1 to 3.7.0.
- [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.6.1...v3.7.0 )
---
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-04-02 13:25:58 +01:00
dependabot[bot]
c12382d00f
build(deps): bump twine from 3.7.1 to 4.0.0 ( #3965 )
...
Bumps [twine](https://github.com/pypa/twine ) from 3.7.1 to 4.0.0.
- [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/3.7.1...4.0.0 )
---
updated-dependencies:
- dependency-name: twine
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-04-02 08:57:22 +01:00
dependabot[bot]
d8054380d3
build(deps): bump pytest from 6.2.5 to 7.1.1 ( #3926 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.2.5 to 7.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.1.1 )
---
updated-dependencies:
- dependency-name: pytest
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-04-02 08:57:08 +01:00
dependabot[bot]
19064138e4
build(deps): bump hypothesis from 6.31.6 to 6.41.0 ( #3964 )
...
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis ) from 6.31.6 to 6.41.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases )
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.31.6...hypothesis-python-6.41.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-04-02 08:56:39 +01:00
dependabot[bot]
bf5fdfc618
build(deps): bump black from 21.12b0 to 22.3.0 ( #3950 )
...
* build(deps): bump black from 21.12b0 to 22.3.0
Bumps [black](https://github.com/psf/black ) from 21.12b0 to 22.3.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/commits/22.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* apply new black styles, fix docs
* try upgrading pip before fastapi tests
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2022-04-02 08:35:55 +01:00
dependabot[bot]
d7a8272d7e
build(deps): bump mypy from 0.930 to 0.931 ( #3656 )
...
Bumps [mypy](https://github.com/python/mypy ) from 0.930 to 0.931.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.930...v0.931 )
---
updated-dependencies:
- dependency-name: mypy
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-03-01 23:30:57 +00:00
dependabot[bot]
9967f0ebe3
build(deps): bump pre-commit from 2.16.0 to 2.17.0 ( #3731 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.16.0...v2.17.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-03-01 22:37:59 +00:00
dependabot[bot]
b90e128175
build(deps): bump coverage from 6.2 to 6.3.2 ( #3839 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 6.2 to 6.3.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.2...6.3.2 )
---
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-03-01 22:35:04 +00:00
Eric Jolibois
9d631a3429
fix(ci): update fastapi tests ( #3690 )
...
* use python 3.10 to run fastapi tests
* fix fastapi test call
2022-01-17 22:30:39 +01:00
Samuel Colvin
6f46a5a146
drop python3.6 support ( #3605 )
...
* drop python3.6 support
* revert small change
* fix 3.7 failures
* more cases and cleanup
* add change description
2022-01-02 13:53:45 +00:00
Samuel Colvin
87da9ac23f
apply update_forward_refs to json_encoders ( #3595 )
...
* apply update_forward_refs to json_encoders, fix #3583
* linting
* mypy
* avoid use of ForwardRef with python3.6
* fix ForwardRef usage, take 2
* coverage
2021-12-31 14:44:09 +00:00
Samuel Colvin
6f26a1ce18
Support mypy 0.910 to 0.930 including CI tests ( #3594 )
...
* cleanup bumping mypy to 0.930, #3573
* add tests for old mypy
* tweak test-old-mypy job
* alter mypy plugin to work with older versions
* mypy.py compatibility with multiple versions
* fix mypy tests to allow for varied output
* toml parsing, fix #3579
* formatting :-(
* ignore missing types for toml package
* remove unused ignore_missing_imports
* undo removal of ignore_missing_imports for dotenv
* tweak coverage ignore
* fully uninstall mypy and toml/tomli
2021-12-30 13:49:43 +00:00
Eric Jolibois
8ef492b85f
build(deps): bump mypy from 0.920 to 0.930 ( #3573 )
...
* build(deps): bump mypy from 0.920 to 0.930
* fix: avoid mypy plugin crash
Due to https://github.com/python/mypy/pull/11332 , mypy would crash
because `__builtins__` is not part of `ctx.api` modules, `builtins` is
* fix tests
2021-12-29 16:51:35 +00:00
Eric Jolibois
e8822775e3
fix: support generic models with discriminated union ( #3551 )
2021-12-24 13:17:39 +00:00