Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Postgres 16 #886

Merged
merged 2 commits into from
Sep 16, 2023
Merged

Support Postgres 16 #886

merged 2 commits into from
Sep 16, 2023

Conversation

dantownsend
Copy link
Member

Running tests for Postgres 16 in CI.

@codecov-commenter
Copy link

codecov-commenter commented Sep 15, 2023

Codecov Report

Merging #886 (b801d9d) into master (84e9432) will not change coverage.
The diff coverage is n/a.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@           Coverage Diff           @@
##           master     #886   +/-   ##
=======================================
  Coverage   92.12%   92.12%           
=======================================
  Files         107      107           
  Lines        8118     8118           
=======================================
  Hits         7479     7479           
  Misses        639      639           

@dantownsend
Copy link
Member Author

dantownsend commented Sep 15, 2023

It looks like the Postgres 16 Docker container isn't available yet, so the tests are failing - need to retry later.

https://hub.docker.com/_/postgres/tags?page=1&name=16

@dantownsend dantownsend marked this pull request as ready for review September 16, 2023 08:07
@dantownsend dantownsend merged commit d1f6c35 into master Sep 16, 2023
37 checks passed
dantownsend added a commit that referenced this pull request Oct 19, 2023
* Merge pull request from GHSA-h7cm-mrvq-wcfr

Co-authored-by: skelmis <[email protected]>

* bumped version

* fix typo

* Support Postgres 16 (#886)

* support Postgres 16

* remove Postgres 10

* simplify `create_pydantic_model`

I didn't like how it was overriding `format` on the JSON schema.

All of the custom values we add to the JSON schema are now namespaced under the `extra` key. It makes things much less confusing and more maintainable.

* fix tests

---------

Co-authored-by: skelmis <[email protected]>
dantownsend added a commit that referenced this pull request Oct 20, 2023
* pydantic v2 support (#866)

* pydantic v2 support

based off master...sinisaos:piccolo:pydanticV2_test by @sinisaos

* add more schema attributes for Piccolo Admin compatibility

* use newer fastapi in asgi template

* fix indentation in docstring

* update docs

* add docs for v1

* fixed typo in version number, `0.108` -> `0.118`

* fix link

* use `model_validate_json` instead of `parse_raw`

* fix deprecation warnings for `dict` method

* improve pydantic version specifier

* run tests on v1 branch

* bumped version

* fix banner link

* fix typo in link

* Simplify `create_pydantic_model` (#892)

* Merge pull request from GHSA-h7cm-mrvq-wcfr

Co-authored-by: skelmis <[email protected]>

* bumped version

* fix typo

* Support Postgres 16 (#886)

* support Postgres 16

* remove Postgres 10

* simplify `create_pydantic_model`

I didn't like how it was overriding `format` on the JSON schema.

All of the custom values we add to the JSON schema are now namespaced under the `extra` key. It makes things much less confusing and more maintainable.

* fix tests

---------

Co-authored-by: skelmis <[email protected]>

* bumped version

* update docs

---------

Co-authored-by: skelmis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants