Samuel Colvin
b7a8ef25c6
fix coverage and make typing-extensions a required dependency ( #2368 )
...
* fixing coverage by simplifying Annotated import logic, fix #2367
* avoid checking against annotated if it's None
* make typing-extensions required WIP
* more making typing-extensions required
* fix docs and get_origin for python 3.6
* fix mypy test
* fix docs
* update docs, cleanup and add change
* clean docs/examples/schema_annotated.py
* move AnnotatedTypeNames
2021-02-17 19:17:30 +00:00
Samuel Colvin
c33ced6441
set categories on links in issue chooser
2021-02-17 10:38:03 +00:00
Samuel Colvin
502570706a
use github discussions for questions and feature requests
2021-02-12 19:13:06 +00:00
Eric Jolibois
60ef8cc733
combined version bumps ( #2339 )
...
* build(deps): bump mkdocs-material from 6.2.3 to 6.2.8
* build(deps): bump codecov/codecov-action from v1.1.1 to v1.2.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.1.1 to v1.2.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.1.1...e156083f13aff6830c92fc5faa23505779fbf649 )
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump pytest-cov from 2.10.1 to 2.11.1
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 2.10.1 to 2.11.1.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases )
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.10.1...v2.11.1 )
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump pytest-mock from 3.4.0 to 3.5.1
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.4.0 to 3.5.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.4.0...v3.5.1 )
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump isort from 5.6.4 to 5.7.0
Bumps [isort](https://github.com/pycqa/isort ) from 5.6.4 to 5.7.0.
- [Release notes](https://github.com/pycqa/isort/releases )
- [Changelog](https://github.com/PyCQA/isort/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/pycqa/isort/compare/5.6.4...5.7.0 )
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump mypy from 0.790 to 0.800
* build(deps): bump pytest from 6.2.1 to 6.2.2
* build(deps): bump coverage from 5.3.1 to 5.4
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-11 00:48:02 +01:00
dependabot[bot]
191647c970
build(deps): bump codecov/codecov-action from v1.0.15 to v1.1.1 ( #2230 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.0.15 to v1.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.15...1fc7722ded4708880a5aea49f2bfafb9336f0c8d )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-01 14:25:15 +00:00
Eric Jolibois
3496a473c7
build(deps): bump to pytest 6.2.1, pytest-mock 3.4.0, mkdocs-material 6.1.7 and codecov-action v1.0.15 ( #2201 )
...
* build(deps): bump to pytest 6.2.1, pytest-mock 3.4.0, mkdocs-material 6.1.7 and codecov-action v1.0.15
replaces #2199 , #2180 and #2164
* fix: yield_fixture is deprecated
* chore: add dotenv in optional deps
2020-12-17 23:28:07 +01:00
dependabot[bot]
6c50a86df4
Bump codecov/codecov-action from v1.0.13 to v1.0.14 ( #2080 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from v1.0.13 to v1.0.14.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.13...7d5dfa54903bd909319c580a00535b483d1efcf3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 15:25:40 +00:00
dependabot[bot]
52889203ac
Bump devtools from 0.6.0 to 0.6.1 ( #2037 )
...
* Bump devtools from 0.6.0 to 0.6.1
Bumps [devtools](https://github.com/samuelcolvin/python-devtools ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/samuelcolvin/python-devtools/releases )
- [Changelog](https://github.com/samuelcolvin/python-devtools/blob/master/HISTORY.md )
- [Commits](https://github.com/samuelcolvin/python-devtools/compare/v0.6...v0.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
* remove unnecessary dependencies
* tweaks while testing 3.9
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2020-10-26 09:53:28 +00:00
Samuel Colvin
a25aba26b5
linting as a separate CI step ( #2030 )
...
* linting as a separate ci step
* CI and docs improvements
* fix docs preview
* fix docs, benchmarks fastapi tests
* fix formatting and docs build
* tweak publishing docs
* fix for new download-artifact action
* skip check tag to check docs build
* prepare for merge
2020-10-25 15:03:33 +00:00
PrettyWood
794d0bccf9
feat: add basic support for python 3.9 ( #1844 )
...
* feat: use partially get_origin and get_args from typing
Rework of d86a184072655d93652d6ea941421005f34de962 by @hmvp
We cannot directly use `typing.get_origin` and `typing.get_args` for
our custom types for which args and origin are wrong by default.
But at least we now have a unified behaviour, which can be improved
in the near future
* feat: add fallback in `get_args` for generics in python 3.9
* feat: add new `_evaluate` for python 3.9
In python 3.9, `typing._evaluate` has a new required
positional argument `recursive_guard`
* chore: add pragma no cover for python 3.9 fallbacks
* chore: add change file
* chore: add comments
* feat(ci): add python 3.9 support
* fix: mypy assumption is wrong
2020-10-18 20:36:18 +01:00
dependabot[bot]
078e7090d0
Bump pytest from 6.0.1 to 6.1.1 ( #1965 )
...
* Bump pytest from 6.0.1 to 6.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.0.1 to 6.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.0.1...6.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
* add pytest-mock to binaries build
* unchange build step of ci
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2020-10-09 10:20:08 +01:00
Samuel Colvin
ddc7697072
more draconian issue templates
2020-09-06 18:36:13 +01:00
Samuel Colvin
296d929904
updating all deps ( #1907 )
...
* updating all deps
* uprev github actions docs
2020-09-06 13:04:41 +01:00
Samuel Colvin
6125a29ba3
fix dependabot
2020-09-06 12:31:41 +01:00
Samuel Colvin
5dbb1272f6
use codecov github action to do retries ( #1709 )
2020-07-11 13:00:53 +01:00
Samuel Colvin
f977709d43
add dependabot.yml ( #1705 )
2020-07-10 13:04:29 +01:00
Samuel Colvin
03d9aa5f4b
windows CI wrongly passing ( #1700 )
...
* break try_assert.py
* break linting
* split steps to fix windows issue
* fix try_assert.py break pytest main tests
* fix pytest tests
* undo make change
2020-07-09 15:03:38 +01:00
Samuel Colvin
58b95b7e50
change sponsorship to github
2020-05-22 16:04:39 +01:00
Samuel Colvin
83f23506c0
fix tests of binaries
2020-04-30 18:24:49 +01:00
Samuel Colvin
1f071f1cf9
fix deploy
2020-04-18 18:08:28 +01:00
Stephen Brown II
0ba7710f35
Add JSON Benchmark ( #1344 )
...
* Add JSON Benchmark
* Apply iterator suggestions from code review
Co-Authored-By: Samuel Colvin <samcolvin@gmail.com >
* Reorganize run to avoid parsing time in json test
* tweak json benchmarks
Co-authored-by: Samuel Colvin <samcolvin@gmail.com >
Co-authored-by: Samuel Colvin <s@muelcolvin.com >
2020-04-15 21:52:04 +01:00
Samuel Colvin
d495710303
Cleanup ci & coverage ( #1329 )
...
* fix badges and deploy check
* fix coverage and correct check_tag.py
2020-03-21 18:14:17 +00:00
Samuel Colvin
96c9c400bc
Move to GitHub actions ( #1326 )
...
* trying move to github actions
* move name
* remove travis and cleanup
* macos and windows coverage
* env_vars string
* bump
* bump
* delete old coverage file
* remove coverage.xml
* add 'make test-codecov'
* fix 'make test-codecov'
* beginning build phase
* combined deploy
* try to fix articacts
* remove set.cfg wheel tag
* install cython before build
* fix windows builds
* fix windows builds
* reenable tests
* build docs, test pypi upload
* finalize
* add change description, fix job conditionals
2020-03-21 17:02:07 +00:00
Samuel Colvin
8397cde602
new docs preview ( #1206 )
...
* new docs preview
* fix docs build for python 3.8
* fix print statements in index_main.py
* bump
* fix github actions builds
* bump
* uprev
* tweaks
2020-02-03 14:07:01 +00:00
Samuel Colvin
07271ca5bc
tweak security.md
2020-01-19 21:02:58 +00:00
Samuel Colvin
a9e8db3286
Create SECURITY.md ( #1171 )
...
* Create SECURITY.md
* add link from docs and readme
2020-01-17 17:30:15 +00:00
Samuel Colvin
dea8ac2b09
run windows tests on pull requests as well as push
2020-01-10 20:17:39 +00:00
Samuel Colvin
e169bd60e4
encourage use of version_info() in issues ( #1138 )
...
* encourage use of version_info() in issues
* improve grammar and add change
* switch test import
2020-01-02 19:34:33 +00:00
Samuel Colvin
a1b6aa5f5a
moving windows ci to github actions ( #1121 )
...
* moving windows ci to github actions
* remove azure pipeline
2019-12-21 15:08:00 +00:00
Samuel Colvin
890589a610
oops, revert issue templates until version_info() is released
2019-12-04 15:35:51 +00:00
Samuel Colvin
9255012c08
add version_info to make creating issues easier ( #1071 )
...
* add version_info to make creating issues easier
* improve version_info()
* improve contributing docs
2019-12-04 15:14:53 +00:00
Samuel Colvin
8f8b052ab6
fix PR template
2019-10-24 10:43:49 +01:00
Samuel Colvin
ae34a6a733
rename allow_population_by_alias -> allow_population_by_field_name ( #875 )
...
* rename allow_population_by_alias -> allow_population_by_field_name, fix #585
* add change
* tweak PR template ☣️
* tweak Makefile
2019-10-07 18:40:01 +01:00
Samuel Colvin
929dab6cda
tweak PR template
2019-08-10 13:34:21 +01:00
Samuel Colvin
e6c44ee069
Merge pull request #720 from samuelcolvin/remove-deprecated-code
...
Remove old, deprecated code
2019-08-08 11:55:53 +01:00
Samuel Colvin
675f65921b
add "Sponsor" button
...
Experiment to see if anyone will actually contribute to OSS they use and rely on.
2019-08-07 16:52:34 +01:00
Samuel Colvin
72bada8ca8
add change, and tweak change format
2019-08-06 16:37:38 +01:00
Samuel Colvin
485197c8e1
note about creating issue before PR
2019-08-06 16:25:38 +01:00
Samuel Colvin
9c8bba71c6
Preparation for Version 1
2019-08-06 16:19:38 +01:00
Samuel Colvin
3c3c0262c0
add contributing docs, ( #354 )
...
* add contributing docs, fix #353
* tweaks
* tweaks
2019-01-11 21:08:14 +00:00
Samuel Colvin
6514307677
update pull request template
2018-12-29 12:01:05 +00:00
Samuel Colvin
aac992abd5
tweak issue template
2018-09-28 16:03:13 +01:00
Samuel Colvin
0839646788
uprev
2018-08-25 17:15:22 +01:00
Samuel Colvin
e0a8dd2da8
issue and pull request templates, favicon
2018-08-25 16:49:36 +01:00